Evals are fuzzy unit tests, and the judge can lie
An eval runs test cases through your agent, and a judge scores each answer against the policy. Before you trust the judge, check that it agrees with humans.
- Each test case goes to the agent as a prompt, for example “I bought headphones 20 days ago. Can I return them?”
- The judge scores one answer at a time against the written policy. It does not compare two answers.
- Humans have labeled the same 30 cases pass or fail. The eval counts how often the judge agrees with them.
- CI fails when agreement drops below 80%. In the demo the gate passed at 24 of 30.
Map of the talk
Your link starts at the list of eval techniques
Why
Evals catch bad behavior before deploy; harnesses catch it at run time
The running example
A keyword check passes a wrong answer; a grounded judge does not
Keyword match
The word appears, but in the wrong place.
Pairwise, no policy
A friendly yes beats a correct no.
Pointwise, weak model
A used yoga mat exposed a rule nobody wrote down.
Pointwise + policy
A stronger model, plus a rule against loyalty appeals.
RAG-grounded judge
When the PDF changes, the judge follows.
How evals lie
LLM judges have four biases that you must test for
Picks the first answer
Picks the pleasing answer
Picks its own family
Picks the longer answer
Training the judge
Aim for 80–90% agreement with humans, not 100%
Have experts label about 30 question–answer pairs. Run the judge on the same pairs and count agreement. Human support teams agree with each other only about 80% of the time, so a judge near 100% is overfit to your examples.
Staying relevant
Give the judge the same policy search the agent uses
What to remember
Start cheap and add a judge only where you need one
- Climb the cost ladder: deterministic tests, then regex, then trace checks (which tools ran, how long), and a judge last.
- Write about 30 realistic cases and have a human label each one pass or fail.
- Score answers pointwise against the written policy, not pairwise. Use the cheapest judge model that works, from a different family than the agent, and pin its version.
- Run the eval in CI. Fail below 80% judge–human agreement, and treat 100% as a red flag.
- Retrieve the policy from one shared source (RAG) for agent and judge. Add new cases from production traffic.
Q&A · 54:32
Three audience questions
Synthetic cases and red-team prompts
Generate adversarial prompts, then make more variants of the ones that fail.
No; write evals when you build a harness
Skills you write yourself are mostly deterministic code.
Yes, one source of truth
Both query it, for example through OpenRAG. Keep the judge as close to the agent as you can.
Sources
© 2026 Hardeep Singh