Who it is forA developer or coding agent about to modify the SWE-sweep harness or its evaluation code.
The problemChanges to the evaluation code can silently shift scores, so a clean baseline is needed first.
The outcomeA passing test suite and lint run on the unchanged repo, giving a baseline for later edits.
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
git clone https://github.com/facebookresearch/swe-sweep.gitcd swe-sweepuv sync --extra testuv run pytestuvx pre-commit run --all-files
Prompt for your agent
In the facebookresearch/swe-sweep repo, run `uv sync --extra test` then `uv run pytest` and report the pass and fail counts. Confirm that `uvx pre-commit run --all-files` passes before making any edits to <file-to-change>.
Caveat. The README says CI tests on Python 3.12 and 3.13, so a baseline on other Python versions may not match the project's own checks.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for facebookresearch/swe-sweep and "Check the harness tests before editing it"
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