Did the Change Actually Help?
Book 03 · AI Evals
Did the Change Actually Help?
AI Evals in Plain Python: Build a Test Set, Check Your LLM Judge, and Report What Changed
You changed the prompt. Someone asks: is it better?

The problem
You changed the prompt. Someone asks: is it better?
You tried a few examples by hand, fixed one thing and broke another. The provider shipped a new model overnight. “It looks better” is not an answer you can sign.
One small, complete evaluation project from start to finish: a versioned test set, a labeling guide, code graders, an LLM judge checked against people, a fair comparison and a report the decision maker can read.
What's inside
What you will build and keep.
For developers, QA engineers and freelancers with basic Python who ship features built on language models.
- One worked case: intake triage for a property manager, three prompt versions
- Complete code, standard library only: graders, judge runner, metrics, report generator
- Wilson intervals, an exact McNemar test and Cohen's kappa, explained in plain words
- Why 70% judge agreement can still mean a judge you should not trust
- How a version can score higher overall and still fail a release gate
- Repeated runs, flaky items and what a small test set can and cannot prove
- Comparing the same prompt on a new model, and evaluating a one-label classifier
- A handover pack, a scope template and a client report outline
Agree on what each error costs and which results would block a release, before you run anything.From Did the Change Actually Help?
Did-It-Help Calculator
From Did the Change Actually Help? · 95% Wilson intervals and an exact McNemar test✓ It is for you if
You are one of these: developers, QA engineers and freelancers with basic Python who ship features built on language models. Basic Python, standard library only.
✕ What it is not
Not a tour of evaluation frameworks and not a research survey. It does not certify that a system is safe or compliant.
Questions
About this book
Which model provider does it need?
Any. The code is plain Python with the standard library; the model call is a small adapter you map to your provider's documentation.
How much statistics do I need?
None up front. Each method is introduced when the case needs it, with the arithmetic shown.
Is this about benchmarks?
No. It is about your task, your test set and your decision: did this change help enough to ship?
Pairs well with
Build the shelf.
The same discipline, applied to the next job a client or manager will hand you.


Did the Change Actually Help?
Prove whether a prompt or model change helped, with evidence instead of a feeling.