Student Assessment

Redact student data, check sources and output quality, review bias risks and record AI-assisted assessment decisions.

Regulatory starter · Regulated SaaS

What it checks

Policies in the Student Assessment template, in the order the gateway runs them
PolicyOnChecksAction
prompt-injectionRequestDetects jailbreak and prompt-injection signalsBlock
pii-detectorRequest1 custom identifier patternRedact
bias-monitorResponseEscalates when the HR bias score reaches the thresholdEscalate
citation-verifierResponseChecks that the request context supports the citations in the outputFlag
quality-scorerResponseAccuracy ≥ 0.80; relevancy ≥ 0.78; combined score ≥ 0.86; at least 120 characters and 2 sentencesBlock
human-oversightResponseNo action is set, so it does not review responsesNone
audit-loggerRequestAdds an allow-only audit marker to the decisionRecord
Policy YAML
pack:
  id: "cfg_student_assessment"
  name: "student-assessment"
  version: "0.1.0"
  enabled: true
  author: "verdictan"
  description: "Assessment controls for generic personal data, citation checks, and configurable bias-monitor and human-oversight policy points."
policies:
  chain:
    - "prompt-injection"
    - "pii-detector"
    - "bias-monitor"
    - "citation-verifier"
    - "quality-scorer"
    - "human-oversight"
    - "audit-logger"
policy:
  prompt-injection: {}
  pii-detector:
    action: redact
    detect_patterns:
      - "(?i)(?:national\\s*id(?:entifier)?|national\\s+insurance\\s+number|ni\\s+number|nid)\\s*[:#-]?\\s*[A-Z0-9-]{5,20}"
  bias-monitor: {}
  citation-verifier: {}
  quality-scorer:
    min_output_chars: 120
    min_sentences: 2
    thresholds:
      min_aggregate: 0.86
      min_relevancy: 0.78
      min_accuracy: 0.80
    weights:
      relevancy: 0.5
      accuracy: 0.5
  human-oversight: {}
  audit-logger: {}