DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to summarize graded SWE-sweep trials by task and in total with Swe Sweep

Install the SWE-sweep harness, check the setup, evaluate patches on its Harbor tasks, and summarise graded results per task or as JSON for a report.

Short answer: Clone it: git clone https://github.com/facebookresearch/swe-sweep.git and cd swe-sweep; then install with uv sync, or pip install . if you do not use uv; Verify your setup with sweep infra doctor. All steps.

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

  1. Clone it: git clone https://github.com/facebookresearch/swe-sweep.git and cd swe-sweep
  2. Install with uv sync, or pip install . if you do not use uv
  3. Verify your setup with sweep infra doctor
  4. Evaluate one submission with sweep eval, passing the task name and a unified diff against its base commit
  5. Summarise graded runs per task: sweep info path/to/graded-solutions --per-task
  6. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer