Metric scope
Every metric declares metric_scope. Every test set declares test_type. At run time the platform keeps only metrics whose scope includes the test’s type. Mismatches are silently dropped — no error, empty scores.
Set metric_scope when creating metrics and check scope coverage in your plan before generating test sets.
See also the Metric Scope glossary entry and Architect planning.
When to use ["Single-Turn"]
One prompt → one reply. Use for refusals, one-shot format rules, factual checks, adversarial probes.
Pair with a Single-Turn test set.
When to use ["Multi-Turn"]
Full transcript required — context retention, multi-step threads, session goals.
Pair with a Multi-Turn test set; generation_prompt describes the thread goal.
When to use both
Rare — same rubric for one reply or full transcript. Prefer two metrics and two test sets when probes differ.
Planning checklist
metric_scopeon every metric (copy fromlist_metricswhen reusing).- One
test_typeper test set. - Behaviors listed on each test set.
- Coverage: every behavior in a set has a linked metric whose scope includes that set’s
test_type. - Split guardrails (Single-Turn) and retention (Multi-Turn) into separate sets when needed.
→ Requirements workflow · Agent reference (plan table templates)