Skip to content

SWE-bench Verified

For: maintainers running the release matrix, and people who want to know how tether does on real GitHub issues rather than on exercises. After reading you can run the subset, read a result, and compare it with the published reference numbers.

SWE-bench Verified is 500 real issues from popular Python repositories. Each one is solved when the model's patch makes the tests that the upstream fix added pass, without breaking the tests that passed before. It measures the work a coding agent is hired for: finding the bug in a codebase it did not write, and changing it without breaking anything else.

What we measure

  • The subset. 50 instances, not 500, so a run takes hours instead of days. bench/swebench/subset.py picks them deterministically: the slots of each repository are proportional to its size (largest remainder), the instances are drawn with seed 0, and psf/requests is left out because its tests need the internet. The list is committed as bench/swebench/subset.txt.
  • Bash only, scored like the official board. tether runs with --tools bash,edit, at most 100 steps and 30 minutes per instance. The patch is graded by the official harness (swebench 5.0.2) in the instance's own image, so the score is the same measure the mini-SWE-agent board reports.
  • Three runs per model. The number in the release table is the mean of resolved instances over three trials, with the lowest and highest run.

One run on 50 instances has a standard error of about 7 points; the mean of three is about 4. Read a difference of a few points as noise.

How a cell runs

One cell is one (model, instance, trial). It runs in the instance's image (the repository at /testbed, its conda environment testbed). tether runs inside that container from a host virtualenv, mounted read-only at the same path. When tether stops, the cell's patch is the git diff of /testbed, without tether's .tether folder. Grading happens afterwards, in a separate step, so a cell that times out still gets its patch graded.

How to run it

You need Docker (the instance images are about 3.8 GB each and are pulled once), uv, a ~/.tether/providers.yaml for the model, and a tether venv (uv venv --python 3.12 --managed-python <dir> then uv pip install --python <dir>/bin/python tether-sdk==<version>).

python3 bench/swebench/subset.py                     # the 50 ids (committed; the same file every time)
python3 bench/swebench/run.py --models nvidia/nvidia/nemotron-3-ultra-550b-a55b --trials 3 \
    --tether-venv <dir> --out <out>/swebench/nemotron
python3 bench/swebench/grade.py <out>/swebench/nemotron
  • run.py reaches Ollama at OLLAMA_HOST (default http://localhost:11435, the tether-ollama container the other benchmarks use) and the hosted keys from the environment (NVIDIA_API_KEY); it never writes them to a file.
  • run.py writes one directory per cell (done.json, patch.diff, stdout.txt, stderr.txt) and one line per cell in results.jsonl. A cell already there is skipped, so running the command again resumes.
  • grade.py writes pass and graded (resolved, unresolved, empty, infra or error) into those lines. An infra failure is graded once more.
  • The release matrix runs both for each model: python3 bench/matrix.py --version vX.Y.Z --tether-bin <venv>/bin/tether --out <out> (see Release matrix).

Reference numbers

Published results, to read our numbers against. They are not the same harness or the same window, so they are context, not a target.

Run Benchmark Score Harness and window Source
Claude 4.5 Haiku (high) SWE-bench Verified, all 500 66.6% (333/500) mini-SWE-agent 2.0.0, bash only SWE-bench leaderboard (Verified board, folder 20260217_mini-v2.0.0_claude-4-5-haiku-high; per-instance results in SWE-bench/experiments)
Claude 4.5 Haiku (high), on our 50 the same 50 ids as our subset 34/50 (68%) mini-SWE-agent 2.0.0, bash only computed from the per-instance results (bench/swebench/reference.json)
Nemotron 3 Ultra SWE-bench Verified 70.7% NVIDIA's own agent harness, not mini-SWE-agent NVIDIA paper, arXiv:2606.15007
Qwen3.5-9B as reported by the source, Mini-SWE-Agent-Plus 56.2% 131k-token window Arctic-SWE, arXiv:2610.24914

Our qwen3.5:9b runs use tether's default 32k window, a quarter of the Arctic-SWE window, so that row is not like for like. Our results per release are in the release matrix.

The Haiku reference is the line to read our Haiku column against, on the same 50 instances. It is computed from the leaderboard's own per-instance results, so anyone can reproduce it: python3 bench/swebench/reference.py.

Cite

The benchmark: Jimenez et al., SWE-bench: Can Language Models Resolve Real-World GitHub Issues? (ICLR 2024). The Verified subset was released by OpenAI in August 2024.