What makes a single eval case well specified, and what are the common ways individual cases go wrong?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
A good case is one where two domain experts, reading it independently, would reach the same pass or fail verdict on any given output. Everything else follows from that test.
Full worked answer
A good case is one where two domain experts, reading it independently, would reach the same pass or fail verdict on any given output. Everything else follows from that test.
Anatomy. Each case carries the input exactly as the system receives it (user message, conversation history, uploaded files, retrieved context if you are holding retrieval fixed); any environment state the task depends on (database seed, account tier, today's date); the expected behaviour, as a reference answer or a rubric saying what pass means; the grader that applies it; and metadata: slice tags (language, intent, difficulty), provenance (production trace ID, hand-written, synthetic) and the date it was added.
How cases go wrong, roughly in order of frequency:
- Ambiguous task. The input admits two reasonable readings and the reference picks one. The model takes the other and fails. Fix the input or accept both.
- Over-specified grading. The reference says "96.12" and the grader string-matches, so "$96.12" fails. You are grading formatting, not the task. Normalise, or move to a tolerance check.
- Under-specified grading. The rubric says "the answer is helpful", so the grader passes anything fluent.
- Unachievable expectation. The reference depends on information the system never had: a document missing from the corpus, a fact after the knowledge cutoff, a tool it cannot call. Every model fails it forever.
- Stale reference. The policy or price changed and the gold answer did not.
The cheap diagnostic: a case that every candidate fails across many trials is more often broken than hard. Read it and check that a human with the same inputs could pass it. Equally, a case nothing ever fails is not testing anything at the current capability level.
The senior habit is to produce a passing output for every case before admitting it, and run it through your own grader. If you cannot write one that passes, neither can the model.
What a good answer covers
- A good case is one where two domain experts, reading it independently, would reach the same pass or fail…
- Everything else follows from that test
- Each case carries the input exactly as the system receives it (user message, conversation history,…
- Ambiguous task
- Over-specified grading
Key terms: Ambiguous task · Over-specified grading · Under-specified grading · Unachievable expectation · Stale reference
Interviewer follow-ups to expect
Who should write reference answers in a domain where nobody on the team is an expert?
A case passes 50% of the time across ten trials of the same config. Is it a good case or a broken one?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep