SWE-sweep
A benchmark challenging AI agents to discover and repair bugs in large codebases, with no hints about bug type or location.
Working when we checked on .
What is SWE-sweep?
SWE-sweep is a benchmark that measures how many bugs language-model agents can find and fix in large codebases without any hints about bug type or location. It is intended for AI researchers and engineers evaluating coding agents. The benchmark spans 100 open-source repositories with 4.1k bugs, built from real issue–pull request pairs snapshot at commits where many bugs coexist. Fixes are scored against hidden fail-to-pass tests plus the original test suite to catch regressions, with a public leaderboard, per-repository cost, turns, and token metrics.
SWE-sweep pricing
Pricing model: Free
Free (Open-source)
SWE-sweep pros
- 100 repositories with 4.1k bugs, updated October 8, 2026
- Leaderboard compares 13 model configurations across OpenAI, Anthropic, Google, and Moonshot AI
- Tracks total USD, USD per repo, turns per repo, and tokens per repo
- Bugs filtered to be discoverable from reading the repository alone
- Regression check: any break of the original test suite scores the task 0%
- Pareto frontier view of cost, turns, and tokens
SWE-sweep cons
- It is a research benchmark, not a deployable software product
- Top agents resolve only up to 9.5% of bugs, indicating extreme task difficulty
- Scoring under-counts bugs present in a repository since only upstream-confirmed bugs count
- Costs for top runs reach thousands of dollars (e.g., $7,230 for one configuration)
Frequently asked questions about SWE-sweep
What is SWE-sweep?
A benchmark where an agent receives a real repository containing many concurrent bugs and must autonomously discover and fix as many as possible, with no hints about bug type or location.
How large is the benchmark?
It covers 100 open-source repositories with 4.1k bugs, last updated October 8, 2026.
How is the benchmark scored?
Each bug is checked with hidden fail-to-pass tests, and the original test suite is rerun to detect regressions. The score is the fraction of all bugs resolved across all repositories; breaking the original suite scores 0%.
What does an agent receive?
A repository at a fixed base commit and a broad instruction to find and fix bugs. It gets no issue descriptions, filenames, line ranges, or other bug-specific hints.
How are tasks constructed?
Real issue–pull request pairs are collected, a commit where many bugs coexist is identified, and bugs whose fixes and tests can be reproduced at that state are retained after extensive filtering.
What makes a bug discoverable?
The expected behavior must be inferable from the repository itself, e.g., documentation, types, existing tests, callers, invariants, standards, or unambiguous failures like crashes or data loss.
Who is SWE-sweep for?
Researchers and engineers evaluating coding agents, from teams including Meta Superintelligence Labs, Harvard, University of Washington, and Stanford.
Which model performs best?
OpenAI's Astra 6 with mini-SWE-agent ranks first, resolving 9.5% of bugs at about $35 per repository.
Does more inference-time compute help?
Repeated attempts recover additional bugs, but gains diminish over later work within one run.
What happens to agent changes not tied to benchmark bugs?
Only upstream-confirmed bugs backed by regression tests are scored; other changes go uncounted, though regressions in the original suite zero the score.