Why do you version an eval dataset, and what exactly belongs in the version?
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
Because a score is meaningless without knowing what produced it. Comparing this quarter's 82% to last quarter's 76% is worthless if anything underneath moved, and something always moved.
Full worked answer with diagram
Because a score is meaningless without knowing what produced it. Comparing this quarter's 82% to last quarter's 76% is worthless if anything underneath moved, and something always moved.
The misconception is that the version is the examples. It is not. A score is a function of the examples, the expected outputs and rubrics, the grader code, the judge prompt, the judge model and its exact version, and the sampling parameters. Change any one and the number shifts with no change to the product. So all of it gets versioned together and recorded in every result row. If the grader prompt lives in someone's notebook, you do not have an eval, you have an anecdote.
Governance is the other half. Every example carries provenance: where it came from (production trace ID, hand-written, synthetic and from which generator), who reviewed it, when it was added. That matters because when an example turns out to be mislabelled, you need to know what else that annotator or generator touched. Changes go through review like code, with a changelog.
Retire, do not silently delete. Dropping the cases you fail is the easiest way to make a dashboard go up, and it happens by accident more than by malice. Tombstone them with a reason.
PII and consent apply here too: production-sourced examples inherit whatever obligations the original data had, including deletion requests.
Structurally I keep two things apart: a frozen regression suite that changes rarely and gates merges, and a living development set that absorbs new production failures. Mixing them means you can never tell a real regression from a set that got harder.
Worth sketching. Fanning the inputs into the score kills the assumption that versioning the examples is enough.
flowchart LR
E["Examples and<br/>expected outputs"] --> S["Score: 82%"]
R["Rubric wording"] --> S
G["Grader code"] --> S
J["Judge prompt and<br/>pinned judge model"] --> S
P["Sampling params"] --> S
S --> V["All five stamped on<br/>every result row"]
What a good answer covers
- Because a score is meaningless without knowing what produced it
- Comparing this quarter's 82% to last quarter's 76% is worthless if anything underneath moved, and…
- The misconception is that the version is the examples
- A score is a function of the examples, the expected outputs and rubrics, the grader code, the judge…
- Change any one and the number shifts with no change to the product
In the glossary: Judge (LLM-as-judge)
Interviewer follow-ups to expect
How would you handle an example everyone agrees is mislabelled but that has been in the frozen suite for a year?
What goes in the eval set versus a unit test?
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