Why evaluation is needed
Without evaluation, the team’s loop is: ship → users report it got worse → reproduce by hand → fix → not know whether something else broke.
With evaluation, the loop becomes: run the evals → see exactly which case failed → fix → rerun to confirm there is no regression. The difference is not the tool but whether there is a repeatable basis for judgement.
What an evaluation consists of
- Task: one test with the input and the success criteria written clearly
- Trials: running the same task several times to offset the randomness of model output
- Grader: decides whether the output meets the bar; there can be several checks
- Record: a full save of input, output, tool calls and intermediate results
- Outcome: look at the final state, not just what the model said
- Eval framework: the infrastructure that runs, grades and aggregates in batches
Three kinds of graders
| Type | Suits | Cost |
|---|---|---|
| Code grading | Format, numbers, whether tests pass, whether tools were called | Fast, cheap and reproducible; but cannot accommodate reasonable variants |
| Model grading | Tone, completeness, whether it meets the standard | Flexible; but uncertain, needs calibration and costs more |
| Human grading | Building the reference answers, calibrating model grading | Most accurate; but slow, expensive and small samples |
The practical approach is a combination: use code for what is deterministic, and model grading for subjective parts, with periodic human calibration.
Capability evals and regression evals
- Capability evals: test what it can do now; the pass rate should start low, and they are used to find room for improvement
- Regression evals: test whether what it could already do has broken; the pass rate should be close to 100%
Maintain the two separately: capability evals for climbing, regression evals for preventing backsliding.
A path from zero
- Start early: 20–50 real cases are enough to begin; do not wait until you are “ready”
- Start from the list you test by hand: turn your daily manual checks and user-reported problems into test cases
- Tasks must be unambiguous: two experts looking at the same task should reach the same pass/fail judgement
- Balance the problem set: test both what should happen and what should not, otherwise you over-optimise in one direction
- Keep graders simple at first: if pass/fail will do, do not build elaborate scoring; evaluate the outcome before the process
- Read the records: regularly look at the full records of failing samples and confirm the grader is not misjudging
- Watch for saturation: evals that reach 100% pass rate need harder cases, otherwise they only serve as regression checks
- Maintain over time: maintain the eval set the way you maintain unit tests
Two common pitfalls
- Judging the path instead of the outcome: requiring the model to follow fixed steps kills reasonable approaches; evaluate what it produced first
- Graders too rigid: format and precision demands that are too strict mark correct answers wrong; fix the grader before suspecting the model
A minimal version for small teams
- Pick the task that goes wrong most often
- Collect 20 real failure cases
- Write down what “a correct output” looks like for each
- Run them in a batch with one script, recording pass/fail in a table
- Rerun after every prompt change or model switch
Checklist
- A fixed task set exists, not ad-hoc sampling
- Every task has a clear pass criterion
- The grader combines code checks and model judgement
- The full record of every run can be viewed
- Capability evals and regression evals are kept separate
- The grader is periodically reviewed by a human for correctness
Reference: key points adapted from Anthropic’s engineering blog post “Demystifying Evals for AI Agents”, rewritten for small-team scenarios.
Questions
Do small teams need evaluation too?
Yes, but you can start with 20–50 real failure cases instead of building hundreds at the beginning. Early on each change has a big impact, so a small sample reveals problems; expand once the scale grows.
What is the difference between evaluation and manual spot checks?
Manual spot checks rely on people reading, with few samples and no reproducibility; evaluation fixes the inputs and historical results, reruns automatically after every change, and can catch 'what used to work now broken'. The two should work together.
Should graders be code or models?
Prefer code for what code can judge (format, numbers, whether tests pass); use model grading for subjective quality, but calibrate it with human ratings first and give the model an 'uncertain' option.