question: After the support lead gives the same 20 corrections to both reply agents, which one follows them better on new tickets?
arms:
method: support-reply.method
plain: {agent: claude, instructions: plain-instructions.md}
difference: How a correction changes the agent.
inputs: [tickets/t-201.json, tickets/t-202.json, tickets/t-203.json]
teaching: [teach/t-101.json, teach/t-102.json, teach/t-103.json, teach/t-104.json]
about_inputs:
noun: ticket
description: Three new tickets that the corrections never saw.
teaching_description: Four past tickets that the support lead corrected.
names: {tickets/t-201.json: Cracked lamp, tickets/t-202.json: Parcel not moving, tickets/t-203.json: Late return}
labels_by: The support lead wrote each new ticket's checklist from the replies she sends; nobody else checked them.
deliverable: work/reply.md
treatment:
seed: 7
checkpoints: [0, 5, 10, 15, 20]
events:
- {input: teach/t-101.json, correction: "It needs to ask for one photo of the damage first, because we approve a damaged-item refund only with a photo.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-101.json, correction: "It needs to say the money goes back to the card that paid, because customers ask where the refund goes.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-102.json, correction: "It needs to say that 7 days with no movement counts as lost, because that is our rule and it ends the waiting.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-102.json, correction: "It needs to leave out the carrier's phone number, because we handle the carrier ourselves.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-101.json, correction: "It needs to leave out store credit, because we offer it only when the customer asks for it.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-102.json, correction: "It needs to say we send a replacement now, because a lost parcel is replaced without more waiting.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-104.json, correction: "It needs to check the date against the 30-day limit, because refunds stop 30 days after delivery.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-103.json, correction: "It needs to say the address can change only until the label is printed, because after that we cannot stop it.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-101.json, correction: "It needs to call the item what the customer called it, because our product codes mean nothing to them.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-102.json, correction: "It needs to apologize once, in the first sentence, because repeated apologies read as a script.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-104.json, correction: "It needs to promise only what the articles allow, because an exception we cannot keep makes a second complaint.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-103.json, correction: "It needs to ask for the new address in full, because a partial address delays the change.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-104.json, correction: "It needs to stay under 120 words, because customers read replies on their phones.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-104.json, correction: "It needs to give the refund time as 5 business days after approval, because that is when the bank shows it.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-102.json, correction: "It needs to stop asking the customer to wait longer, because 7 days is already the limit.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-103.json, correction: "It needs to say express shipping takes 1 to 2 business days, because the customer asked how fast it can be.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-104.json, correction: "It needs to name the order number the customer gave, because it shows we found the right order.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-102.json, correction: "It needs to give the replacement's shipping time as 3 to 5 business days, because customers plan around it.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-104.json, correction: "It needs to say no when the articles say no, because a vague maybe makes the customer write again.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
- {input: teach/t-101.json, correction: "It needs to end with one clear next step, because a reply without one gets a follow-up question.", source: {kind: person, who: the support lead, expert: true, about: "Her weekly review, word for word."}}
expected:
tickets/t-201.json: expected/t-201.json
tickets/t-202.json: expected/t-202.json
tickets/t-203.json: expected/t-203.json
measure:
name: corrected items right
description: For each new ticket, the share of its checklist items, already covered by a correction, that the reply meets.
checklist: expected
covered: true
other_measures:
- name: all items right
description: For each new ticket, the share of all its checklist items that the reply meets.
checklist: expected
rule:
margin: 0.1
min_runs: 2
at: 20
guard: {measure: all items right, max_drop: 0.05}
runs: 2
assumptions:
- text: The judge marks the checklist the way the support lead would.
if_false: The scores show the judge's taste, not the support lead's.
check: The support lead marks 10 verdicts on the run pages.
- text: The checklist items are what the support lead requires.
if_false: An agent can win by following the wrong rules.
check: The support lead reviews the 14 corrected items before the full run.
- text: The corrections and the checklist come from the same support lead, so both agents are told what the test checks.
limit: true
notes:
inputs: [Each ticket runs alone with an empty work folder.]
treatment: [The corrections come from the support lead's notes on four past tickets.]
questions:
- show:
- "After each past ticket, each agent gets one correction, such as:"
- quote: It needs to ask for one photo of the damage first, because we approve a damaged-item refund only with a photo.
- quote: It needs to apologize once, in the first sentence, because repeated apologies read as a script.
ask: Does your support lead correct replies in words like these?
if_no: The agents learn from feedback that the support lead does not give, so the result says nothing about the support lead's corrections.
- show:
- "A new ticket says:"
- quote: My order has not moved for a week. What now?
- "A reply gets points for each of these:"
- {file: expected/t-202.json}
ask: Is this what a good reply to this ticket must do?
if_no: An agent can win by following rules that the support lead does not have.
- show:
- "The plain Claude Code agent starts from these instructions, the same words as the Method agent's prompt:"
- {file: plain-instructions.md}
ask: Is this a fair start for plain Claude Code?
if_no: The Method agent can win by a better start, not by following corrections better.
decided_by_you: [arms]