How should you score a multi-step agent where final answer accuracy is 15% but most steps are correct?
A weighted composite of final answer, per step correctness, tool-call validity, and completion rate, plus failure mode tagging, gives actionable signal that neither metric alone provides.
Imagine grading a student on a 10-question test where they almost always get the last hard question wrong but get most of the rest right. If you grade only on the last question, you cannot tell if they are improving on the easy ones, because they almost never get the last one right. If you grade only on the average across all questions, a student who answers 8 right and skips 2 looks worse than one who fakes 10 mediocre answers. So you use a scorecard: most of the grade comes from the last question (it is the goal), but partial credit comes from the others. And you write a short note on each test saying what kind of mistake the student made, so you can tell over time whether their wrong answers are getting better or worse.
Detailed answer & concept explanation~9 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Open with the diagnostic: sparse final answer plus dense intermediate signal forces a composite. Name the four channels and weights, explain why pure final answer and pure step accuracy each fail. Cover failure mode tagging as what makes the eval actionable. Anchor to SWE-bench, AgentBench, GAIA, and TAU-bench as canonical examples. Close on cost per task, confidence intervals, and LLM-as-judge calibration as production grade nuances.
Real products, models, and research that use this idea.
- SWE-bench scores agents by whether their patch makes the held out test suite pass on real GitHub issues; Verified, Lite, and Full variants use the same composite pass test but on different task subsets.
- AgentBench evaluates across 8 different tool-use environments and reports both per-environment scores and an aggregate, treating the suite as a composite rather than a single number.
- TAU-bench measures customer service dialog agents with rule following plus task completion plus tool-call correctness, all combined into the headline pass rate.
- Anthropic's evaluation docs explicitly recommend composite scoring with failure mode tagging for multi-step agent tasks, citing the same sparse-outcome problem the question describes.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow do you choose the weights on the composite without making the choice arbitrary?
QHow do you handle tasks where there is no single ground truth final answer, such as an open ended research task?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Tracking only final answer accuracy, which is too sparse at 15 percent to detect regressions, or only step accuracy, which rewards an agent that thrashes through many small correct steps without finishing.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.