Lesson 11.01 · Phase 11 · Evaluation & Observability
Why agent evals are hard
An agent eval is a measurement of a random process. Run the same agent on the same 50 tasks five times and you get five different scores. A truly better agent can score lower in a single run. "Did it pass?" has more than one honest answer. Before building any eval harness, learn to see the noise, size your eval to beat it, and say which question your metric answers.
Learning objectives
- Show, with simulated agents whose true success rate is known, how much one eval run varies.
- Compute a 95% confidence interval for a success rate, and decide how many trials a task needs.
- Distinguish pass@k (succeeds at least once in k tries) from pass^k (succeeds every time in k tries).
- Compare two agents with a paired bootstrap over tasks, and explain why final-answer and trajectory grading disagree.
You change a prompt, run your 50-task eval once, and the score goes from 66% to 62%. You revert the change. A week later someone else makes the same change, runs once, gets 70%, and ships it. Both decisions were coin flips. Agents sample from a model, call tools with variable results, and take different paths each run. One run per task measures your luck as much as your agent.
Loading the full lesson…