Why evals matter: you can't see regressions by eye
A prompt change can fix the answer you are looking at and break the ones you are not. Evals catch that.
5 min read
You change a prompt. The answer you were fixing now looks great. You ship it.
A week later, customers complain about a different question. One you never checked.
That is the problem evals solve.
How most people check AI today
Most teams try a few examples, read the output, and go with their gut. Call it a vibe check. It is a fine place to start. It breaks down fast, for three reasons:
- You look at the example you just fixed, so you see the win and miss the damage.
- You can only read a handful of answers.
- You forget what the old answers looked like.
What an eval is
An eval is a fixed set of test questions, with a clear way to check each answer. You run the same set every time you change something, then compare.
- Test cases: the questions, plus what a good answer must do.
- Checks: rules or scores applied the same way every time.
- A record: so you can compare this change with the last one.
Try it
You are fixing this one
Can I return a sale item?
Sale items can't be returned.
Sample data for an imaginary store, not a live run.
Switch between the two versions. Version 2 fixes the question you were worried about. Then run the full set and look at the other four.
What an eval gives you
- You spot regressions before customers do.
- You compare prompts or models fairly: same questions, same checks.
- You decide with evidence. "Version 2 passes 3 of 5, version 1 passes 4 of 5" beats "it feels better".
- You can add hard gates for failures that must never ship.
Start small
- Write 10 test questions from real cases, including ones that went wrong.
- For each one, write a sentence: what must a good answer do?
- Run them before and after every change.
- Add a new test case every time something breaks.
Common mistakes
- Testing only easy questions.
- Changing the tests to make a result look better.
- Treating one run as proof. Answers can vary between runs, so look for patterns, not a single result.
Takeaways
- Looking at a few examples cannot show you what a change broke.
- An eval is a fixed set of questions with the same checks every time.
- Start with 10 cases, and add one each time something fails.