Coding agents have become good at fixing a bug once someone has described it. A new benchmark from Meta FAIR and the team behind SWE-bench removes that description and asks the harder question: dropped into a codebase with dozens of real, unreported bugs, can an agent find them on its own? The answer is mostly no. The best model tested, OpenAI’s GPT-5.6 Sol at its highest reasoning setting, fixed 4.7% of 4,068 bugs. The same model fixed 75.3% once it received the original issue texts. For teams that hope to let an agent “sweep” a repository unattended, that gap is the useful part: finding the problem, not writing the patch, is where agents fail.
Finding bugs is the hard part
SWE-sweep is built from 100 open-source projects in 22 languages, from small libraries such as dayjs to NumPy, OpenCV, DuckDB and the Lean 4 toolchain. For each project the authors collected bug fixes that came with an issue and tests, estimated when each bug entered the code, and picked the single historical commit where the largest number of those bugs existed at the same time. The agent starts from that commit with one instruction: find and fix what is broken. A bug counts as fixed only if its hidden tests from the original pull request pass and the project’s existing tests still pass.
| Model (effort) | Bugs fixed | Mean cost per repository | Our calc.: cost per fixed bug |
|---|---|---|---|
| GPT-5.6 Sol (xhigh) | 4.7% | $72.30 | about $38 |
| GPT-5.6 Luna (xhigh) | 2.5% | $2.24 | about $2.20 |
| GPT-5.6 Terra (xhigh) | 1.5% | $3.57 | about $6 |
| Claude Opus 5 (xhigh) | 1.3% | $53.63 | about $101 |
| Kimi K3 (max) | 0.6% | $24.51 | about $100 |
| Gemini 3.5 Flash Lite | 0.1% | $0.06 | not meaningful |
The spread in efficiency is wider than the spread in scores. GPT-5.6 Sol reached the top spot for about $7,000 in total, the paper notes, while the smaller Luna variant fixed roughly half as many bugs for $224. By our arithmetic that is about $38 per fixed bug for Sol against about $2.20 for Luna. Claude Opus 5 produced the most output tokens of any model but landed mid table at 1.3%, so more effort did not translate into more fixes.

The ablations on 20 repositories show where the difficulty sits. Telling GPT-5.6 Sol only which files the real fixes touched more than doubled its score, from 4.8% to 11.0%. Adding the edited line ranges doubled it again to 19.2%, and running a separate agent for each bug doubled it once more to 39.2%. Handing over the issue texts alone lifted it to 75.3%. In plain terms: the model can usually repair a bug it has been pointed at, but it rarely notices the bug in the first place.
What makes the benchmark credible
Every bug in SWE-sweep was confirmed by the project’s own maintainers, who merged a fix for it. The authors also filtered for bugs that are discoverable from the repository alone, for example because documentation, types or existing tests define the correct behavior. Three models had to agree unanimously before a bug was kept, a step that rejected 40% of candidates, and in a human audit of 50 sampled bugs at least three of four reviewers agreed with that call in 98% of cases. Flaky tests were removed by rerunning the base test suite ten times. The dataset, the evaluation harness and the agent runs for the main results are released.
Method in brief
Seven models in ten configurations were tested: GPT-5.6 Sol, Terra and Luna, GPT-5.4 mini, Claude Opus 5, Gemini 3.5 Flash Lite and Kimi K3. All ran inside mini-SWE-agent, a minimal bash-only harness, in Docker containers with 16 vCPUs, 64 GiB of memory, no internet access and limits of 1,000 steps and 12 hours. No run came close to either limit; agents stopped because they believed they were done. On a subset, GPT-5.6 Sol scored 1.6% in OpenAI’s own Codex harness against 2.9% in mini-SWE-agent, and Claude Opus 5 scored 1.1% in Claude Code against 1.0%.
- Paper: Lieret, Ma, Kindi, Wei, Ma, Sootla, Thakkar, Zhou, Yin, Hou, Press and Yang (Meta FAIR and Meta TBD, with Harvard, University of Washington and Stanford), arXiv preprint submitted November 25, 2026, not peer reviewed, CC BY 4.0. The release link is an anonymized ICLR 2027 review repository.
- Code and data: Dataset, harness and rollouts at the anonymized repository linked in the paper.
- Conflicts: The authors work at Meta. No Meta model was among those tested, and the paper states no funding source or competing interests.
What remains open
By design, SWE-sweep only counts bugs that someone reported and fixed. Any other defect an agent finds and repairs earns nothing, so the scores are a lower bound on what agents actually find, and the benchmark cannot tell a useful unreported fix from a harmful change. Only 17.3% to 27.9% of the files agents edited were related to a known bug, which may be real fixes, noise or new problems. The models tested are also a generation behind the current frontier: GPT-6.2 Astra, Claude Opus 5.5 and Claude Fable 5.2 are missing. And agents sometimes undid their own good work. Across 400 checkpointed runs, 42 lost at least one bug they had already fixed, and models spent a median of 24.8% to 37.6% of their actions after their last real improvement.
How it compares with earlier coding benchmarks
SWE-bench made issue-to-patch the standard test for coding agents, and its newer variants are close to saturation. SWE-sweep keeps the realism of real repositories but removes the issue, which is why scores collapse. Newer models are already moving the number: in its Gemini 4 Neon launch materials on November 18, Google reported 39.0% on SWE-sweep inside its Antigravity harness and 12.8% with the simpler mini-SWE harness. Those are vendor figures that the paper does not confirm, and Google may have used a different setup, but even 12.8% is well above the paper’s best of 4.7% in the same kind of harness. The gap between Google’s two numbers also echoes our earlier look at how much the harness can matter, although the paper’s own test found OpenAI’s Codex harness doing worse, not better, than the minimal one.
What developers can take from it
- Give the agent a signal: Failing tests, stack traces, user reports or even a list of suspect files turned single-digit results into double digits. An open-ended ‘find all bugs’ prompt is the weakest way to use these tools.
- One bug per session: Splitting work so each agent run handles a single, located problem roughly doubled success for GPT-5.6 Sol and almost tripled it for Luna.
- Checkpoint and keep the best patch: Agents regressed their own fixes in about one in ten runs. Commit or snapshot after each passing test instead of trusting the final state.
- Start small: GPT-5.6 Sol fixed 13.4% of bugs in repositories under 100,000 lines and 1.2% in those above 500,000. Point sweeps at modules, not monorepos.
- Watch the bill: Without hints, the top model spent about $38 per confirmed fix in this setup. A cheaper model with better hints is likely the better deal today.
The paper also gives a reason to try anyway: the bugs it uses had sat untouched in the code for a median of 481 days before the snapshot, and the upstream fix took another 293 days to arrive. An agent that catches even a few of those earlier is worth something.
About this analysis
Based on the full text of arXiv:2611.35250v1, submitted on November 25, 2026. All scores, costs and ablation results come from the paper; cost per fixed bug is our own arithmetic and rounded. The Gemini 4 Neon figures are Google’s own claims as reported in our launch coverage. The paper uses short model names (Sol 5.6, Luna 5.6); we use OpenAI’s full product names. The chart was redrawn by i10X from Table 7.
i10x Perspective
SWE-sweep is the benchmark to watch for anyone selling “autonomous maintenance”. Its message is sober: today’s agents are capable repairers and poor detectives, and the difference is more than tenfold. We expect the headline score to climb quickly, as the Gemini 4 Neon numbers already hint, which is exactly why the release of tasks, harness and rollouts matters: it lets anyone check vendor claims on equal terms. Until scores reach double digits in independent runs, the sensible setup keeps humans or tests in charge of saying what is broken and lets the agent do the fixing. More benchmark coverage is in our Benchmarks & Evals section, and more on the authors’ employer on our Meta hub.






