By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
You cannot tune what you cannot measure, and the first version of the measurement does not need to be sophisticated. Twenty labelled cases, run on every change, will outperform any amount of prompt intuition.
{
"id": "q_007",
"input": "Are mid-market retailers adopting AI chat support?",
"expected_sources": ["report-a", "survey-b"],
"expected_points": ["pilot programmes", "cost per ticket"],
"must_not": ["uncited statistics"],
"tags": ["core", "market-size"]
}| Field | Used by | Why it matters for agents |
|---|---|---|
| input | Everything | The task |
| expected_sources | Retrieval eval | Separates 'searched badly' from 'wrote badly' |
| expected_points | Coverage eval | Catches complete-looking reports that miss the point |
| must_not | Rule checks | Encodes hard constraints: no uncited numbers |
| tags | Stratified runs | Lets you run a fast subset in CI |
Key takeaways
Twenty labelled cases beat prompt intuition.
Store expected sources and points, not just an expected answer.
Grow the golden set from real incidents.
Deterministic checks first; judge a sample for judgement calls.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.