Who it is forAn AI researcher or agent builder benchmarking how many real bugs a coding agent can find and fix without hints.
The problemBug fixing benchmarks usually point the agent at the bug; real work means finding bugs too, and raw trial folders are hard to summarise.
The outcomeA per-task table and a JSON summary with the final score, computed as a micro-average of all bugs resolved across tasks.
What you need first
- Python with uv (or pip) installed
- Harbor, as pinned by the repo
- A unified diff file (model.patch) made against a task's base commit
- Docker or the environment Harbor needs for the verifier, if Harbor requires it (inferred)
Steps
- Clone it:
git clone https://github.com/facebookresearch/swe-sweep.gitandcd swe-sweep - Install with
uv sync, or pip install . if you do not use uv - Verify your setup with
sweep infra doctor - Evaluate one submission with sweep eval, passing the task name and a unified diff against its base commit
- Summarise graded runs per task:
sweep info path/to/graded-solutions --per-task - Export for plots or papers:
sweep info path/to/graded-solutions --json
Prompt for your agent
In facebookresearch/swe-sweep, run sweep infra doctor, then summarise my graded runs in <folder> with sweep info --per-task and --json. Report the final score, the three weakest tasks and how the micro-average differs from a plain mean of task scores.
Caveat. Any new failure in the visible test suite sets a task's score to 0, and per-task averages will not match the headline micro-average.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for facebookresearch/swe-sweep and "Summarize graded SWE-sweep trials by task and in total"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer