Why is final-task success rate insufficient for evaluating LLM agents, and what does trajectory eval add?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Explain why final-task success rate alone is insufficient for evaluating LLM agents, and describe what trajectory evaluation adds. What specific metrics does trajectory eval provide that enable better debugging of multi-step failures?
Success rate is a sparse binary outcome with no failure localization. Trajectory eval scores each step (tool-call validity, state, efficiency, recovery) so you can pinpoint where a multi-step run broke.
Imagine grading a student only by whether they got the final answer right on a long word problem. If they failed, you learn nothing useful: was the setup wrong, did they add wrong, or did they copy the answer wrong at the end? You cannot help them improve. Trajectory evaluation is like grading every line of their working. Now you see exactly which step went off the rails. Maybe they always mess up the same step. With agents this matters because tasks have many steps: search the web, read a file, call an API, write the result. The final 'did it work?' answer hides all of that. Scoring each action tells you the agent is great at searching but keeps calling the wrong tool to save files, so you fix that one thing.
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.
5 min: why outcome success rate is sparse and unattributable, the four step-level trajectory metrics, ground-truth and partial-credit design, LLM-judge over trajectories, and the outcome as anchor tradeoff.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Reporting only end to end success rate for an agent. It is sparse, high variance, and tells you nothing about which of ten steps failed, so you cannot debug or improve the agent.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.