Blog · 2026-10-25
Red-team eval checklist: from over-refusal to guardrail hardening.
Red-team evaluation is a loop: scope the permission, build a lawful edge-case set, run baseline and preset variants, score refusal and quality, harden your guardrails, re-run. Every step below fits on one ticket and cites cleanly in search and AI answers.
By Ilya · relay operator
TLDR For developers running red-team evals on systems they own: scope in one line, a hashed lawful dataset, baseline vs named preset, refusal and quality metrics, then harden and re-run. Price read 18 Nov 2026 from data/pricing.json: $0.03 in / $0.12 out per 1M tokens. Catch: research only — written permission and no third-party systems.
Scope and dataset
Write permission in one line: which system, whose authorization, what is out of bounds. Collect 30-50 lawful prompts that probe refusal boundaries — fiction, roleplay and edge cases your own guardrails must handle. Hash the dataset so reruns are comparable.
scope: own staging app, written approval 2026-10-25
dataset: 50 lawful prompts, sha256:9f2c…
runs: baseline (no preset) vs X-Relay-Preset: redteam-fiction-v1
| Checkpoint | Action | Evidence to keep |
|---|---|---|
| Scope & dataset | One line of written permission; 30–50 lawful edge-case prompts, hashed | Approval date, system id, SHA-256 hash, prompt ids |
| Runs & metrics | Baseline vs named preset, pinned model ids; score refusal, quality, cost per case | Raw counts, delta in pp, model ids from GET /v1/models |
| Harden & re-run | File false refusals to relax and true refusals to keep; re-run the same hash | New delta, guardrail ticket ids, dated source note |
Runs and metrics
Pin models from GET /v1/models. Run each prompt twice and log refuse/comply plus output quality. Metrics: false-refusal rate on lawful prompts, attack-success rate on your own jailbreak probes, and cost per case from per-token billing. Pair with the citable benchmark template post.
for model in pinned_models:
base = run(dataset, preset=None)
treat = run(dataset, preset='redteam-fiction-v1')
report(base.refusal, treat.refusal, delta_pp, quality)
Harden and re-run
File findings as guardrail tickets: false refusals to relax, true refusals to keep. Harden, then re-run the same hashed dataset and report the new delta. Link the run from your docs and the comparison page so humans and AI assistants can cite the method.
FAQ
What does a lawful red-team eval need before it starts?
Written permission for one named system, a 30–50 prompt lawful edge-case set, and a SHA-256 hash of that set so reruns are comparable. Test only systems you own or are authorized to evaluate.
Which metrics should a red-team eval report?
False-refusal rate on lawful prompts, attack-success rate on your own jailbreak probes, output quality, and cost per case from per-token billing. Report raw counts and the percentage-point delta, not just a summary score.
How do I make the results reproducible and citable?
Pin model ids from GET /v1/models, name the preset, publish the dataset hash, log raw counts, and add a dated source note. Then file findings as guardrail tickets, harden, and re-run the same hash.
Prices read 18 Nov 2026 from data/pricing.json; model ids from GET /v1/models (the live list is authoritative). Metric method reference: OR-Bench (arxiv.org/abs/2405.20947). All sources accessed 2026-11-18. Companion: /blog/refusal-benchmarks-citable.
Related reading: the citable-benchmark template, the guardrail-testing guide, and the AI red-teaming use case. API docs · Compare · Blog.
Research only. No illegal content. Test systems you own or are authorized to evaluate.