← My notebook

11 · Quality

Evals

An eval is a test set for a model system. Same questions, known answers, run every time you change something.

Fixed cases

Write down the questions the system must handle and what a good answer looks like. Six is enough to start. The point is that they do not change between runs.

Run and grade

Run every case through the current prompt and grade each answer pass or fail. Version one scores 3 out of 6. That number is now a baseline, not an impression.

Change one thing

Add one instruction: "always filter by week". Without an eval, you would try two questions, like the answers, and ship it.

Score and regressions

Version two scores 5 out of 6. Better. But one case that passed now fails: week-on-week change broke, because the new rule filters out the previous week. Evals catch this. Feel does not.