Education Technology
Protect student data, limit access, screen content, check sources, review bias risks and retain education-technology evidence.
What it checks
| Policy | On | Checks | Action |
|---|---|---|---|
| prompt-injection | Request | Detects jailbreak and prompt-injection signals | Block |
| rbac | Request | Enforces role, identity, and data-sensitivity access rules | Block |
| student-privacy | Request | Detects student-record markers and replaces student-ID phrases | Redact |
| pii-detector | Request | 3 custom identifier patterns | Redact |
| safety-filter | Request | Blocks or escalates configured dangerous terms | Block |
| bias-monitor | Response | Escalates when the HR bias score reaches the threshold | Escalate |
| citation-verifier | Response | Checks that the request context supports the citations in the output | Flag |
| quality-scorer | Response | Accuracy ≥ 0.80; relevancy ≥ 0.78; combined score ≥ 0.85; at least 120 characters and 2 sentences | Block |
| human-oversight | Response | No action is set, so it does not review responses | None |
| audit-logger | Request | Adds an allow-only audit marker to the decision | Record |
Policy YAML
pack:
id: "cfg_edtech"
name: "edtech"
version: "0.1.0"
enabled: true
author: "verdictan"
description: "EdTech controls for student data, default safety keyword and citation checks, and configurable bias-monitor and human-oversight policy points."
policies:
chain:
- "prompt-injection"
- "rbac"
- "student-privacy"
- "pii-detector"
- "safety-filter"
- "bias-monitor"
- "citation-verifier"
- "quality-scorer"
- "human-oversight"
- "audit-logger"
policy:
prompt-injection: {}
rbac: {}
student-privacy: {}
pii-detector:
action: redact
detect_patterns:
- "(?i)(?:student|pupil)\\s*(?:id|#|number)\\s*[:#-]?\\s*[A-Z0-9-]{4,16}"
- "(?i)\\bgrade\\s+(?:record|report|transcript)\\b"
- "(?i)\\bdisciplinary\\s+(?:record|action|file)\\b"
safety-filter: {}
bias-monitor: {}
citation-verifier: {}
quality-scorer:
min_output_chars: 120
min_sentences: 2
thresholds:
min_aggregate: 0.85
min_relevancy: 0.78
min_accuracy: 0.80
weights:
relevancy: 0.5
accuracy: 0.5
human-oversight: {}
audit-logger: {}