All stories
SWE-Bench: The Benchmark That Measures Real Software Engineering (2024)  -  Datasets | AI History by CobuildX
CobuildX
2024Datasets

SWE-Bench: The Benchmark That Measures Real Software Engineering

SWE-Bench pulled 2,294 real GitHub issues from production codebases. Early models solved 2% of them. Then AI coding agents became the fastest-moving benchmark in history.

SWE-Benchsoftware engineering benchmarkAI coding agentsGitHub issues AIagentic AI evaluationcode repair benchmark

In early 2024, Carlos E. Jimenez, John Yang, and colleagues at Princeton and the University of Chicago published SWE-Bench, the Software Engineering Benchmark. Instead of writing programming problems by hand, they extracted 2,294 real GitHub issues from twelve popular open-source Python repositories, including Django, Flask, scikit-learn, NumPy, and the requests library. Each instance was a real bug report or feature request that had been resolved by a human contributor with a verified code patch. The benchmark task was to reproduce that patch given only the repository and the issue description.

SWE-Bench was fundamentally different from HumanEval. HumanEval asked models to write a function given a docstring. SWE-Bench asked models to navigate a large, unfamiliar codebase, understand a bug report written in natural language, locate the relevant code, diagnose the problem, write a fix, and verify that the fix passed the repository's existing test suite. This was not a coding exercise. It was software engineering. Early results made that distinction viscerally clear: Claude 2 and GPT-4, the strongest models available at release, solved fewer than 2% of instances. Devin, Cognition AI's autonomous coding agent, received significant press coverage in March 2024 with a claimed 13.86% solve rate.

SWE-Bench then became the fastest-moving benchmark in the history of AI. Within months of publication, scores were improving dramatically. Claude 3.5 Sonnet, released in mid-2024, achieved approximately 49% on SWE-Bench Verified (a curated subset of 500 high-quality instances). OpenAI's o3 model exceeded 50%. Agent frameworks (systems that combined LLMs with code execution, repository search, and iterative debugging) achieved scores that pure LLMs could not. SWE-Bench became the benchmark that separated LLMs from AI coding agents.

The implications extend beyond benchmark numbers. SWE-Bench measures a capability that enterprises care about directly: can the system fix bugs in real production code? Not toy problems, not isolated functions, but actual issues in codebases with history, dependencies, and tests. The benchmark is imperfect (the evaluation harness sometimes accepts incorrect patches that happen to pass tests) but it is the closest the field has come to measuring software engineering as engineers actually practise it. Its rapid progress has made it the primary benchmark tracking the frontier of agentic AI capability.

Related capabilities

AI History

Ask about this story

Explore this history

SWE-Bench is the first benchmark that measures something enterprises actually care about: can the AI fix a real bug in a real codebase? Early models solved 2% of instances. Then the race started. What would you like to explore about the benchmark or the agent systems it is driving?