Stop saying “it feels better”: build your first eval set
The first three squares you checked by eye. Fine at small scale. But you’re about to hit the classic trap: you change a prompt, these three cases get better, those two quietly get worse, and you don’t notice. Anthropic says “not evaluating is running naked.” This square puts clothes on your Agent.
An eval set isn’t mysterious. It’s a pile of fixed inputs, each with a “what counts as pass” criterion. The magic is the moment you score: what you thought was an across-the-board win is often three up, two down. Without an eval set, those two drops stay invisible forever.
Same cases, before and after a prompt change
Three eval pitfalls this chapter already covered
First, quietly editing cases while you score. Change a case and the before/after scores aren’t comparable. Adding cases is fine; changing cases means re-running the full baseline.
Second, looking only at the total. Is 4/5 better than 3/5? First check whether the failing case used to pass.
Third, writing the criterion as “high-quality answer”. That can’t be judged. Write “includes next week’s plan” or “numbers match the source” — sentences you can decide at a glance. Only when you can’t judge that way does LLM-as-Judge come in.
This Chapter's Hands-on Checklist
0 / 3 done
Collect 10 real cases
15 min EveryonePick 10 inputs you’ve actually used and save them in a file, one per line. The mix matters: seven everyday, three nasty. Pull the nasty ones from the M1 five-run streak and the M2 stuck records — the inputs that already crashed it are the most valuable.
What counts as done
Write a pass criterion for each, run a baseline
1 hour If you want changes to be evidence-basedEach case gets one “what counts as pass,” written so you can decide at a glance: “output is exactly three sections,” “the conclusion includes XX,” “no numbers invented beyond the source.” Then run all 10 and write down the first baseline score.
What counts as done
Change one prompt version, let the score talk
Half a day If you want to keep iteratingChange the prompt against the failing cases. Don’t touch a single case. Re-run the full set and compare. Watch two things: how much the total moved, and whether any case that used to pass now fails. A regression isn’t shameful — write down which case and why. You’re already doing the real engineering Anthropic talks about.