Create a small evaluation suite that tells you when an agent change improves quality without silently increasing failures or cost.
Prerequisites
A working agent or prototype
Ten representative tasks, including at least three known failure cases
Access to request logs and token or cost usage
Steps
Freeze ten inputs and the minimum acceptable outcome for each.
Add deterministic checks for tool arguments, required fields, stop conditions, and output shape.
Write a 1–5 quality rubric covering correctness, evidence, completeness, and usability.
Run the baseline three times and record median quality, failure rate, latency, and cost.
Run the candidate three times against the same set.
Block release if deterministic failures increase, quality drops, or median cost rises by more than 20% without an approved reason.
Scorecard
Signal
Release rule
Harness failures
No regression
Median quality
Equal or better
P95 latency
Within agreed budget
Median cost
No unexplained increase above 20%
Verification
Re-run one intentionally broken version. The scorecard must fail for the reason you expect before you trust it as a gate.
Troubleshooting
If judge scores vary widely, tighten the rubric with examples. If deterministic checks are flaky, move them closer to the tool and state boundaries instead of inspecting prose output.
Introduction
Create a small evaluation suite that tells you when an agent change improves quality without silently increasing failures or cost.
Before you start
You'll need
A working agent or prototype
Ten representative tasks, including at least three known failure cases
Difficulty: Intermediate · Estimated time: 1 h 30 min · Tested: Aug 22, 2026
Workflow
Workflow
Select a step for details. Drag to pan, or use the arrow keys.
Action: Freeze ten inputs and the minimum acceptable outcome for eachAction#1Freeze ten inputs and theminimum acceptable outco…Action: Add deterministic checks for tool arguments, required fields, stop conditions…Action#2Add deterministic checksfor tool arguments, requ…Action: Write a 1–5 quality rubric covering correctness, evidence, completeness, and…Action#3Write a 1–5 qualityrubric covering correctn…Action: Run the baseline three times and record median quality, failure rate, latency…Action#4Run the baseline threetimes and record median…Action: Run the candidate three times against the same setAction#5Run the candidate threetimes against the same s…Decision: Block release if deterministic failures increase, quality drops, or median cost…Decision#6Block release ifdeterministic failures i…
Action: Freeze ten inputs and the minimum acceptable outcome for eachAction#1Freeze ten inputs and theminimum acceptable outco…Action: Add deterministic checks for tool arguments, required fields, stop conditions…Action#2Add deterministic checksfor tool arguments, requ…Action: Write a 1–5 quality rubric covering correctness, evidence, completeness, and…Action#3Write a 1–5 qualityrubric covering correctn…Action: Run the baseline three times and record median quality, failure rate, latency…Action#4Run the baseline threetimes and record median…Action: Run the candidate three times against the same setAction#5Run the candidate threetimes against the same s…Decision: Block release if deterministic failures increase, quality drops, or median cost…Decision#6Block release ifdeterministic failures i…
Follow the steps in guided mode, tick off each check and pick up where you left off.
Implementation
1. Freeze ten inputs and the minimum acceptable outcome for each
2. Add deterministic checks for tool arguments, required fields, stop conditions, and output shape
3. Write a 1–5 quality rubric covering correctness, evidence, completeness, and usability
4. Run the baseline three times and record median quality, failure rate, latency, and cost
5. Run the candidate three times against the same set
6. Block release if deterministic failures increase, quality drops, or median cost rises by more than 20% without an approved reason
Expected results
Scorecard
Signal
Release rule
Harness failures
No regression
Median quality
Equal or better
P95 latency
Within agreed budget
Median cost
No unexplained increase above 20%
Verification
Re-run one intentionally broken version. The scorecard must fail for the reason you expect before you trust it as a gate.
Troubleshooting
If judge scores vary widely, tighten the rubric with examples. If deterministic checks are flaky, move them closer to the tool and state boundaries instead of inspecting prose output.