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

How to check the harness tests before editing it with Swe Sweep

Run the repo's test suite and lint hooks to get a clean baseline before changes.

Short answer: git clone https://github.com/facebookresearch/swe-sweep.git; then cd swe-sweep; uv sync --extra test. All steps.

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

  1. git clone https://github.com/facebookresearch/swe-sweep.git
  2. cd swe-sweep
  3. uv sync --extra test
  4. uv run pytest
  5. uvx 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

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