On this page
When to use it
"How would you know it works?", "How would you evaluate X?", "Would you ship this?" Any question where quality has to be measured.
The framework
| Step | Ask yourself | What good sounds like |
|---|---|---|
| Decision | What decision does the eval support? | Whether to roll out from 10% to everyone. |
| Failure modes | How does it actually fail, ranked by harm? | Read 100 outputs; invented details are worst. |
| Data | Which examples, including hard ones and slices? | Real requests plus time-zone and language cases. |
| Graders | Cheapest reliable grader per failure mode? | Code checks for format; a judge for invented facts. |
| Validation | Can we trust the graders? | Judge TPRTrue positive rate. Of the answers the expert passed, the share the judge also passed. Read the full explanation and TNRTrue negative rate. Of the answers the expert failed, the share the judge also failed. Low TNR means a lenient judge. Read the full explanation above 90% on expert labels. |
| Gates | What blocks launch, set before results? | Zero severe failures; no slice regression. |
| Monitoring | How do we catch what the eval missed? | Online signals, weekly error analysis, failures into the set. |
Worked example
Your team shipped an AI email-drafting feature last month with no evals. Leadership wants to know if it's any good. Where do you start?: Starts from the rollout decision, does error analysis before metrics, and ends with a go/no-go condition.
Where people go wrong
- Picking metrics before reading outputs
- One overall score that hides failures
- Trusting an unvalidated judge
- Setting thresholds after seeing results
Patterns to plug in
- Error analysis: read → note → group → count
- TPR and TNR against expert labels
- Paired comparison: count the flips
- Gate on slices, not just the average
Questions to practise with it
- A health app wants to launch a chatbot that tells users whether to see a doctor. Write the eval plan that decides if it can launch.
- You built an LLM judge for your support bot. How do you know you can trust it?
- You're about to launch an AI meeting-scheduler. There's no production data yet. How do you build an eval set?