Topic 5 of 5 · 4 min read
Capability evals versus regression suites
Goal: Sort eval cases into a capability set and a regression set and decide which ones should graduate.
Keep two sets of cases: a capability set that measures what the system cannot yet do, and a regression set that guards what it already does. They answer different questions and need different rules.
Check yourself · 1 of 3
What pass rate is normal when a capability set is first created?
The difference
- Regression suite. Cases the system passes today. Expected pass rate is near 100%. A new failure means something broke, so it can block a release.
- Capability set. Hard cases the system fails often. A starting pass rate of 20% to 40% is normal. It shows room to improve and tells you whether a new prompt, model or tool helps. A low score here is not a bug.
If you mix them, the average becomes meaningless. Add 50 hard cases to a suite that passed 100%, and the score falls to 70% with no regression at all. Worse, a gate set for the regression cases will block every release.
Why the split helps
- The regression gate stays strict and trusted, because it only holds cases that should pass.
- The capability set gives you a target and a trend line. When you try a new model, the capability set shows whether it can do more, and the regression set shows whether it still does what it did.
- Frontier capability benchmarks and agent evals, such as those in Inspect, are typically hard on purpose. Treat their scores as progress measures, not gates.
Graduation
A capability case graduates into the regression set when the system passes it reliably: for example, 9 or more passes in 10 trials over several runs, on the current prompt and model. Move it, record the date and the change that made it pass, and from then on a failure blocks. Graduation turns progress into protection, so it is not lost in a later edit.
Cases also leave a set:
- Retire a regression case when the product no longer supports that behaviour.
- Demote a regression case back to capability if it turns out to be flaky or the requirement changed, and note why.
- Check for saturation. If the capability set reaches 95%, it no longer measures anything. Add harder cases.
Where cases come from
Production failures and reviewed error analysis fill the capability set. Each fixed failure becomes a regression case, so a bug does not return.
What goes wrong
- Reporting one blended score to leadership.
- Graduating after one lucky pass.
- Never graduating, so the regression set stays small and fixed bugs return.
Examples
Sorting cases
| Case | Pass rate, last 5 runs | Set |
|---|---|---|
| Extract invoice total | 100% | Regression |
| Refuse to share another user's order | 100% | Regression |
| Multi-step refund with partial return | 40% | Capability |
| Summarize a 40-page contract | 20% | Capability |
| Answer in the user's language | 90%, flaky | Capability (not yet reliable) |
The flaky language case stays in capability until it passes 9 of 10 trials across several runs.
A graduation
The partial-refund case moves from 40% to 80% after a prompt rewrite, then to 10 of 10 over three nightly runs. The team moves it to the regression set and writes in the case file: "graduated after prompt v14". Two weeks later an edit breaks it, the gate blocks, and the author fixes the edit.
Key points
- A regression suite should sit near 100% and can block, while a capability set starts low and tracks progress.
- Mixing the two sets makes the average meaningless and breaks the gate.
- Graduate a capability case to the regression set after it passes reliably over repeated trials, not after one pass.
- Every fixed production failure should become a regression case so the bug cannot quietly return.
- When a capability set saturates near the top, add harder cases because it has stopped measuring anything.
Common mistakes
- Blending hard and easy cases into one score and gating on it.
- Treating a low capability score as a regression and blocking releases on it.
- Graduating a case after one lucky pass instead of repeated reliable passes.
- Letting fixed production bugs live only in a ticket and never in a regression case.
Check yourself · 2 of 3
A hard case went from failing to passing once after a prompt change. What should you do?
Check yourself · 3 of 3
A team adds 50 hard cases to a suite that scored 100%, and the gate starts failing every release. What is the most likely cause?
Practice items, not counted towards your mastery.
Start here
- promptfoo: Testing prompts with GitHub Actions (opens in a new tab)DocsFree
A working CI recipe that runs an eval on every pull request that touches a prompt and comments the results.
- Evaluation best practices (OpenAI) (opens in a new tab)DocsFree
Vendor guidance on building evals, running them continuously and checking them against real usage.
- GitHub Actions documentation (opens in a new tab)DocsFree
Triggers, path filters, caching and scheduled workflows: the parts of CI this skill relies on.
More for this topic
- Inspect: open-source framework for LLM evaluations (UK AISI) (opens in a new tab)ToolFree
Includes hard capability and agent evaluations whose scores track progress rather than gate releases.
- Your AI product needs evals (Hamel Husain) (opens in a new tab)ArticleFree
Describes growing the suite from real failures and keeping pass rates meaningful.