SWE-sweep: Can Agents Autonomously Find and Fix Bugs?

Kilian Lieret, Jeffrey Jian Ma, Rahul Kindi, Yuxiang Wei, Jeremy Ma +7 more
11/25/2026
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

Most existing software engineering benchmarks evaluate coding agents on concrete, well-specified tasks, commonly by providing a codebase together with a user-reported issue to resolve. However, as users delegate increasingly broad outcomes to coding agents, the natural next step is for agents to determine not only how to perform useful work, but also what useful work needs to be done.

Show full abstract

An agent entrusted with a repository should be able to decide what is broken, which problems matter, and how to solve them before they are reported. We introduce SWE-sweep, a benchmark for this open-ended setting. Given a codebase containing many concurrent bugs and no information about their nature or location, an agent must autonomously discover and fix as many bugs as possible. For each repository, we collect real GitHub issue-pull request pairs, then identify a single commit where the maximum number of bugs are present at the same time. Each repair is evaluated against hidden tests from the corresponding pull request, along with the existing test suite to check for regressions. Success requires agents to explore and understand a large codebase over long-horizon work, repair bugs without introducing regressions, and manage interactions among fixes that are not independent. SWE-sweep encompasses 4,068 bugs across 22 programming languages and 100 repositories, including NumPy (Python), OpenCV (C++), and Lean 4 (Lean). We evaluate 7 LMs and find that the best agent resolves only 4.7 percent of all bugs, with the challenge generally lying in discovering bugs rather than repairing them. We further study simple test-time scaling approaches and find that they are effective but yield diminishing returns. SWE-sweep exposes a substantial gap between resolving reported issues and autonomously maintaining software.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lieret2026swesweep,
  title  = {SWE-sweep: Can Agents Autonomously Find and Fix Bugs?},
  author = {Kilian Lieret and Jeffrey Jian Ma and Rahul Kindi and Yuxiang Wei and Jeremy Ma and Sten Sootla and Parth Thakkar and Chao Beyond Zhou and Pengcheng Yin and Rui Hou and Ofir Press and John Yang},
  year   = {2026},
  eprint = {2611.35250},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.35250v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.35250.svg)](https://codeofpaper.com/paper/2611.35250)

Discussion