Key takeaways
- ✓A rubric is the list of questions you grade with; each question is a criterion, and a label is one person's pass or fail on one item. Before trusting a score built from labels, have two people label the same items and measure how often they agree.
- ✓Raw agreement overstates it. On the team's "professional" criterion, two simulated colleagues agreed on 70% of 60 summaries, but labeling at random with their own pass rates (92% and 72%) would already agree 68% of the time. Cohen's kappa measures agreement above chance: (70 − 68) ÷ (100 − 68) = 0.06. All four of the team's criteria scored below 0.2.
- ✓Low kappa points to an unclear criterion, not a careless person. On "complete" the two split on 25 summaries: in 17, one failed a missing next step and the other a missing order number. Each was consistent, with a different rule.
- ✓Write criteria from observed failures, not from a meeting. 45 notes on 50 summaries fell into 7 groups (no next step 11, missing order number 9, forgotten request 7, …). A rubric brainstormed before reading (tone, bullet points, the customer's name, a word limit, grammar) covered 9 of the 45.
- ✓Specific pass/fail criteria with a pass example, a fail example and decided borderline cases raised kappa to 0.71–0.95 on the four content criteria. Tone stayed at 0.14 despite 87% raw agreement: almost everything passes, so chance alone gives 84.5%, and the few summaries with a judgmental line decide it.
- ✓Reliable isn't valid. The word limit had kappa 1.00 (it's a count: make it a code check), yet summaries that pass it were rated 0.63 points lower by the team lead (interval −1.35 to +0.09, not proven). "No unsupported facts" was clearly valid: +2.12 (+1.42 to +2.67). Long summaries rated 4.06 when not padded, 2.50 when padded.
- ✓Labelers drift. Re-labeling the same 20 summaries, one colleague's tone pass rate slid from 85% to 75% to 70% over six weeks with no change to the summaries. Keep a fixed anchor set with the borderline cases and re-label it on a schedule.
We have an AI that reads each customer support chat and writes a short summary for the next agent. To measure how good the summaries are, two colleagues graded the same 60, pass or fail, with the team's checklist of four words: accurate, complete, concise, professional. On each word, they gave the same label to 58–70% of the summaries. That sounds like they mostly agree. But much of that agreement would happen by pure chance, and once chance is taken out it's barely above zero. Every chapter so far took "pass" as given. This one asks where "pass" comes from when an answer has no single right version: how to write a rubric two people apply the same way, how to tell agreement from luck, and how to check that the rubric measures what you care about.
The examples come from Lab 08 (Rubric Design) of the eval labs: 01_error_analysis.py (where criteria come from), 02_agreement.py (do two people apply the rubric the same way?), 03_validity.py (does each criterion measure quality?) and 04_drift.py (does a labeler's standard shift over time?), with the agreement math in the lab's evalkit/agreement.py. The video skips Script 4, the brainstormed-rubric comparison and the check against the planted flaws; they're covered here. The lab's last script, 05_label_yourself.py, is interactive (you label summaries yourself in a terminal), so it isn't run here. Everything in this lab is simulated (make_data.py): the 60 chats and summaries, the flaws built into them, the two colleagues' labels and the team lead's ratings. The colleagues aren't random: each follows their own reading of each criterion, plus a small chance of a slip. That's what makes their disagreements realistic, and it's why we can show exactly why they disagree.
Four words used throughout. A rubric is the list of questions we grade with. Each question is a criterion. A label is one person's answer for one summary on one criterion: pass or fail. The two colleagues are A and B, as in the lab's files (the video calls them Amir and Beth). The lab numbers the summaries s01 to s60; an id like "s02" below is just that number. The team's four-word rubric is v1; the rewrite later in the chapter is v2.
Agreement by chance
Here's one summary, s02 (the lab's second): a customer named Jordan wants a refund of $48, an exchange for size L and a tracking update. The summary lists all three and the order number, but not what the next agent should do. Under v1, A and B disagree on two of its four criteria: A fails it on "complete", B passes it; B fails it on "professional", A passes it. The whole definition of each criterion is one sentence: "The summary is complete."
How much should two people agree before it means anything? Picture two teachers grading the same essays. One passes almost every essay; the other passes most. Even if neither reads a word, they'd agree on many essays, just because both say pass so often. On "professional", A passes 55 of the 60 summaries (92%) and B 43 (72%). If they labeled at random at those rates, they'd both say pass 92% × 72% ≈ 66% of the time, and both say fail 8% × 28% ≈ 2%: 68% agreement by chance alone. They actually agreed on 70%.
Agreement, 0 to 100%: grey = chance alone, green = above chance
If A passes 92% at random and B 72% at random, they both say pass 65.7% of the time and both say fail 2.4%: they agree on 68% without reading a word. On "Professional", A and B gave the same label to 42 of 60 (70%). Kappa = (70% − 68%) ÷ (100% − 68%) = 0.06: the share of the room above chance they actually used.
The squares are areas: A's pass rate across, B's down. Pass counts are colleague A and B's on 60 simulated summaries (Lab 08, 02_agreement.py). Try both at 60 of 60: chance is 100%, and kappa can't say anything.
Cohen's kappa (κ, "kappa") measures that gap: how much more two people agree than chance would, as a share of the room above chance. Zero means no better than chance; one means they always agree. Here it's (70 − 68) ÷ (100 − 68) = 0.06. With the exact pass rates the lab gets the same 0.06. All four of the team's criteria score below 0.2, which the lab reads as "poor":
| v1 criterion | Same label | By chance | Kappa | 95% interval | Pass rate A / B |
|---|---|---|---|---|---|
| Accurate | 67% | 59% | 0.18 | −0.08 to 0.43 | 73% / 70% |
| Complete | 58% | 54% | 0.10 | −0.15 to 0.35 | 68% / 60% |
| Concise | 63% | 56% | 0.16 | −0.03 to 0.37 | 58% / 88% |
| Professional | 70% | 68% | 0.06 | −0.12 to 0.28 | 92% / 72% |
The interval is a 95% confidence interval (Chapter 1: a range that should contain the true value 95 times in 100), built with a bootstrap (Chapter 5: resample the 60 summaries with repeats, 2,000 times, and keep the middle 95%). Every v1 interval includes zero. The pass rates already hint at the cause: on "concise", A passes 58% and B 88%. They aren't reading the same rule.
Same word, two rules
Why do they disagree? Read two summaries they split on for "complete". Summary s02 above has the order number but no next step: A fails it, B passes it. Summary s04 (a customer named Tom who wants an exchange for size 9) has a next step but no order number: now A passes it and B fails it.
Neither is careless. Both fail a summary that forgets a request. But A also fails a missing next step, and B a missing order number. They split on 25 summaries: in 8, A failed a missing next step that B passed; in 9, B failed a missing order number that A passed; the other 8 are random slips. So 17 of the 25 come from that one difference.
So a low kappa means the criterion is unclear, not that someone is careless. In the meeting about the disagreements, the useful question isn't "who was right?" but "what change to the rule would have made us agree?". The lab records each answer in the v2 rubric as why_changed: "accurate" had A failing wrong amounts and B failing missing order numbers; "concise" meant length to A and repetition to B; B had been failing a missing next step as "unprofessional", A as "incomplete".
Criteria come from failures
Where do better criteria come from? Not from a meeting. Read about 50 outputs and write one short note per problem, in your own words, while reading. Researchers call that open coding. Then group similar notes, called axial coding; each group can become a criterion. (This is the error analysis behind the failure modes of Chapter 4, the types of failure.)
One summary from the lab, s39: it says the customer would accept store credit. The customer never said that. And it dropped the customer's request to change the delivery address. The reviewer's two notes: "where does 'Customer mentioned they'd accept store credit' come from? not in convo" and "forgot the address request".
The reviewer wrote 61 notes on the first 50 summaries. 16 were "fine"; the other 45 fell into seven groups (Script 1 groups them with keyword rules, first match wins):
| Failure group | Notes |
|---|---|
| No next step | 11 |
| Missing order number or amounts | 9 |
| Missed a request | 7 |
| Judgmental tone | 5 |
| Wrong detail (3 amounts, 2 order numbers) | 5 |
| Padding or repetition | 4 |
| Invented fact | 4 |
Notice what's not here: grammar, bullet points, the customer's name. Nobody's summaries failed that way. The script then takes a rubric a team might write in a meeting before reading anything (professional tone, uses bullet points, mentions the customer's name, under 50 words, correct grammar) and maps it to these groups. It covers 9 of the 45 failure notes: tone (5) and padding (4). Three of its five criteria match no failure at all, and it misses every invented fact and wrong detail, the failures that matter most.
The rewritten rubric
The team rewrote the rubric from those groups and from the disagreements. Each criterion is now specific ("every separate thing the customer asked for is in the summary", not "complete"), pass/fail with one clear line, and illustrated with a pass example, a fail example and a borderline case already decided. "Complete" became two criteria: every request listed, and the next step stated. The lab's files name the six v2 criteria with ids such as no_unsupported_facts; below they're in plain words.
Same 60 summaries, same two colleagues:
| v2 criterion | Same label | By chance | Kappa | 95% interval | Pass rate A / B |
|---|---|---|---|---|---|
| No unsupported facts | 92% | 63% | 0.77 | 0.57 to 0.93 | 78% / 73% |
| Every request listed | 92% | 71% | 0.71 | 0.42 to 0.93 | 83% / 82% |
| Order number and amounts | 95% | 69% | 0.84 | 0.62 to 1.00 | 80% / 82% |
| Next step stated | 98% | 67% | 0.95 | 0.81 to 1.00 | 78% / 80% |
| Neutral tone (was "professional") | 87% | 84.5% | 0.14 | −0.09 to 0.50 | 95% / 88% |
| Under 50 words (was "concise") | 100% | 54.5% | 1.00 | 1.00 to 1.00 | 65% / 65% |
On the four content criteria, kappa jumped to 0.71–0.95. Switch between the rubrics below and pick a criterion to see its definition and the two colleagues' labels.
Each bar: agreement from 0 to 100%. Grey = what chance alone gives; green = agreement above chance. κ = kappa.
Complete
“The summary is complete.”
That one sentence is the criterion's whole definition.
A passes 41 of 60, B 36. They split on 25 summaries. 8 are A failing a missing next step that B passed, 9 are B failing a missing order number that A passed, and 8 are random slips. One word, two rules. The lab reads this kappa as “poor”.
The interval is the lab's bootstrap (resampling the 60 summaries, 2,000 times): 60 items is a small agreement study. Readings: under 0.2 poor, 0.2–0.4 weak, 0.4–0.6 moderate, 0.6–0.8 substantial, 0.8 and up strong.
Note how wide the intervals still are: "every request listed" at 0.71 could be anywhere from 0.42 to 0.93. Sixty items is a small agreement study. The lab's rough guide is 0.6 or more ("substantial") for criteria that gate a release.
Agreeing isn't the same as being right, so Script 2 also checks the v2 labels against the flaws built into the simulated summaries, which only a simulation knows. On the content criteria both colleagues match them on 57 to 60 of 60 summaries (95–100%). Tone is the weakest, 55 of 60 (92%) for each.
The tone trap
On tone the two gave the same label to 87% of summaries (52 of 60), yet kappa is only 0.14. Remember the two teachers: when almost every essay passes, they agree by default. Here A passes 57 summaries and B 53, so chance alone gives (57 × 53 + 3 × 7) ÷ 3,600 = 84.5%. When almost everything passes, the few that might fail decide kappa.
Six summaries have a judgmental line about the customer:
| Line in the summary | A | B |
|---|---|---|
| "Customer insisted on this repeatedly." (s09) | pass | pass |
| "Customer kept pushing for a quick answer." (s18) | pass | fail |
| "Customer kept pushing for a quick answer." (s23) | fail | pass |
| "Customer was rude and unreasonable throughout." (s29) | fail | fail |
| "Customer was rude and unreasonable throughout." (s31) | pass | fail |
| "Customer insisted on this repeatedly." (s53) | pass | fail |
They both failed just one of the six and split on four. Their other four disagreements are slips on summaries with no tone problem at all. Is "the customer insisted on this repeatedly" judgmental? The v2 rubric calls it borderline and says only: "describe what they did, not how it felt. Discuss these." The fix is another round: decide each borderline case together and add it to the rubric as an example.
For a rare label, look at it directly too: of the items either person failed, how many did both fail? Report raw agreement, kappa and each labeler's pass rate together.
Reliable isn't valid
The criterion they agree on perfectly is "under 50 words": kappa 1.00. Of course: it's a count, and a count doesn't need a person. Make it a code check.
But agreeing on something doesn't mean it measures quality. People applying a rule the same way is reliability; the rule measuring what you care about is validity. To check validity, the team lead rated every summary from 1 to 5 overall (also simulated). Do summaries that pass a criterion get better ratings? Script 3 takes colleague A's v2 labels and computes the lead's average rating of passing summaries minus failing ones, with a bootstrap interval:
| v2 criterion | Pass / fail | Rating gap | 95% interval | Reading |
|---|---|---|---|---|
| No unsupported facts | 47 / 13 | +2.12 | +1.42 to +2.67 | valid |
| Every request listed | 50 / 10 | +1.26 | +0.48 to +2.03 | valid |
| Order number and amounts | 48 / 12 | +0.23 | −0.51 to +1.02 | unclear |
| Next step stated | 47 / 13 | +0.35 | −0.27 to +0.99 | unclear |
| Neutral tone | 57 / 3 | +0.02 | −1.71 to +2.45 | unclear (3 failures) |
| Under 50 words | 39 / 21 | −0.63 | −1.35 to +0.09 | leans the wrong way |
For "no unsupported facts", passing summaries are rated about two points higher. For the word limit it goes the other way: passing summaries are rated lower. With only 60 summaries the interval just crosses zero, so that isn't proven. But here's why it happens.
Under 50 words: summaries that pass are rated 3.13 on average, those that fail 3.76. The 95% interval for the gap is −1.35 to +0.09. It leans the wrong way: passing summaries are rated lower. The interval just crosses zero, so it's not proven. Being the most reliable criterion (kappa 1.00) says nothing about quality.
Colleague A's v2 labels against the lead's overall rating, both simulated. Interval: the lab's bootstrap (4,000 resamples of the 60 summaries). Dot = gap; line = 95% interval; dashed line = no difference.
Split the summaries by length. The 39 of 50 words or fewer average 3.13. The 17 over 50 words that aren't padded average 4.06. The 4 that are long because they repeat the chat average 2.50 (3 of those 4 also carry another flaw, so padding isn't the only reason). All nine summaries rated 5 are over 50 words. The script's example is s35, 67 words, rated 5: a customer wants the address changed, a refund of $89 and the rest of the order cancelled, before a trip on Saturday, with every next step. The word limit fails it. A word count can't tell useful detail from padding, so check padding directly ("no repeated or filler sentences").
"Unclear" isn't "invalid". Tone has only 3 failing summaries, so its gap can't be pinned down. For those rows, label more, or keep the criterion on judgment if a failure is unacceptable anyway: a rude summary is a problem whatever the lead's average says.
Script 3 ends with a decision per criterion: keep the two valid ones; label more for order number and next step (clear, but unproven); rewrite tone (add borderline examples, measure agreement again); replace the word limit. It also checks that no two criteria are copies of each other: the most similar pair has kappa 0.20, so none is redundant.
Labelers drift
One more way a rubric fails: the same person stops applying it the same way. People's standards shift as they read more outputs; that's criteria drift. Script 4 has colleague A re-label tone on the same 20 summaries in weeks 1, 3 and 6. These 20 are an anchor set: a fixed group of items re-labeled on a schedule, chosen to include every summary with a judgmental line.
| Week | Pass rate | Labels changed since week 1 | Kappa vs week 1 |
|---|---|---|---|
| 1 | 85% (17 of 20) | 0 | — |
| 3 | 75% (15) | 2 | 0.69 |
| 6 | 70% (14) | 3 | 0.58 |
Nothing about the summaries changed. A's standard did. The three flips all went from pass to fail: two summaries with "Customer insisted on this repeatedly." (one by week 3, one by week 6) and one with "Customer kept pushing for a quick answer." (by week 3). Without the anchor set, a falling pass rate would look like the summarizer getting worse. When labels move, discuss the flips, add them to the rubric as examples, and check whether past labels need a second look.
What to do
- Read outputs before writing criteria. About 50, one short note per problem, then group the notes. Write criteria for the groups that matter.
- Make each criterion specific and pass/fail, with a pass example, a fail example, and the borderline cases decided.
- Have two people label the same items and report kappa, raw agreement and each person's pass rate, not raw agreement alone.
- Treat low kappa as an unclear rule. Read the disagreements, ask what change to the rule would have made you agree, rewrite, and measure again.
- When almost everything passes, look at the rare label directly: how many of the items either person failed did both fail?
- Turn counts and patterns into code checks (word counts, an order number present).
- Check each criterion against an independent overall judgment. Replace the ones that point the wrong way; label more for the unproven ones.
- Keep an anchor set with the borderline cases and re-label it on a schedule.
Caveats
- Everything is simulated. The summaries, the colleagues and the lead's ratings come from
make_data.py. Real labelers disagree for messier reasons, but the mechanisms (vague words, rare labels, drift) are the same. - Small study, wide intervals. With 60 summaries a kappa of 0.71 has an interval of 0.42 to 0.93, and most validity gaps can't be told from zero. Treat the numbers as directions.
- Not every disagreement is a different rule. On "complete", 17 of 25 splits come from the two readings and 8 are random slips. On tone, 4 of the 8 splits are slips on summaries with no tone problem.
- Validity is checked against one simulated person's rating and colleague A's labels. With a real system, use an independent outcome you trust (the lead's rating, whether the next agent had to re-read the chat, escalations).
- The drift labels are a separate draw. Colleague A's week-1 anchor labels differ from A's v2 tone labels on three summaries (s18, s23, s31); the lab generates them independently. The drift result compares week 1 with weeks 3 and 6, so it's unaffected.
The checklist
- Where did the criteria come from: observed failures, or a meeting?
- Is each criterion specific, pass/fail and illustrated with pass, fail and borderline examples?
- Did two people label the same items, and what's the kappa, not just the raw agreement?
- For a low kappa, which rule did each person follow? What change would make them agree?
- Is one label rare? Then check agreement on the rare items directly.
- Which criteria are really counts or patterns, and are they code checks?
- Does passing each criterion go with a better overall judgment? Which are valid, which unproven, which backwards?
- Is there an anchor set, and when was it last re-labeled?
Practice: measure agreement and validity
Write the lab's rubric math: group review notes with Script 1's keyword rules, count the four agreement cells, raw and chance agreement, Cohen's kappa (with the lab's rule when everything gets one label), the rating gap that checks validity, the three length groups, and how many anchor labels changed. The tests use the lab's recorded data: 45 failure notes in 7 groups, "professional" at 70% against 68% by chance (kappa 0.06), the tone trap's exact 84.5%, the word limit's −0.63, and the drift kappas 0.69 and 0.58.
Quiz
1.Two colleagues label 60 summaries on one criterion and agree on 70% of them. One passes 92% of all summaries, the other 72%. How much of that agreement would chance alone give?
2.On the team's "complete" criterion, kappa is 0.10. Reading the 25 disagreements shows one colleague fails summaries without a next step and the other fails summaries without an order number. What's the fix?
3.Where should a rubric's criteria come from?
4.On the rewritten tone criterion the two colleagues agree on 87% of summaries, yet kappa is 0.14. Why?
5.Both colleagues apply "under 50 words" identically (kappa 1.00). What does that tell you about whether it measures summary quality?
6.A colleague's pass rate on tone falls from 85% to 70% over six weeks. How do you tell whether the summarizer got worse or the colleague's standard moved?
Check your understanding
Try each question before opening its answer.
What are a rubric, a criterion and a label?
A rubric is the list of questions you grade outputs with. Each question is a criterion, like "every request is listed". A label is one person's answer on one item for one criterion: pass or fail.
Why can 70% agreement mean almost nothing?
Because chance gives a lot of it. When both people pass most items, they agree often even at random: on "professional", pass rates of 92% and 72% give 68% by chance. Kappa measures agreement above chance as a share of the room left: (70 − 68) ÷ (100 − 68) = 0.06.
Two colleagues have kappa 0.10 on "complete". Who's wrong?
Probably neither: the criterion is unclear. Reading the 25 disagreements showed one failing summaries without a next step and the other summaries without an order number; 17 of the 25 came from that difference. Split the vague word into specific rules with examples and measure again.
Why not write the rubric in a planning meeting?
Because a meeting lists what people expect to go wrong. In the lab, a brainstormed rubric covered 9 of 45 observed failure notes; three of its five criteria (bullet points, the customer's name, grammar) matched no failure, and it missed every invented fact and wrong detail. Read about 50 outputs, note each problem, group the notes.
Tone has 87% agreement and kappa 0.14. What's going on, and what do you do?
Almost every summary passes tone, so chance alone gives 84.5% agreement. What's left to agree on is the handful of summaries with a judgmental line, and of those 6 the colleagues both failed just 1 and split on 4. Decide each borderline case together and add it to the rubric as an example.
What's the difference between a reliable criterion and a valid one?
Reliable: people apply it the same way (high kappa). Valid: passing it goes with better outputs. The word limit was perfectly reliable (kappa 1.00) but leaned the wrong way against the lead's overall rating (−0.63), because the best summaries were long and detailed (4.06) while padded ones were rated 2.50. You need both.
A criterion's rating gap is +0.02 with an interval from −1.71 to +2.45. Drop it?
Not on that evidence. It's unproven, not invalid: only 3 of 60 summaries fail tone, too few to measure a gap. Label more, or keep it on judgment if a failure is unacceptable anyway.
How do you catch a labeler's standard drifting?
Keep a fixed anchor set of about 20 items, including the borderline ones, and re-label it on a schedule. In the lab, one colleague's tone pass rate on the same 20 summaries slid from 85% to 70% over six weeks, and kappa against their own week-1 labels fell to 0.58. Without the anchor set it would have looked like the summarizer getting worse.
Next up: Chapter 8, metrics without a reference answer. A rubric needs people to apply it; which automatic scores can stand in for them when there's no single right answer, and how do you check each against human judgment before trusting it?