An exercise to try
Settle a grading disagreement
When two careful graders disagree, the cause decides the fix. Sorting each disagreement into one of three causes stops you rewriting rules that were never the problem.
- Time
- 15 minutes
- What you need
- This page and a place to write. No chatbot or code is needed.
Illustration. The library notice, answers, graders and labels here are invented teaching material, not outputs from a model or a study of real graders.
The notice and the rules
A public library runs an AI assistant that answers patrons' questions from a notice and cites the passage behind each claim. The notice has grown to six passages:
D1. Returns. The outdoor book drop accepts returns every day. The library desk is closed on Sundays.
D2. Fees. Borrowed books have no late fees. Lost books can incur replacement charges.
D3. Opening hours. The library desk is open Monday to Saturday, 9 am to 6 pm. It is closed on Sundays and public holidays.
D4. Renewals. A borrowed book can be renewed twice, for two weeks each time, unless another member has reserved it.
D5. Lost books. The replacement charge for a lost book is the price printed in the library catalogue.
D6. Membership. Membership is free for residents. Bring one photo ID to join.
The grading rules:
- Answer every part of the question.
- State the policy correctly.
- Make no material claim the notice contradicts or does not support.
- Cite a supporting passage for every claim.
An answer passes only if it passes all four. A question the notice cannot answer passes only if the answer says the notice does not cover it.
Eight answers, two sets of labels
Two graders labelled the same eight answers pass or fail, each alone, with a one-line reason. Neither saw the other's labels. Grader 1 was given the six-passage notice above, D1 to D6. Grader 2 was given a printed copy kept at the library desk, made before D6 was added, so it holds D1 to D5 only.
- DIS-01. “Can I return a book on Sunday?” Answer: “Yes, use the outdoor book drop, which accepts returns every day [D1].”
Grader 1: pass, “D1 supports it.”
Grader 2: pass, “Correct and cited.” - DIS-02. “How many times can I renew a book?” Answer: “You can renew it twice, for two weeks each time [D4].”
Grader 1: pass, “Answers what was asked; reservations were not asked about.”
Grader 2: fail, “Leaves out ‘unless another member has reserved it’, so the policy is wrong.” - DIS-03. “Do I pay a fee if my book is a week late?” Answer: “Yes, a small late fee starts after one week [D2].”
Grader 1: fail, “D2 says borrowed books have no late fees.”
Grader 2: fail, “Invented fee.” - DIS-04. “What should I bring when I become a member?” Answer: “Bring one photo ID. Membership is free for residents [D6].”
Grader 1: pass, “D6 says exactly this.”
Grader 2: fail, “There is no D6 in the notice, so the citation supports nothing.” - DIS-05. “Can I return my book on Sunday when the desk is closed?” Answer: “Yes. The outdoor book drop accepts returns every day, Sundays included [D1].”
Grader 1: fail, “Wrong: D1 says the library is closed on Sundays.”
Grader 2: pass, “The drop takes returns every day; only the desk closes.” - DIS-06. “What are the desk's opening hours?” Answer: “Monday to Saturday, 9 am to 6 pm. It is closed on Sundays and public holidays [D3].”
Grader 1: pass, “Matches D3.”
Grader 2: pass, “Complete and cited.” - DIS-07. “Is the desk open on Diwali?” Answer: “The notice does not list festivals. It says the desk is closed on public holidays [D3], so if Diwali is a public holiday where you live, the desk will be closed.”
Grader 1: pass, “Uses D3 and says what the notice does not cover.”
Grader 2: fail, “The notice does not cover Diwali, so the answer should say only that.” - DIS-08. “Can I print documents at the library?” Answer: “Yes, printing costs 10 cents a page [D2].”
Grader 1: fail, “Invents a printing charge the notice does not mention.”
Grader 2: fail, “Not in the notice.”
Step 1. Find the disagreements
List the answers where the two labels differ.
Step 2. Name the cause of each
For each disagreement, decide which of three causes it is and write one line of evidence:
- The rule is ambiguous. Both graders applied the written rule honestly and still reached different labels.
- The evidence is missing. One grader lacked something needed to judge, such as a passage, the question or the version of the notice the assistant saw.
- One grader made a mistake. The rule and the evidence were clear, and one grader misread them.
Then settle each one: pass or fail. Settling a disagreement by a final decision is called adjudication. When the rule itself is unclear, note who should make that call.
Step 3. Rewrite one rule
Pick one disagreement caused by an ambiguous rule. Rewrite that rule so the next pair of graders, working alone, would give the same label. Add one short example of a pass or a fail beside it; an example pinned to a rule like this is called an anchor.
Check your work
The graders disagree on four answers: DIS-02, DIS-04, DIS-05 and DIS-07. They agree on the other four.
- DIS-02: ambiguous rule. Rule 2 does not say whether a condition the patron did not ask about is part of “the policy”. Both readings are honest. Settled: fail, because a patron whose book is reserved would be misled. That call belongs to the librarian who owns the notice, not to whichever grader argues longer.
- DIS-04: missing evidence. Grader 2's printed copy holds D1 to D5, so Grader 2 judged correctly from the copy they had: in it, nothing supports the photo ID claim. With D6 in hand, the answer passes. The fix is to the process, not the rules: every grader gets the notice the assistant saw, with its date. The common wrong answer is to call this a grader's mistake.
- DIS-05: Grader 1's mistake. D1 closes the desk on Sundays, not the library, and the outdoor book drop accepts returns every day. Settled: pass. No rule needs rewriting; Grader 1 needs to reread D1. Rewriting a rule to cover one slip adds words and fixes nothing.
- DIS-07: ambiguous rule. The not-covered rule does not say what to do when the notice covers part of a question. Settled: pass, if the librarian agrees that a supported partial answer serves patrons better than a bare “not covered”.
Among the agreements, DIS-03 and DIS-08 both fail for an invented charge. An invented charge makes a claim the notice does not support (rule 3). When the notice has a policy on it, as D2 has for late fees in DIS-03, it also states that policy wrongly (rule 2). Either note is right; the answer fails either way.
Either ambiguous rule is a good one to rewrite. Two rewrites that would settle them:
- Rule 2: “State the policy correctly, including any condition in the cited passage that limits it. Example: a renewal answer without ‘unless another member has reserved it’ fails.”
- The not-covered rule: “If the notice covers part of a question, answer that part with its citation and say which part the notice does not cover. Example: DIS-07 passes.”
Test your rewrite: would Grader 1 and Grader 2, reading only the new rule, now give the same label? If applying it still needs a conversation, it is not done. The common wrong answer is to rewrite a rule for DIS-04 or DIS-05, whose rules were never the problem.
Try a different case
Suppose a third grader labels only the four disagreements and sides with Grader 1 on DIS-02. Decide whether that settles DIS-02.
Check this one too
It settles this one answer, not the rule. A majority vote picks a label for DIS-02, but rule 2 stays unclear, so the next answer like it will split the graders again. Votes settle cases; rewrites settle rules.
Going deeper: when agreement flatters
Raw agreement is the share of answers on which two graders give the same label. Here it is 4 of 8, or 50%. These eight were picked to show disagreements, so 50% says nothing about how often this pair agrees in general.
A high raw agreement can flatter too. Two graders who pass almost everything agree most of the time by chance alone. Here is an invented pair who labelled the same 100 answers:
| 100 answers | Grader 2 pass | Grader 2 fail |
|---|---|---|
| Grader 1 pass | 88 | 5 |
| Grader 1 fail | 4 | 3 |
- Raw agreement: 88 + 3 = 91 of 100, or 0.91.
- Grader 1 passes 88 + 5 = 93 of 100. Grader 2 passes 88 + 4 = 92 of 100.
- Agreement expected by chance, if each labelled at random at their own pass rate: 0.93 × 0.92 + 0.07 × 0.08 = 0.8556 + 0.0056 = 0.8612.
- Agreement beyond chance: (0.91 - 0.8612) ÷ (1 - 0.8612) = 0.0488 ÷ 0.1388, about 0.35.
That last number is Cohen's kappa, the usual measure of agreement beyond chance between two graders, also called inter-rater or inter-annotator agreement. A kappa of 1 means full agreement, and 0 means no agreement beyond what chance would give, as the scikit-learn documentation puts it.
Compare a second invented pair who also agree on 91 of 100 but pass only about half: both pass 46, both fail 45, Grader 1 alone passes 4 and Grader 2 alone passes 5. Their chance agreement is 0.50 × 0.51 + 0.50 × 0.49 = 0.50, and their kappa is (0.91 - 0.50) ÷ (1 - 0.50) = 0.82. The same raw agreement, and much stronger evidence that the rules are clear.
These two invented pairs are a worked example, not a measurement. To measure agreement on your own rules, two people must label the same answers independently, and the answers should be drawn the way real ones arrive, not picked for disagreement. Show the two-by-two table beside kappa, so a reader can see how few failures it rests on.
Where this sits: agreeing on grades, in the evaluations long read, and the short page on inter-rater agreement. Anthropic's guide to agent evaluations sets the bar for a well-written task: one where “two domain experts would independently reach the same pass/fail verdict”.
Read next: Build an AI judge