What structural property of SWE-bench makes it a harder eval than HumanEval for code agents?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
SWE-bench gives an agent a real GitHub issue and a whole repository. It must localise the bug, edit across files, and pass the repo's hidden tests. HumanEval is one self-contained function.
Imagine two cooking tests. In the first, you get a recipe card that says 'make one omelette' with every ingredient measured out on the counter. You just follow the steps. That is HumanEval: one small, fully specified task. In the second test, someone hands you a note that says 'the restaurant's signature dish tastes wrong lately, fix it', and points at the entire kitchen. You have to figure out which dish, taste it, search the pantry, find the bad ingredient hidden among hundreds, change the recipe, and then the food critic decides whether it passes. That is SWE-bench: a real bug report in a real codebase. The hard part is not writing code, it is finding where the problem lives across thousands of files and not breaking everything else.
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 repository-level structure is the difficulty driver, the four-stage decomposition, what resolution rate means, the contamination concern, and why SWE-bench Verified exists.
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.
Saying SWE-bench is harder because it is Python only or uses private repos. The real driver is task structure: repo navigation, multi-file edits, tool use, and passing hidden tests.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.