The assistant says, “You’re all booked.” Before grading the reply, open the reservation. Did it book the night the guest asked for?
First define what improvement means
In one lineEvaluation asks whether a change fixed the target behavior without causing a worse problem elsewhere. One total score cannot answer that.
Here the goal is a reservation for the requested night. If you're comparing two assistants, try both on the same requests and check the resulting bookings against that rule. Grade the wording separately.
Why one average score is not enough
In one lineA fluent travel agent that books the wrong date shows why: format, dates, availability, preferences and satisfaction each need a different check.
A guest asks for one night, checking in on June 8. The assistant confirms June 8 in its message, but the booking record shows check-in on June 9. Use that same exchange for each check:
| Check | What would it tell us here? |
|---|---|
| Validate the fields in the tool call | June 9 is a valid date. A format check passes; comparing it with the requested date fails. |
| Look up the reservation | A real booking exists, but for the wrong night. A hotel being available for June 8 would not prove a reservation was made for that night. |
| Have a person or model read the reply | A judge asked only about clarity could reasonably give it full marks. It cannot verify the booking without the record. |
The guest still has nowhere booked for June 8. Don't let points for clear writing cancel out a failed booking. Other questions need other evidence: the guest’s stated preferences can help judge whether the itinerary suits them; a reply alone tells us little about long-term satisfaction.
First write down what “good” means
In one lineBefore evaluating, write down the goal, what counts as done, what must never break, the trade-offs and the slices to watch. Without them a score means nothing.
Before evaluating, write down the success criteria. Use them to guide the metrics and tests you choose:
Goal What does the user actually want to accomplish?
Success What result counts as done?
Invariant Which conditions must never be broken?
Tradeoff How are speed, cost, quality, and risk balanced?
Slice Which users, tasks, and environments must be observed separately?
If these questions have no answers, the final score means nothing, however precise it is.
How to read this section
In one lineStart with the task, text metrics and a fair comparison. Follow up on checks, slices, model judges or production monitoring when you need them.
After this example, the next two core notes cover scoring and comparison:
- BLEU, ROUGE, edit distance and perplexity: score a short sentence, then see why an incorrect answer can receive a higher score; perplexity scores the probability a model gives to the test text, not its own writing.
- Benchmarks and long-context tests: choose tasks, fix the protocol, move evidence, and interpret score differences.
Then pick the question you actually have:
- The evaluation stack: from deterministic checks to online outcomes, which question each layer is good at.
- Comparisons and slices: hold conditions fixed, then check which group got worse while the average rose.
- Is the metric robust?: what an average hides, and how an evaluator drifts on its own.
- LLM-as-a-Judge: how to handle the criterion, the scoring mode, and the biases when a model does the scoring.
- Taking evaluation online (draft under review): what to record for production requests, how to sample traffic for a judge, and how failures become regression items.
Engineering reading
- Confident AI Blog: continuously updated writing on LLM evaluation, agent evaluation, observability, Human-in-the-Loop, RAG metrics, and experimentation workflows. Good for learning engineering implementation and common design patterns; specific methods still need to be validated against the primary papers and your own data.