Agent said the refund was processed, but the money didn't move: an Agent evaluation checklist for 1,000 founders
A refund ticket exposed the pitfalls of Agent evaluation: the reply was correct and the system didn't crash, but the action was not executed. Anthropic engineer Anmol Tukrel gave 1,000 founders a method for building evals from real failures and making a decision the same day when switching models. Here we organize the cases, charts, and tools.
Anthropic engineer Anmol Tukrel gave a 43-minute talk to 1,000 founders on Agent evaluation. The opening case was direct: a customer-service Agent replied that the refund had been processed, 11 days later the customer initiated a chargeback, and the logs showed that the refund payment was never called. There were 37 similar tickets. The reply looked right, the system didn't crash, and customer feedback also took a long time to appear. This kind of failure is hard to catch by sampling a few prompts and looking at logs.
Single-turn evaluation is one question and one answer compared against a golden answer. Agent evaluation is harder because it reasons, calls tools, changes state, and loops again. Errors compound across turns. New models can sometimes notice they took the wrong branch and backtrack, but you cannot rely on luck. Checking the final text is not enough; you have to check the system's final state. Anmol's point is that if the Agent runs in a real production loop, you have to test it using the same code path, tools, and prompt, not a test copy in a dev environment. Each task also needs to be run several times; a task that passes 2 out of 3 times is itself a result you need to look at.
Build your first eval set from real failures
Anmol breaks the process into four steps: freeze the input, write assertions, cluster failures, and assemble a suite.
First, freeze the input. For the refund ticket, save the ordering account and the order state at a certain moment as a snapshot, for example order number 0712. When you rerun it next month, you are testing the Agent, not whether the underlying data changed.
Next, write assertions. If you can write code, don't reach for an LLM first. In the refund task there are two checks: a refund record appears in the database, and there is no duplicate refund. Checking only that a refund happened would let through an Agent that issues two refunds. Here you check the final state, not the wording of the reply. Wording and tone go into another evaluation set.
Then cluster similar bugs. The 258 escalated tickets clustered into 9 failure modes; put two or three tasks in each, and don't let 200 tickets with the same mode skew the eval set. The goal is to cover all the failure types you care about with as few tasks as possible. Anmol's starting point is 50 tasks; in the Q&A the range was widened to 20 to 100, adjusted by business and traffic. When you don't have enough real failures, you can use synthetic data to fill gaps, but you need to know what you are filling.
The shipping-quote case illustrates better how to break down assertions. A customer orders a 14 kg planter; over 10 kg ships at $5 per kg, and the golden answer is about $70. The Agent used $8 per kg and quoted $112. If you look only at final right/wrong, you know it is wrong; if you write assertions by reasoning step, you can see that extracting the 14 kg input was correct, choosing the shipping rule was wrong, the math was correct under the wrong rule, and the final answer was wrong. The problem is in step 2.
Use an LLM as judge, but judge the judge first
Prefer code for anything code can test. Only for things like open-ended output, tone, and brand guidelines do you bring in LLM as judge. Anmol's warning is direct: LLM as judge is powerful and also troublesome; you have to judge your judge.
The approach is to write specific rubrics, use binary yes/no where possible, and not give scores from 1 to 100. Keep the judge's context separate from the Agent's; don't let the same context both solve the task and grade it. Then take a batch of human labels and check consistency. Someone asked, if you only let Agents look at Agents, who watches the watchers. The answer is still that you need a trustworthy golden set that you can fall back on and calibrate against.
Beyond quality, cost and latency must be evaluated together. Anmol said in the tweet that most eval content only talks about quality, but in real decisions cost and latency matter just as much. Offline research tasks can run for hours, but if a customer-service Agent is a few seconds late, the user is gone. Choosing a model is not just looking at who is first on a leaderboard.
Two eval sets, one upgrade path
Anmol recommends always keeping two sets: capability and regression. Capability is hard problems, most of which will fail, used to show model progress. Regression is the floor, and should almost all pass. Once a new model reliably solves a capability task, move it into regression and add harder problems.
The playbook for the day a new model is released: point the harness at the new model, keep the prompt, tools, and grader unchanged, and only swap the model or experiment with prompts; run regression first to see whether the floor broke; then run capability to see whether the ceiling rose; finally look at the result breakdown, not just the total score, and calculate cost and latency at the same time, to decide whether to switch, not switch, keep investigating, or tune the prompt.
When total scores are close, the breakdown matters even more. Anmol gave the benchmark of legal startup Lagora: Opus 5.5 was 33% above the 17-model average on summarize, only 3% above on extract, and only 1% above on review. Looking only at the aggregate, you would think it leads across the board; only by breaking it down do you know which tasks are worth switching models for and which tasks are about the same either way. On a small test set, 71% versus 64% may also be within variance; run it 10 times and look again.
There are four common traps. The test environment is not the real Agent; the environment is not clean, and Anmol mentioned an eval where Claude got an unfair advantage by reading Git history left over from previous runs; the grader itself is wrong, the rubric is vague, and the judge and Agent contexts are mixed together; result calibration is broken, and all failures or all perfect scores are useless. There is one more: expected variance. Run the same model on the same task several times and look at stability.
Anmol's action items for attendees were concrete: pull 20 real failures from production, plug them into the Agent loop, and run them once with the latest model. In Claude Code there are API migrate, prompt audit, build eval skill, and hill climb skill. Prompt audit solves the problem of old prompts written for old models. Claude Code's system prompt shrank by about 80% in a year; as models get stronger, too many instructions can drag down performance.
In the comments, someone posted OriginBench 1.1 and asked Anmol for scores. This benchmark does not test single-point bug fixes; it tests whether an Agent can make a real repository's behavior match a reference implementation. It has 50 tasks, 12 languages, 49 codebases, a median reference patch of 3,151 lines, ranging from 137 to 20,048 lines. It reports mean reward and solve rate separately, which exposes a gap.

On the 20 newly added release evolution tasks, six models had mean reward from 54.5% to 80.3%, and the full solve rate was only 0% to 6.7%. Of the 50 tasks, 27 had no model fully solve them across 18 runs. Most tests pass, but the last few hurdles are not cleared, and repository behavior does not match.


Difficulty correlates with patch size. On the 32 tasks whose reference patch exceeded 1,600 lines, the leading model's mean reward dropped to 68.5%, and solve rate was only 9.4%. On short-patch tasks the model gap was 19 points; on long-patch tasks the gap widened to 29 points.


The language distribution is also worth looking at. Python and C++ had high average reward, while Rust and OCaml were low. But the number of tasks per language differs; when a single language has only one or two tasks, don't read it as a language-level conclusion.

Cost is also on the table. The six models had 900 scored runs, with an API list-price equivalent total cost of $5,007, or $5.56 per run on average. Cost per single solve ranged from $5.6 for GPT-6.1 to $51 for Grok 4.7, nearly a 9x difference. This does not include container machine time. Quality, cost, and latency need to be looked at together; it's not a slogan.

OriginBench's scoring only recognizes final code behavior. The verifier runs offline; the reference is deleted before building, modifying test files is an automatic failure, and embedding the reference in the tree is also rejected. Only reward 1.0 counts as solve; otherwise the score is the proportion of hidden tests passed. This design separates mostly right from truly right.
Back to Anmol's talk: the action most worth copying is not buying more evaluation tools, but first pulling 20 real failures. The refund not executed, the wrong rule chosen, the dirty environment, the biased judge—all of these can become tasks. Before switching models, run regression first, then run capability, break down the tasks, and factor in cost and latency. Making the decision that day is more reliable than waiting weeks and going by feel.
Original talk: Anmol Tukrel's tweet, full video. Benchmark mentioned in comments: OriginBench 1.1.
发布时间: 2026-12-01 20:30