Vibeleaderboard
← All Intel
Intel / article

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

Source
arxiv.org
Author
Kilian Lieret, Jeffrey Jian Ma, Rahul Kindi, Yuxiang Wei, Jeremy Ma, Sten Sootla, Parth Thakkar, Chao Beyond Zhou, Pengcheng Yin, Rui Hou, Ofir Press, John Yang
Date
Why it matters

Existing benchmarks hand the agent an issue; this one measures whether agents can decide what is broken themselves, which is the capability needed for delegating broad repository maintenance.

Key takeaways · AI-distilled
  • SWE-sweep gives an a repository holding many simultaneous real bugs with no issue reports or locations, and asks it to find and fix as many as it can. Each repair is scored against hidden tests from the original pull request.
  • To build each task, the authors chose the single commit where the most bugs from real GitHub issue and pull request pairs coexist, so fixes can interact and regressions are checked against the existing test suite.
  • The spans 4,068 bugs across 100 repositories in 22 programming languages, including NumPy, OpenCV and Lean 4.
  • Across 7 language models, the best agent resolved only 4.7 percent of all bugs, and the authors find the hard part is discovering bugs rather than repairing them.
  • Simple test-time scaling approaches helped, but the authors report diminishing returns as they were scaled.
Terms in this piece · Glossary
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
  • Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads