Step 11 of 38 · Delivery
Evaluation as the product spec
For a learned system the evaluation set is the specification. Own it with product, version it and treat changes as decisions.
You cannot write a model's behaviour down as requirements, so the evaluation becomes the spec. If a behaviour is not in the evaluation, you have not asked for it and you will not know when it breaks.
Build the set with product from real cases, including the ugly ones. Cover the slices that matter: user groups, operating conditions, rare but costly failures. For generative systems, write explicit pass criteria and check automated graders against human judgement before trusting them.
Guard it. Keep a held-out portion nobody tunes on, version it, and require a review to change it. The usual failure is one aggregate score that climbs while an important slice gets worse.
Try this week
- Read fifty real outputs from your system with a product partner and write down every failure type you see.
- Break your headline metric down by three slices that matter to users and report them next to the total.
Signs you've got it
- Product can point to the evaluation cases that represent their top requirements.
- A release has been blocked by a regression on a slice while the overall score improved.
Resources
- articleYour AI Product Needs Evals (opens in a new tab)Hamel Husain
- paperBeyond Accuracy: Behavioral Testing of NLP Models with CheckList (opens in a new tab)Marco Tulio Ribeiro and colleagues
- bookModel Quality (Machine Learning in Production) (opens in a new tab)Christian Kästner
- paperThe Problem with Metrics is a Fundamental Problem for AI (opens in a new tab)Rachel Thomas and David Uminsky
- articleTask-Specific LLM Evals that Do & Don't Work (opens in a new tab)Eugene Yan