A demo shows the happy path. An eval shows what happens on the twelfth messy input. This page is the method I use, plus the one project where I can show the numbers.
An LLM feature fails quietly. A button either works or it does not. A model returns something plausible, the screen looks fine, and the error shows up three weeks later in a shortlist nobody can explain.
So I build a small set of real inputs, run every change against it, and write down each failure in a category. The category is the useful part. "It is unreliable" cannot be fixed. "The parser guesses when the resume has two columns" can be fixed by Monday.
Small enough to repeat every week. Rigorous enough to catch the failures that matter.
Twenty to fifty cases from production or from the client. Not synthetic examples I wrote myself.
By hand, once. This is the ground truth. It is boring and it is the whole exercise.
Schema valid. Field accuracy. Grounded answer. Correct tool call. One number each.
Every failure gets a category and the input that caused it. Keep the input file.
Usually the boundary between two steps, not the model. Re-run the whole set.
Put the pass rate in the release note. If it drops later, someone will notice.
A recruitment engine that reads a resume and scores it against a job description. The first version did both in one prompt.
| Failure | What it looked like | Root cause | Fix |
|---|---|---|---|
| Truncated JSON | Output stopped mid object on long resumes | One call doing extraction and judgement, so the context filled up | Split the steps, cap the output, retry once |
| Broken syntax | Trailing commas, unescaped quotes | Model wrote prose inside a JSON string | Repair routine before validation |
| Invented fields | A skill the candidate never listed | Judgement leaking into extraction | Parse agent has no opinion, only extraction |
| Layout misread | Two column resume merged into one line | Text extraction order, not the model | Normalise the text before the model sees it |
| Score drift | Same resume, different score on a re-run | Scoring while parsing, with no fixed contract | Score only the clean profile, with stated criteria |
The metric follows the failure mode. There is no single eval that covers every AI feature.
| Feature | Metric | My default bar | What it catches |
|---|---|---|---|
| Extraction | Schema valid rate, field accuracy against a labelled set | 100% schema, 95% fields | Invention, truncation, layout misreads |
| RAG answers | Groundedness, coverage, correct refusal | Every claim traceable to a chunk | Confident answers with no source |
| Agent tools | Tool choice accuracy, argument validity, task completion | No side effect on a failed call | Wrong tool, malformed arguments, loops |
| Generated copy | Fact trace rate, banned phrase rate, human edit distance | Every number traces to a source | Hype, invented metrics, wrong claims |
| Classification | Precision and recall per class, not overall accuracy | Report the class that matters | A good average hiding a broken class |
A public eval page is only worth reading if it says where the evidence stops.
Every time a recruiter changes a score, store the before, the after, and the reason. That log is a free eval set, and it grows with usage.
A pass rate next to the version number. If the number drops, the release waits. Same discipline as a test suite, applied to output that has no fixed answer.