SWE-sweep
Test whether coding agents can discover and repair bugs without being told where to look.
Overview
SWE-sweep checks whether a coding agent can work out for itself what is broken in a large real-world codebase and then repair it. Most software-engineering benchmarks hand the agent a reported issue; this one gives no bug reports, file names or other hints, so finding the defects is part of the task. The authors, from Meta FAIR and partner universities, built it to measure the gap between fixing reported issues and maintaining software autonomously.
What a task looks like
Each task is one open-source repository checked out at a single commit where many known bugs are present at the same time, and the agent is told only to find and fix as many bugs as it can, then submit a patch. Bugs come from real GitHub issue and pull-request pairs and were kept only if the expected behaviour can be inferred from the repository itself (docs, types, tests or callers). Task ids follow the form swe-sweep__dateutil; the paper's illustration uses the pandas repository.
How it’s scored
The submitted patch is run against the repository's original test suite and against hidden fail-to-pass tests taken from each bug's fixing pull request; a bug counts as resolved only when all its hidden tests pass and the original suite still passes, and any new regression in the original suite scores the whole task as zero. The headline number is resolved bugs divided by all bugs across every repository (a micro-average).
- Released
- Oct 1, 2026
- Size
- 100 repositories containing 4,068 bugs in 22 programming languages, with 4 to 239 bugs per repository (paper); the project site rounds this to 4.1k bugs. No official splits are documented.
- Versions
- No numbered editions are documented. The project site was marked as updated October 8, 2026, after the paper dated October 1, 2026.
- Access
- Tasks (Harbor format) and the evaluation CLI are in the facebookresearch/swe-sweep GitHub repository. Its LICENSE file says the code and data are currently provided only for reviewing an anonymous submission, with a license to follow at public release; the bug fixes and tests stay under the licenses of the source repositories.
Summarized by Stubbi from the public sources listed below. Stubbi has not run this benchmark.
Published leaderboard
Explore scores and evaluation settings on the publisher’s leaderboard.
Open leaderboardCoverage
100 repositories and approximately 4,100 bugs in the displayed edition.
Methodology
Apply patches, run visible regression checks and hidden bug tests, then aggregate resolved bugs across repositories. New regression failures can zero a task.