AI Dojo Open on the typewriterThe typewriter

An exercise to try

Would you release the new library assistant?

20 minutes
Assumes: you have sorted two versions' results into four piles, as in Compare two versions case by case.
First published 19 November 2026. Last edited 19 November 2026.

A fixed version of the library assistant is back for a second round. Check each requirement the librarian wrote in advance against fresh results, then make the call the brief asks for.

Time
20 minutes
What you need
This page and a place to write. No chatbot or code is needed.

Illustration. The library assistant, its release brief and every result here are invented teaching material, not outputs from a model.

The story so far

A public library's AI assistant answers patrons' questions from a six-passage notice and cites the passage behind each claim. Version A runs today. A first candidate, version B, was held back after it failed on questions asked in Hindi. The team fixed how it handles Hindi questions, using new Hindi practice answers, and called the result version C: shorter answers, stricter citing, same model, same notice.

The release brief, written before any result was opened

The librarian who owns the notice wrote this brief before the first round. It still applies, unchanged:

  • H1. Hard requirement. No answer states a fee or charge that the notice does not support. Allowed count: zero.
  • H2. Protected group. Questions asked in Hindi must not pass less often than under version A.
  • G1. Goal. The overall pass rate is at least as high as under version A.
  • P1. Preference, not a gate. Shorter answers.

H1 counts answers that state a fee or charge the notice does not support. An answer that leaves a charge out fails rule 1, not H1.

Why H1: a patron told about a fee that does not exist may not return a book, or may pay nothing but stop trusting the service.

Why H2: a sizeable share of patrons ask in Hindi, and the candidate's instructions were first written and tried only on English questions.

Who decides: the librarian.

The results

Both versions answered the same 50 fresh held-out cases, 20 asked in English and 30 in Hindi (shown in English). Each answer was graded pass or fail on four rules: answer every part, state the policy correctly, make no unsupported claim, cite a supporting passage. The librarian graded every answer from both versions and checked every pass against all four rules, so no passing answer states a fee the notice does not support: rule 3 would have failed it.

PileAllEnglishHindi
Both pass361422
Only A passes312
Only C passes743
Both fail413
Passed under A391524
Passed under C431825

Every case version C fails, with the question and C's answer as graded. Hindi questions and answers are shown in English.

  • R19, English, only A passes. Question: “How long can I keep a book by renewing it?” Version C: “You can renew a book twice, unless another member has reserved it [D4].”
  • R46, Hindi, only A passes. Question: “Can I renew a book I have borrowed?” Version C: “Yes, twice, for two weeks each time, unless another member has reserved it.”
  • R47, Hindi, only A passes. Question: “My book is overdue. Can I drop it off on a Sunday, and will I be charged?” Version C: “Yes, the outdoor book drop accepts returns every day [D1].”
  • R20, English, both fail. Question: “Where can I park when I visit?” Version C: “Parking is available beside the library [D1].”
  • R48, Hindi, both fail. Question: “I have lost a book. What do I have to pay?” Version C: “Borrowed books have no late fees [D2].”
  • R49, Hindi, both fail. Question: “Is there a fine if I bring a book back late?” Version C: “No. Borrowed books have no late fees [D1].”
  • R50, Hindi, both fail. Question: “Is the desk open on public holidays?” Version C: “Yes, the desk is open 9 am to 6 pm, public holidays included [D3].”

Size of the overall change: C passes 8.0 percentage points more of the cases than A. A percentage point is one hundredth of the cases, so 8 points of 50 is 4 cases. An approximate 95% range for that difference runs from about 4 points worse to about 20 points better: these 50 cases cannot rule out any difference in that range.

Only the ten cases that changed carry the difference, seven one way and three the other. The 40 cases where both versions agree cancel out.

The library notice, 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.

Step 1. Check H1 by reading

The librarian checked every pass against all four rules, so a passing answer cannot state an unsupported fee: rule 3 would have failed it. H1 can only break in an answer that failed. Read C's seven failing answers above and mark each: does it state a fee or charge the notice does not support? Then name the rule it does fail.

Step 2. Check the other requirements

For H2, G1 and P1, write met, broken or not a gate, with the count or case that shows it.

Step 3. Read the range

Write one thing the range from about 4 points worse to about 20 points better tells you, and one thing it cannot tell you.

Step 4. Decide

Write one of ship, hold or gather more evidence, and the reason in two sentences.

Step 5. Say what would change your mind

Write what you would watch if your decision stands, and the result that would reverse it.

Check your work
  • H1 met. None of C's seven failing answers states an unsupported fee. R48 says only that there are no late fees, which is true, and leaves out the replacement charge D5 sets: rule 1, not H1. R49 states correctly that there are no late fees but cites D1, the returns passage: rule 4. R47 skips the charge part of the question: rule 1. R19 drops “for two weeks each time” (rule 2), R46 has no citation (rule 4), R20 invents parking (rule 3 and the not-covered rule) and R50 contradicts D3 (rules 2 and 3), and none of them mentions a fee. Version A states no unsupported fee either.
  • H2 met. Hindi questions pass 25 of 30 under C against 24 of 30 under A.
  • G1 met: 43 of 50 against 39 of 50.
  • P1 is not a gate. R19 shows its cost: the shorter answer dropped “for two weeks each time”.

What the range tells you. The 8.0 points is the difference for this round's mix of 20 English and 30 Hindi questions. English gained 15 points and Hindi about 3, so a different mix of questions would give a different overall figure. For this mix, on 50 cases, the gain is not proven: the difference could plausibly be a loss of about 4 points or a gain of about 20. An estimate for live use would need cases drawn in the mix patrons actually ask, by language and by passage. The release call does not rest on this figure; it rests on the written requirements, checked on these 50 cases.

  • It says nothing about the gates. H1 is judged answer by answer and H2 by group, and an average can rise while a gate fails.
  • It treats the 50 cases as independent. Several ask about the same passage, so they are related. If the changes between versions tend to move together within a passage, the honest range is wider; this ledger does not record enough to say whether they do, or by how much. Anthropic's note on statistics for evaluations recommends allowing for such clusters.

Decision: ship version C. Every requirement written before the results is met: no invented fee, Hindi no worse, the overall pass rate at least as high. The brief was written first, so it decides.

What to watch. R19, R46 and R47 passed under A and fail under C. Record them as known failures, with version A's answer as the expected answer. Fix them, and only then add them to the regression suite, the cases the system already passes and reruns before every change. Two of them are Hindi and C's Hindi lead is one case, so sample Hindi answers after launch. An invented fee in that sample, or Hindi passing less often than under A, reverses the decision.

Common wrong answer: hold, because the range includes a loss. The brief asked for a pass rate at least as high on these cases, not a proven gain. A librarian who wants proof of a gain must say how large, before the results.

Common wrong answer: ship on 43 against 39 without reading the failures. The totals look the same whether or not a failing answer invents a fee. One invented fee among them would have blocked the release.

Try a different case

Suppose C's answer to R49 had said a late fee of 20 cents a day applies, citing D1. R49 still fails under both versions, so every count on this page stays the same. What is your decision now?

Check this one too

Hold. The answer now states a fee the notice says does not exist, which breaks rule 2 and rule 3, and H1 allows zero. The pile counts, the pass rates and the range are unchanged, which is why Step 1 asks you to read the failing answers rather than count them.

Where this sits: Decide: ship, hold or gather more evidence in the long read. Next step: design an evaluation for a system of your own choosing.