What does SWE-bench measure that AgentBench does not, and why are both needed?
Distinguish SWE-bench from AgentBench. What capability dimension does each benchmark cover, and why is performance on one insufficient to characterise an agent's full capability?
SWE-bench measures execution-verified coding depth; AgentBench measures multi-environment breadth. Neither captures real reliability, so you triangulate across both plus GAIA and tau-bench.
Imagine you want to know how good a new hire really is. One test makes them fix a real bug in a big codebase and only counts it if the tests pass afterward. That is a deep, honest test, but it only covers coding. Another test gives them many different small jobs: browse a website, run a few shell commands, query a database. That tells you how broadly they cope, but a judge grading the answers can be fooled by a confident wrong reply. A third test asks puzzle-like research questions, and a fourth watches how they handle a customer over many back and forth turns. Each test sees one slice of the person. If you only trust one, you get a misleading picture. Real ability shows up only when you line up several different tests and compare what they each reveal.
Detailed answer & concept explanation~7 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.
Lay out the four axes first, depth, breadth, reasoning, and multi-turn reliability, then map SWE-bench, AgentBench, GAIA, and tau-bench onto them. Contrast execution-based against judged grading, raise contamination and saturation as validity threats, and close on why production reliability forces triangulation plus private held-out evals.
| Benchmark | Axis measured | Grading | Main weakness |
|---|---|---|---|
| SWE-bench | Code-editing depth on real repos | Execution-based (tests pass or fail) | Narrow to coding; contamination of public issues |
| AgentBench | Breadth across 8 environments | Mixed: some execution, some judged | Judged sub-tasks are gameable by fluent wrong answers |
| GAIA | General-assistant multi-step reasoning | Verifiable single answer per question | Saturating at the top; limited domain coverage |
| tau-bench | Multi-turn reliability in dialogue | Final-state outcome check | Simulated user may not reflect real customers |
Real products, models, and research that use this idea.
- Frontier labs report SWE-bench Verified resolution rates for coding agents; by 2026 GPT-5.5 and Claude Opus 4.7 cluster high enough that the original split barely discriminates between them.
- Tau-bench is used to evaluate customer-service agents by checking final database state, such as whether a refund or booking change was actually applied under policy.
- GAIA serves as a general-assistant leaderboard where models like Gemini 3.1 Pro must chain web search, file reading, and reasoning to reach one verifiable answer.
- Teams building coding agents like Cursor and Devin-style systems pair public SWE-bench numbers with private held-out test repos to detect contamination-inflated scores.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow would you detect that a high public SWE-bench score is inflated by contamination rather than genuine capability?
QWhy is execution-based grading harder to game than model-judged grading, and where does it still fail?
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.
Treating one headline benchmark score as the agent's capability. Each benchmark probes a narrow slice, and an execution-verified coding number says nothing about web navigation, multi-turn reliability, or judged task quality.
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.