ealeng

Episode 13 of 15 · When the number lies

Audit the 92%, then rebuild it

A support-ticket summarizer "passes 92% of our eval". In this simulation it really passes 75.3% of recent real tickets. The capstone puts the whole track together: audit the eval behind a headline (model-written and leaked cases, a judge the prompt was tuned against, a missing kind of ticket, one run, stale data, no rubric), take the 16.7 points apart, see why fixing a weak eval widens its range to 42–100%, price people against a cheap and a large judge with the judge's skill score J (the cheap one can't reach ±3 at any size), write the design and a stopping rule down first, and rebuild: 76.8% (74.1–79.4%), with a people-only check that agrees. Everything is simulated.

Capstone · How Much Is This 92% Worth?22 min read
Video transcript7:17

0:00Cold open

0:01

Our team’s dashboard says it in one line: our support-ticket summarizer passes ninety-two percent of our eval.

0:08

This is a simulation, so I can see what a real team never can: how often it really passes on real tickets.

0:16

Seventy-five percent.

0:19

Seventeen points of that headline aren’t real. Where did they come from? And what does it take to get an honest number?

0:27Intro

0:29

Hands-on AI evals: when the number lies. Part three, the finale.

0:35Meet Maya

0:36

I’m Maya, an ML engineer. Our summarizer writes a short summary of each support ticket.

0:43

A headline is the one number everyone quotes about a system. Ours is that ninety-two.

0:49

Think of a used car with a sticker in the window: ninety-two out of a hundred. Before you buy it, you’d get it inspected.

0:57

An audit is that inspection, for an eval: it checks every link between the test cases and the number.

1:0401 · The audit

1:06

So I audited it. First: where did the test cases come from?

1:10

Three in four were written by a model, not by customers. A simple classifier, a small program that sorts real from model-written, spots them almost every time. Part one of this series was about that gap.

1:24

Ten cases are copies of tickets the team used while tuning the prompt. The system had already seen them. They’re leaked.

1:31

The grader is a cheap AI judge: the same one the prompt was tuned against, as in part two. And nobody had checked it against people.

1:40

There are no Spanish tickets at all, though real customers send them. And only a handful of angry customers.

1:47

Each case ran once, the newest is eight months old, and there’s no written rubric.

1:5302 · Where 17 points came from

1:55

Because this is a simulation, I have an answer key: how much each problem added, taken out in this order. A different order would split it differently. A real team never sees this.

2:06

The lenient judge: about five points. The leaks: under one.

2:11

The model-written tickets: over nine points. Almost all of them are simple tickets, and they’re easier than real ones even then.

2:20

The mix of ticket kinds, and the missing Spanish tickets, add the rest, down to the true seventy-five.

2:2703 · Fixing what we can

2:28

Now, without the answer key: fix each problem with what a team has.

2:33

Each number gets a range: where the true pass rate probably is, ninety-five times in a hundred. The headline’s range only covers which cases happened to be picked.

2:44

Take out the leaked cases. It barely moves.

2:47

Now correct for the judge. People grade a sample of the cases, to check it against them. Those are calibration labels.

2:55

Only thirteen of them were failures. As my judge-calibration video showed, that’s too few to pin down how often the judge catches them.

3:04

So the corrected score barely moves, but its range opens up: from sixty-seven percent to a hundred.

3:1204 · Wider, not narrower

3:14

Next, drop the model-written cases. Only forty real tickets are left.

3:19

Then reweight them to the real traffic mix. These forty are already close to it, so it barely moves.

3:25

And Spanish has no cases at all. Its pass rate could be anything.

3:30

Put together, the honest answer from this eval is: somewhere between forty-two and a hundred percent.

3:38

Like that used car: you don’t repaint the sticker. You test-drive it on the roads you actually use. This eval has to be rebuilt.

3:4705 · How many cases?

3:48

So, a new eval. How precise should it be? We want the pass rate within three points either way. That’s the margin.

3:56

Planning for the worst case, fifty percent, the sample-size formula from my series on test-case counts says a thousand and sixty-eight.

4:0606 · Who grades?

4:08

Who grades them? People are the reference, so a thousand cases is enough. But they cost money on every release.

4:15

A judge needs a skill score. I’ll call it J: how often it passes good summaries, plus how often it fails bad ones, minus one. One is perfect. Zero is no better than a coin flip.

4:28

On those hundred labels, the cheap judge scores about zero point four. And it’s the judge the prompt was tuned against.

4:36

Undoing a weak judge’s mistakes with math more than doubles every error. Even with every ticket we have, it can’t reach our margin.

4:44

A large judge from another model family should score much higher: about zero point eight, which its calibration labels must confirm.

4:54

Over a year of monthly releases, who’s cheaper?

4:59

The judge: about six and a half thousand dollars. People: twenty-six thousand. For one run, people are cheaper.

5:0807 · Write it down first

5:09

Before running anything, I wrote the design down. Every number, with its reason.

5:15

Only recent real tickets, in their real mix: nothing model-written, nothing leaked. And a written rubric.

5:22

Two hundred more tickets, graded only by people and never used for anything else. If they disagree with the judge, we stop.

5:30

And a stopping rule: if the judge’s J comes in below zero point seven five, we add labels, or switch to people.

5:38

Written first, nobody can nudge it later: that would be tuning against the metric again.

5:4408 · The rebuilt number

5:46

Then I ran exactly that plan: recent real tickets, graded by the large judge, and corrected with its calibration labels.

5:54

Its skill score came in above the line. Here, that’s by design: I built this judge. With a real judge, this is the check that matters.

6:03

Seventy-six point eight percent, with a range from seventy-four to seventy-nine. And the truth sits inside it.

6:1209 · What the old eval hid

6:14

The old eval had every kind of ticket at about the same score, near its headline.

6:19

The rebuild doesn’t. Simple tickets pass much more often than tickets with several requests, or from angry customers.

6:27

And Spanish, which the old eval never saw, is the weakest: about half.

6:32

One last check, that doesn’t share the judge’s weaknesses: those two hundred people-only tickets. They say seventy-eight and a half percent. Consistent.

6:4410 · What the number means

6:45

So the new headline: on recent real tickets, about seventy-seven percent of the summaries are correct.

6:52

It covers recent tickets in their real mix, graded against a written rubric.

6:57

It doesn’t cover reliability: each ticket ran once. And Spanish is measured only loosely.

7:03

To keep it true: rerun it every release, and never tune the prompt against the judge or the people-only check.

7:11Summary

7:12

That’s a headline you can defend.Maya: Thanks for watching!

Key takeaways

  • ✓A headline is a claim: on the traffic you care about, about 92% of outputs would be judged good by people who know what good means. Three links can break: the cases may not look like the traffic, the grader may not judge like people, and the sample may be too small. In this simulation the 92% eval's summarizer really passes 75.3% of recent real tickets.
  • ✓Audit every link before you trust the number. Here: 150 of the 200 cases were written by a model (a classifier told them from real tickets 99.3% of the time), 10 were copies of tickets used to tune the prompt, the grader was a cheap AI judge the prompt had been tuned against and nobody had checked against people, Spanish (5.2% of traffic) had no cases, angry customers only 11, each case ran once, the newest was 8 months old, and no rubric was written down. 4 blocking problems, 7 caveats, 3 unknowns.
  • ✓In the simulation the 16.7 points can be split, taking the problems out one at a time: the lenient judge +5.4, leaked cases +0.7, model-written tickets +9.3, the mix of kinds +0.3, no Spanish +1.0. The split depends on the order: reweight to the real mix first and the same 9.6 points become mix +5.0, model-written +3.4, leftover +1.2. Most model-written cases were simple tickets, the easy kind.
  • ✓Fixing a weak eval with what you have makes its range wider, not narrower. Correcting the judge with 100 human labels (only 13 of them failures) opened the range to 67–100%; keeping only the 40 real tickets, 46–100%; with Spanish unmeasured, all traffic is somewhere in 42–100%. Every fix was right; the eval holds too little real information. Rebuild it, don't patch it.
  • ✓Price the graders by the margin they can reach, not the cost per call. ±3 points at a 50% pass rate takes 1,068 perfectly graded cases. A judge's correction divides by its skill score J = TPR + TNR − 1: the cheap judge (J 0.42) magnifies every error about 2.4×, and can't reach ±3 even with all 5,800 tickets (±3.6 at best). The large judge (J 0.83, planned) needs 3,100 cases and 950 calibration labels. People are cheaper for one run ($2,674 vs $3,509); the judge over 12 monthly releases ($6,357 vs $26,217).
  • ✓Write the design down before running it, with a reason for every number: real recent tickets in their real mix, no model-written or leaked cases, a written rubric, 200 tickets graded only by people as a check, and a stopping rule (judge J below 0.75 → more labels or people). Changing the plan after seeing a number is tuning against the metric again.
  • ✓The rebuild: 76.8% (74.1–79.4%), and the true 75.3% is inside, as each kind's truth is inside its range. It shows what the old eval hid: simple 85.6%, multi-request 70.7%, angry 74.1%, Spanish 54.1% (44.0–63.1%). The people-only check says 78.5% (72.3–83.6%): consistent. The new headline says what it covers (recent tickets, the real mix, a written rubric) and what it doesn't (reliability, with one run per ticket; Spanish only loosely).

The team's dashboard says it in one line: "Our support-ticket summarizer passes 92% of our eval." This chapter takes that number apart and builds an honest one in its place. It's the capstone of the track: it uses the confidence intervals of Chapter 1, the sample-size formula of Chapter 2, stratified sampling and reweighting from Chapter 3, the audit of Chapter 6, rubrics from Chapter 7, the judge calibration of Chapter 9, the synthetic-data checks of Chapter 11 and the warning of Chapter 12 about tuning against a judge.

The examples come from the eval labs' capstone (How Much Is This 92% Worth?), all five of its scripts: 01_audit.py (what's wrong with the eval behind the 92%), 02_decompose.py (how much of the 92% survives each fix), 03_design.py (what the new eval should look like, who should grade it, what it costs), 04_rebuild.py (run it, and check it) and 05_summary.py (the one page a reader gets). The math is in the labs' shared package, evalkit: two functions the capstone adds to evalkit/judge.py (corrected_margin, which plans the ± of a judge-graded eval, and stratified_corrected_ci, a judge-corrected pass rate weighted to the traffic mix, with a range that carries the judge's error), and the audit from Chapter 6 (evalkit/engine.py). No API is needed. The lab's TEMPLATE.md (doing the same to an eval of your own) and its "exercises to try on your own" aren't covered.

Everything here is simulated. The lab builds a world where the truth is known: each ticket's chance of a correct summary is a rule the lab sets, people grade perfectly, and the two judges' error rates are inputs. That is the only reason this chapter can say the summarizer "really" passes 75.3% of tickets. A real team never sees that number; the chapter calls it the answer key and labels it every time. Every other number is what the lab's scripts measure, with their own random seeds.

The world

The summarizer writes a short summary of each support ticket for a support agent; a summary passes or fails. The lab sets up:

Piece What it is
The original eval 200 cases. 150 were written by a model asked to "write a realistic support ticket" (the generator from Chapter 11); 50 are real English tickets from last winter (November 2025 to January 2026), 10 of which were also used to tune the prompt
Its grading one run per case, graded by a cheap AI judge. The prompt was tuned against this judge (Chapter 12)
Recent traffic 6,000 real tickets from June to September 2026, in four kinds: simple (42.2%), multi-request (33.4%, several requests in one ticket), angry (19.2%) and Spanish (5.2%)
Graders people ($2 a label), the cheap judge ($0.002 a call) and a large judge from another model family ($0.015 a call)

A kind of ticket is what the lab calls a stratum, a group of the traffic that gets its own count, as in Chapter 3. What makes a ticket hard is the rule from Chapter 11: more requests, an angry customer, a missing order number, typos and Spanish all lower the chance of a correct summary.

A headline is a claim

A headline is the one number everyone quotes about a system. "92%" is short for a claim: if you ran this summarizer on the tickets customers send, about 92% of its summaries would be good, as judged by people who know what good means. Every link in that sentence can break:

  • The cases may not look like the traffic: model-written, leaked, stale, or missing a kind of ticket.
  • The grader may not judge like people: lenient, or tuned against.
  • The sample may be too small to say.

Think of a used car with "92/100" on a sticker in the window. Before you buy it, you get it inspected, and you test-drive it on the roads you actually use. An audit is that inspection, for an eval: it checks every link between the test cases and the number. (The widget in "What the old eval hid" draws the sticker and the test drive.)

Taken at face value, the 92% is 184 of 200 cases, and its 95% Wilson interval (the range for a pass rate from Chapter 1; this chapter says range, as the video does) is 87.4–95.0%. That range is the best case: it covers only which 200 cases happened to be picked. Everything the audit finds below is error it doesn't include.

The audit

Script 1 runs the audit from Chapter 6 on the 200 cases, against recent traffic and the prompt-tuning log (the tickets the team used while adjusting the prompt), then adds four checks it doesn't cover. The marks are Chapter 6's: ✓ fine, ⚠ a caveat to report next to the score, ✗ blocks the score, ? couldn't check.

Check Mark What it found
Where the cases came from ✗ 150 of 200 (75%) were written by a model. A classifier sorted them from recent real tickets 99.3% of the time (shuffled-label baseline 49.1%, the classifier two-sample test from Chapter 11): their scores can't stand in for real ones
Leakage ✗ the leak check matched 15 cases to the tuning log. Read by hand: 10 are exact copies, the system had already seen them; the other 5 are different tickets that share common phrases ("wrong size and I need to exchange it")
Tuned against the grader ✗ the prompt was tuned against the same judge that grades the eval: its score is a target, not a measurement
Missing kinds ✗ no Spanish cases, though 5.2% of traffic is Spanish. No reweighting can measure a kind with no cases
Grader ? nobody had checked the judge against people
Rubric ? what "pass" means isn't written down (Chapter 7)
Failure discovery ? no review of failures sorted into kinds (Chapter 4)
Mix ⚠ simple tickets are 78.5% of the eval and 42.2% of traffic: a total variation distance (TVD, the share of cases you'd have to move to turn one mix into the other) of 0.36
Thin kinds ⚠ 11 angry tickets: even with no failures, angry tickets could fail up to 24% of the time
Near-duplicates ⚠ 76% of cases repeat another case's wording; 99% of the model-written ones do (real traffic: 7%)
Repeated runs ⚠ one run per case: how often answers flip is unknown (Chapter 5)
Freshness ⚠ the newest case is 243 days old on the audit date, 1 October 2026: about 8 months
Sample size ⚠ 200 cases give ±3.8 points; ±3 would need about 315

Four ✗, seven ⚠, three ?. Chapter 6's audit alone already says don't read the aggregate score as production performance. The extra checks are worse: three in four cases are text a simple classifier spots almost every time, and the grader is the judge the prompt was tuned to please. Each of those inflates the score in a way no range shows.

Where 16.7 points came from

Because this is a simulation, the lab knows the true pass rate of any set of tickets: the average of each ticket's chance of a correct summary. So it can say where the 16.7 points between 92.0% and the true 75.3% came from. Take the problems out one at a time and record how far the true rate drops each time (Script 2's answer key):

Taken out, in this order True rate after Points
(the judge's reading of all 200 cases) 92.0%
the lenient judge: the 200 cases' true rate 86.6% +5.4
the 10 leaked cases 85.9% +0.7
the 150 model-written cases 76.6% +9.3
the mix: the 40 real tickets reweighted to traffic 76.3% +0.3
no Spanish: all recent traffic 75.3% +1.0

The lenient judge, about 5 points; the leaks, under one. The model-written tickets look like the biggest piece, but that depends on the order. 135 of the 150 model-written cases are simple tickets, so dropping them also fixes most of the eval's mix. Reweight the cases to the real mix first, and the same 9.6 points split mix +5.0, model-written +3.4, leftover +1.2 (the leftover: the 40 old real tickets are a bit easier than recent tickets of the same kinds). Within the same kind, model-written tickets are still easier than real ones (true: simple 89.4% against 84.3%, multi-request 79.3% against 71.6%), so they're a real problem, just not a 9.3-point one. The problems overlap; no split is the split. The widget below shows both orders.

A real team never sees this table. The rest of the chapter works without it.

Fixing it with what you have

So fix each problem with what a team actually has: the leak check, a few human labels, the cases' sources and the traffic mix. Script 2:

Step Cases Estimate 95% range
1. Headline: the judge, all cases 200 92.0% 87–95%
2. Leaked cases removed 190 91.6% 87–95%
3. Judge error corrected 190 90.8% 67–100%
4. Real tickets only 40 87.0% 46–100%
5. Reweighted to the traffic mix 40 86.3% 45–100%
6. All traffic, Spanish unmeasured 40 — 42–100%

Removing the leaks barely moves it. Correcting for the judge needs calibration labels: people grade a random sample of the cases, to measure the judge against them, as in Chapter 9. From 100 labels, the judge passed 95.4% of the summaries people passed (its TPR, true positive rate: it catches good ones) and failed only 46.2% of the ones people failed (its TNR, true negative rate: it catches bad ones). But those 100 labels held only 13 failures, and 6 of them is too few to pin TNR down. The corrected pass rate, (pass rate + TNR − 1) ÷ (TPR + TNR − 1), barely moves, and its range, a bootstrap that redraws both the judged cases and the labels (Chapter 9's honest interval), opens to 67–100%.

Keeping only real tickets leaves 40. Reweighting them counts each kind by its share of traffic (Chapter 3); these 40 are already close to it (38 / 38 / 25%), so it barely moves. The eval's real mix problem, simple tickets at 78.5% of the cases, went with the model-written cases in step 4. And Spanish has no cases: its pass rate could be anything from 0 to 100%. So the range for all traffic is the range of the other 94.8%, plus 5.2% that could be anything: (1 − 0.052) × 44.8% = 42.4% at the low end, and 100% at the top.

The honest answer from this eval: somewhere between 42% and 100%.

Try it · Take the 92% apartCapstone · 02_decompose.py · simulated

Fix one problem at a time, with only what a real team has: the leak check, 100 human labels to check the judge, the cases' sources and the traffic mix. Each row is the estimate (dot) and its 95% range. Step through the fixes.

step 1 of 6
40%50%60%70%80%90%100%1
Cases
200
Estimate
92.0%
95% range
87–95%

1. Headline: judge, all cases. 184 of 200 passed, one run, graded by the cheap judge. The range covers only which cases happened to be picked.

Wider, not narrower

Every fix was right, and the range only grew: 8 points wide at the headline, 58 at the end. Each honest correction removes a bias and adds uncertainty: correcting the judge needs labels, and keeping only real cases leaves fewer cases. That isn't a failure of the method. It's the finding: the original eval has too little real information in it to support a number. The corrected point estimate alone, 86%, would have looked like a fix; it's eleven points above the truth.

Back to the used car: you don't repaint the sticker. You test-drive it on the roads you actually use. An eval like this has to be rebuilt, not patched.

How many cases?

So, a new eval. How precise should it be? The team wants the pass rate within ±3 points: the margin, half the range's width. Step 5's range can't rule out anything from the mid-40s up, so the plan uses a 50% pass rate, the worst case: it needs the most cases. Chapter 2's formula, cases = 1.96² × p × (1 − p) ÷ margin², gives 1.96² × 0.5 × 0.5 ÷ 0.03² ≈ 1,068 cases, if every one is graded perfectly.

Who grades?

People are the reference: 1,068 labels is enough. But they cost $2 a label on every release.

A judge needs a skill score. The lab uses J = TPR + TNR − 1 (statisticians call it Youden's J): how often it passes good summaries, plus how often it fails bad ones, minus one. 1 is perfect; 0 is no better than a coin flip. The corrected pass rate divides by J, so a judge with a low J magnifies every error by 1 ÷ J, and needs about (1 ÷ J)² times as many cases for the same margin. Its catch rates also come from calibration labels, which have their own error. corrected_margin plans for both: the margin you'd expect from n judged cases, of which k also get human labels.

  • The cheap judge: J = 0.954 + 0.462 − 1 = 0.42 on those 100 labels. It magnifies every error about 2.4×. Even with all 5,800 tickets judged (6,000 minus 200 kept aside for a check, below) and all of them also labelled by people, the best it can reach is ±3.6. It's also the judge the prompt was tuned against, a second reason not to use it.
  • The large judge from another model family should score much higher: TPR 0.95 and TNR 0.88, so J = 0.83, assumed from Chapter 9's lab. Its own calibration labels must confirm that. The cheapest plan that meets ±3 with it: 3,100 cases and 950 calibration labels.

Script 3 prices each option: the first run (pull and check each ticket, $0.50; run the summarizer, $0.004; grade; plus labels), then every later release (run and grade the same cases again; a judge also gets 100 fresh human labels to catch it drifting):

Grader Cases Human labels First run Per release 12 monthly releases
People 1,068 1,068 $2,674 $2,140 $26,217
Cheap judge (J 0.42) — — impossible: ±3.6 at best, with all 5,800 tickets
Large judge (J 0.83) 3,100 950 $3,509 $259 $6,357

For one run, people are cheaper: a judge's errors have to be paid for up front, with extra cases and labels. For an eval that reruns every release, the large judge is cheaper from the second release on, and over a year costs about a quarter of what people do (still under a third with the $400 people-only check below). Cheap per call isn't cheap per unit of certainty.

Try it · Who grades, and what does ±3 cost?Capstone · 03_design.py · planned at a 50% pass rate

The goal: the pass rate within ±3 points (the margin), planned at 50%, the worst case. People grade perfectly but cost $2 a label on every release. A judge is cheap per call, but its mistakes have to be corrected, and the correction divides by its skill score J = TPR + TNR − 1, which magnifies every error. Pick a grader, then move the sliders: cases graded, and (for a judge) how many of them people also label to calibrate it.

±0±2±4±6±8±102001,0002,0003,0004,0005,0005,800cases gradedtarget ±3
— People— Cheap judge (J 0.42)— Large judge (J 0.83, planned)(judge curves at the current number of calibration labels)
Margin
±4.2
First run
$1,838
Per release
$238
12 releases
$4,456

Cheapest that meets ±3: 3,100 cases and 950 calibration labels, $3,509 first run, $259 per release (the runs plus 100 fresh labels to catch drift), $6,357 over 12 releases, against $26,217 for people. Plus a 200-ticket people-only check ($400). For one run, people are cheaper ($2,674).

The plan uses the large judge's assumed catch rates (TPR 0.95, TNR 0.88). Its calibration labels have to confirm them before the number is trusted: the design's stopping rule says J below 0.75 means more labels or people.

Write the design down first

Before running anything, Script 3 writes the design down, every number with its reason, dated 1 October 2026, before any result exists (reports/design.md):

Decision Value Why
Grader the large judge, calibrated on human labels cheapest over 12 releases that meets ±3; not the prompt's tuning target
Cases 3,100 recent real tickets ±3 at 50% with the judge's error included
Per kind simple 1,309, multi-request 1,037, angry 593, Spanish 161 in proportion to traffic, so the overall score needs almost no reweighting; every kind at least 100, so each gets its own range
Calibration labels 950, a random subset of the cases enough to know TPR and TNR for the combined ±3
Held-out people-only set 200 other recent tickets, graded only by people never used for tuning or calibration: if it disagrees with the judge-based number, stop. ±6 on its own
Model-written cases none in the measurement easy to tell from real ones and too easy: use them to find failures, not to measure
Leaks exclude anything that appears in prompts, examples or tuning logs leaked cases always pass
Runs per case 1 the claim is pass@1 (each ticket once); repeats are for a reliability claim
Rubric written before grading, shared by people and the judge "pass" must mean the same thing to every grader
Refresh new tickets each quarter traffic drifts; the old eval's newest case was 8 months old

And a stopping rule: if the large judge's J, measured on its calibration labels, comes in below 0.75, the margin will miss ±3, so add calibration labels or switch to people for this run. First run, with the people-only set: $3,909.

Why first? Because case counts, the mix, the grader, the labels and the stopping rule all move the result. Written down before anyone sees a number, nobody, including you, can nudge them toward a nicer one later. That would be tuning against the metric again (Chapter 12). If the plan must change mid-run, the stopping rule says how, and any other change gets logged with its reason.

The rebuilt number

Script 4 runs exactly that plan. It sets the 200 people-only tickets aside, excludes 35 tickets too close to something in the tuning log, draws 3,100 recent real tickets per the plan, has the large judge grade them, and buys 950 calibration labels.

The calibration labels held 235 failures. The judge passed 95.1% of the good summaries and failed 87.7% of the bad: J = 0.83, above the 0.75 line. In this simulation that's by design: the plan's assumed catch rates are exactly the judge's built-in ones. With a real judge, this is the check that matters.

The result, corrected for the judge and weighted to the traffic mix (stratified_corrected_ci, whose range uses one draw of the judge's error for all four kinds at once, because a judge more lenient than measured inflates them all together):

Kind Cases Rebuilt 95% range True (answer key)
Simple 1,309 85.6% 82.4–88.6% 85.3%
Multi-request 1,037 70.7% 66.9–74.5% 68.6%
Angry 593 74.1% 69.0–78.7% 69.7%
Spanish 161 54.1% 44.0–63.1% 57.3%
Overall 3,100 76.8% 74.1–79.4% 75.3%

76.8%, with a range from 74.1% to 79.4%, and the truth sits inside it, as each kind's truth sits inside its range. The margin, ±2.6, is better than the ±3 planned, because the plan assumed the worst case, a 50% pass rate.

What the old eval hid

The old eval drew every kind at about the same score, near its headline: simple 92%, multi-request 94%, angry 91% (as the cheap judge graded them), Spanish not measured. The rebuild doesn't. Simple tickets pass much more often than tickets with several requests or from angry customers. And Spanish, which the old eval never saw, is the weakest: about half. That's what the team needs to know to decide what to fix.

With the answer key, the old ranges miss the truth overall and for simple and multi-request tickets. Angry's holds it only because 11 cases make it 36 points wide.

Try it · The sticker and the test driveCapstone · 01_audit.py, 04_rebuild.py · simulated

A used car with “92/100” in the window: before you buy it, you get it inspected, then you test-drive it on the roads you actually use. The road under the car is the mix of tickets it was scored on, each stretch as wide as that kind's share; the number on it is the pass rate on that stretch.

92%simple 78.5%94%multi-request 16.0%91%angry5.5%no Spanish stretch (5.2% of traffic)

Scored mostly on the easy stretch: 157 of 200 cases (78.5%) are simple tickets, against 42.2% of real traffic. Every kind reads about 92%, as graded by the cheap judge the prompt was tuned against. Spanish was never driven.

Per kind of ticket: the old number and the rebuilt one, each with its 95% range

40%50%60%70%80%90%100%Simple157 → 1,309 casesMulti-request32 → 1,037 casesAngry11 → 593 casesSpanish0 → 161 casesnot measuredOverall200 → 3,100 cases
old eval: cheap judge, as reported (Wilson range) rebuilt: large judge, corrected (bootstrap range)

The old eval drew every kind at about 92%, near its headline. The rebuild doesn't: simple 85.6%, multi-request 70.7%, angry 74.1%, Spanish 54.1% (44.0–63.1%, the loosest range: only 161 tickets). Tick the box to see the truth the simulation knows.

One last check that doesn't share the judge's weaknesses: the 200 people-only tickets. They say 78.5% (72.3–83.6%). The gap from the judge-based 76.8% is +1.7 points, well inside what the two ranges allow together (the lab's rule: within the square root of the sum of the two half-widths squared, about 6 points here). Consistent, so the judge isn't being gamed. Keep this set out of every tuning loop, or it stops being a check.

The audit, rerun on the rebuild, finds no ✗. Two honest ⚠: 59% of the cases repeat another's wording, because real traffic repeats itself (keep them: removing them would distort the mix), and one run per case. And one ?: failures still aren't sorted into kinds.

What the number means

Script 5 writes what a reader actually gets: reports/summary.md, one page, and reports/experiment_log.md, each step's question, design, expectation and result. Neither uses the answer key. The summary leads with the new headline next to the old one:

  • The new headline: on recent real tickets, the summarizer writes a correct summary about 77% of the time (74–79%). The people-only check agrees.
  • Why the old one was too high, biggest reason first: three in four cases were model-written, and those are easier; the grader was lenient and was the prompt's tuning target (it passed about 54% of the summaries people failed); 10 cases were copied from the tuning log; Spanish had no cases; the mix was wrong.
  • Per kind, old and new side by side.
  • What it covers: tickets like those from June to September 2026, in their real mix, graded against the written rubric.
  • What it doesn't: reliability. Each ticket ran once, so it's a pass@1 number; whether the same ticket gets a correct summary every time isn't measured (Chapter 5). And Spanish is measured only loosely (44–63%).
  • Keeping it true: rerun the 3,100 cases every release with 100 fresh labels (about $259); never tune a prompt against the judge or the people-only set; draw fresh tickets and repeat the audit each quarter.

The "doesn't cover" part matters most: it stops the next person from turning 77% into another unexamined headline.

What to do

  1. Audit before you quote. For any headline, ask where the cases came from, who graded them and whether anyone checked the grader against people, what's missing from the mix, how old the data is, and how many runs each case got. A "?" is an unknown risk, not an absent one.
  2. Fix what you can, and keep the range honest. Remove leaks, correct for the judge with calibration labels and an interval that carries their error, reweight to the real mix, and give unmeasured kinds a 0–100% range. If the range explodes, that's the answer: rebuild.
  3. Size for the margin you need, planning at 50% when you don't know the pass rate.
  4. Price graders by the margin they reach, including the judge's J, the calibration labels and how many releases the eval will run.
  5. Write the design and a stopping rule down before the run, and keep a people-only check that no one tunes against.
  6. Report what the number covers and what it doesn't, per kind, next to the old number.

Caveats

  • It's a simulation. The tickets, the summarizer's rule, perfect human graders and both judges' error rates are made up so the truth is known. The numbers show the method, not facts about any model or team.
  • The answer key's split depends on the order. Script 2 takes the problems out as judge → leaks → model-written → mix → Spanish. In that order the model-written tickets look like the biggest break (+9.3) and the mix a small one (+0.3); mix first, they're +3.4 and +5.0. Both orders are shown here.
  • Script 2's reweighting step can't show the eval's mix problem. It reweights the 40 real tickets, already near the traffic mix, so it moves 0.7 points; the eval's real mix problem (78.5% simple cases) is inside the "real tickets only" step.
  • The large judge's plan uses the simulation's own inputs. Its assumed TPR and TNR (0.95 / 0.88) are exactly how the lab built it, so its measured J (0.83) clears the 0.75 stopping line by construction. With a real judge the calibration could come in lower, and the stopping rule would trigger.
  • "Impossible" for the cheap judge is a best case. The ±3.6 assumes all 5,800 tickets are judged and labelled by people for calibration, at which point you wouldn't need the judge.
  • People grade perfectly here. Real labelers disagree and drift (Chapter 7), which would widen every range that uses their labels.

The checklist

  1. What does a headline score claim, and which links in that claim can break?
  2. Why did the honest estimate from the original eval have such a wide range?
  3. Why can a cheap judge be the most expensive way to grade?
  4. Why write the design down before running the eval?
  5. How do you know the rebuilt number is right, without an answer key?
  6. What should a one-page summary of an eval say?

Practice: audit the 92% and plan the rebuild

Write the capstone's math: a judge's skill score J, the planned margin of a judge-graded eval (corrected_margin), the all-traffic range when a kind has no cases, reweighting to the traffic mix, the answer key's waterfall, the cost of people and of a judge over a year of releases, the cheapest judge design that meets ±3, and the people-only consistency check. The tests use the lab's recorded numbers: J 0.42 and 0.83, ±3.6 for the cheap judge with all 5,800 tickets, 42.4% at the low end with Spanish unmeasured, 76.8% reweighted, the waterfall in both orders, $26,217 against $6,357, 3,100 cases and 950 labels, and 78.5% against 76.8%.

Try it · Practice in PythonRuns in your browser · ⌘/Ctrl + Enter to run
audit_practice.py114 lines

Quiz

Try it · Check your understanding0 of 6 answered
  1. 1.The dashboard says 92.0%, with a 95% range of 87.4–95.0%, from 200 cases. What does that range account for?

  2. 2.To correct the lenient judge, people labelled 100 of the eval's cases. The corrected score barely moved (90.8%), but its range opened to 67–100%. Why so wide?

  3. 3.Taking the problems out in Script 2's order, model-written tickets account for +9.3 points and the mix of kinds for +0.3. Reweighting to the real mix first gives mix +5.0, model-written +3.4. What does that show?

  4. 4.The cheap judge costs $0.002 a call, yet the plan says it can't reach ±3 points even judging all 5,800 available tickets. Why?

  5. 5.For ±3 points, people grading 1,068 cases cost $2,674 for the first run and $26,217 over 12 monthly releases. The large judge: $3,509 and $6,357. Which should the team pick?

  6. 6.The rebuilt eval says 76.8% (74.1–79.4%). A real team has no answer key. How can it tell the number isn't badly wrong?

Check your understanding

Try each question before opening its answer.

What does a headline score claim, and which links in that claim can break?

"92%" claims that on the traffic you care about, about 92% of outputs would be judged good by people who know what good means. Three links can break: the cases may not look like the traffic (model-written, leaked, stale, a missing kind), the grader may not judge like people (lenient, unchecked, tuned against), and the sample may be too small. The 92% broke at all three: three in four cases were model-written, Spanish was missing, 10 cases were leaked, and the judge, the prompt's tuning target, passed about half the summaries people failed.

Why did the honest estimate from the original eval have such a wide range?

Because every correction trades bias for uncertainty, and the eval had little real information to spend. Correcting the judge needs summaries people failed, to measure how often it catches them: 100 labels held only 13. Keeping only real cases left 40. And Spanish had none, so its share could be anything. The result: somewhere between 42% and 100% for all traffic. That's the finding, not a failure of the method: the eval can't support a number, so it has to be rebuilt. The corrected point estimate alone, 86%, was eleven points above the truth.

Why can a cheap judge be the most expensive way to grade?

Because its corrected pass rate divides by its skill score J = TPR + TNR − 1. The cheap judge's J is 0.42: it magnifies every error about 2.4× and needs about six times the cases of a perfect grader, plus labels to measure it. It couldn't reach ±3 even with all 5,800 tickets. The large judge (J 0.83) needs 3,100 cases and 950 labels. Compare graders by cost per unit of certainty, and by how often the eval reruns: people were cheapest for one run ($2,674 against $3,509), the large judge over 12 releases ($6,357 against $26,217).

Why write the design down before running the eval?

So that nobody, including you, can steer it toward a nicer number after seeing results. Case counts, the mix, the grader, the calibration size, the people-only check and the stopping rule all move the result. Fixed in advance, each with a reason, they make the result believable; changed afterwards, they're another round of tuning against the metric. If the plan turns out wrong mid-run, use the stopping rule written into it (here: the judge's J below 0.75 means more labels or people), and log any other change with its reason.

How do you know the rebuilt number is right, without an answer key?

Check it in ways that don't share its weaknesses. A held-out set graded only by people and never used for tuning or calibration: 78.5% (72.3–83.6%) against the judge-based 76.8%, consistent. The judge's catch rates measured on its calibration labels, and whether J cleared the stopping line (0.83 against 0.75). And the audit rerun: no blocking problems, only honest caveats. None of these proves the number; together they make it hard for it to be badly wrong without something disagreeing. 200 people-only tickets give about ±6 points, enough to catch a judge that drifted by 10 or more.

What should a one-page summary of an eval say?

Lead with the new number and its range, next to the old one. Then why they differ, in plain words, biggest reason first; results per kind of ticket; what the number covers and what it doesn't (the traffic period, the rubric, one run per case rather than reliability, kinds measured only loosely, like Spanish at 44–63%); and how it's kept true (what reruns every release, what's never tuned against, when the data is refreshed). The "doesn't cover" part matters most: it stops the next person from turning the new number into another unexamined headline.

Next up: Prompt style: easier to read, not better. A new prompt style makes the answers easier to read. Does that make them better, and how would you tell?

Learning something useful?

New labs, articles, and videos on evaluating and testing AI systems come out regularly. Follow along so you don't miss the next one.