Skip to content

feat(catalogue): add SWE-bench Pro - #699

Merged
aitianshi merged 6 commits into
mainfrom
feat/add-swe-bench-pro
Dec 2, 2026
Merged

aitianshi merged 6 commits into
mainfrom
feat/add-swe-bench-pro

Conversation

@aitianshi

@aitianshi aitianshi commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

What

The fidelity table is in the first comment.

Before and after

A new card and page. Headless Chromium, light and dark at 1280 px, light at 390 px: no error, no sideways scroll. No image attached.

Verified

  • prove, both datasets: leak 2/2, nop 0/2, oracle 2/2. Controls on two more repositories pass.
  • On OpenAI: Codex on 2 tasks, mini-swe-agent on 1. All ran and passed.
  • Two Codex diffs re-graded by hand on fresh containers: the same result as in their own.
  • pins swe-bench-pro: 642 same.
  • Backend 3,663, routes 967, on main of 2026-12-02.
  • Not run: Claude Code on a real model, 636 of the 642 images.

Risk

  • v1, the paper's set, is not offered.
  • Undo: delete the folder, the only_for line, regenerate the docs.

Agents

  • Claude Code, Fable 5.2
  • Claude Code subagents, unknown
  • Claude Code, Opus 5.5

@aitianshi

aitianshi commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Upstream vs Nullius: SWE-bench Pro V2

Read from scaleapi/SWE-bench_Pro-os at v2.0.0 (v2/README.md, v2/tooling/, each task.toml) and from the entry's driver. No Original setup: the protocol's agents are Harbor classes.

The protocol's own agent (Claude Code)

Upstream (v2/README.md, v2/tooling/locked_claude_code.py) Nullius, the catalogue's Claude Code Same?
Runner harbor run -p v2/tasks -e modal -a locked_claude_code:LockedClaudeCode -m anthropic/<model> --ak reasoning_effort=high --ak disallowed_tools=WebFetch,WebSearch --allow-agent-host api.anthropic.com The standard's container backend on the same task folders at the pin by design
Agent, version Harbor's claude-code, installed with no version: the release current at run time Claude Code 2.1.331 through claude-agent-acp 0.113.0, pinned ⚠️ upstream pins none
Start claude --print, --permission-mode=bypassPermissions, IS_SANDBOX=1, no turn cap An ACP session, the instruction verbatim, no turn cap. As root the adapter ignores bypassPermissions: default mode, each request granted ⚠️ 2
Model, effort The ranked model, effort high in every command The run's model; the effort is the run's (the page says to set high) ⚠️ not fixed
Time limit, cut 3,000 s (agent.timeout_sec); the diff is still captured and graded 3,000 s read from task.toml; a cut task is still scored ✅
Agent network, web tools no-network but the model host; WebFetch and WebSearch disallowed The relay the only way out; web tools off, fixed ✅
CPU, memory, storage 1 CPU, 4,096 MB; 10,240 MB storage, which Harbor applies on neither Modal nor Docker --cpus 1 --memory 4096m; no storage cap ✅
Image ghcr.io/scaleapi/swe-bench_pro-v2:<instance>, by tag The same, by the digest its tag had when pinned ✅
Diff capture _CAPTURE, as root: git add -A; git diff --cached The same string, read from locked_claude_code.py at run time; kept as verifier/model.patch ✅
Tests, score tests/test.sh in the agent's sandbox, then patch_replay:PatchReplayAgent: the diff on a fresh sandbox, same test.sh. "Report the re-graded number; publish both." test.sh in the agent's container, its processes stopped first: the first number only ⚠️ 1
Test network public A proxy to public addresses ⚠️ 3
Reward reward.txt: 1 when every fail-to-pass and pass-to-pass test passed; Harbor (0.25 on) deletes a reward file before the tests The same file, deleted before the tests ✅
Datasets V2 642, HARD-51 51; v1 731 by its own pipeline V2 642, HARD-51 51 ✅; v1 not offered
Controls -a oracle 642/642, -a nop 0/642 solve.sh 2/2 and no agent 0/2 on each dataset ✅

Any other catalogue agent

Upstream (locked_codex.py, locked_mini_swe.py, configs/) Nullius Same?
Codex CLI 0.155.1; codex exec --dangerously-bypass-approvals-and-sandbox; effort high, web search disabled; timeout 2940 Codex 0.160.1 through codex-acp 2.2.2, approvals never, full access; web search disabled; cut at 3,000 s, scored ⚠️ version, 60 s
mini-swe-agent Latest release, the authors' mini_toolcall.yaml (effort high, its model class, its error template); Harbor passes --cost-limit 0; timeout 2940, the partial diff graded 2.4.6, mini's own mini.yaml, no cost limit; a cut at 3,000 s is its timeout, unscored ⚠️ 4
Goose, OpenCode, JiuwenSwarm, DigitalMate Not run by the protocol Its own prompt, tools and loop; web tools off where it has the option by design

Where scores can differ

  1. No re-grade. The reward is the authors' in-sandbox number. What an agent commits, installs or shims counts here and fails their re-grade (Standard: an own image's check always runs where the agent worked, so SWE-bench Pro's score is not its authors' re-graded one #684). By hand, two Codex diffs re-graded on fresh containers scored as in their own.
  2. Claude Code. Current release there, 2.1.331 here; print mode there, ACP here; bypassPermissions ignored as root (Agents: Claude Code ignores bypassPermissions when it runs as root in a task's own image #691).
  3. Test network. The tests' fetches are npm, Go modules and apt: all honour the proxy.
  4. mini-swe-agent. Its own config and no cost limit; a cut is not scored (Agents: mini-swe-agent runs SWE-bench with its general config, not the one its leaderboard uses #687).

… for pins, delete a reward left before the tests
@github-actions github-actions Bot added the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
# Conflicts:
#	app/tests/test_catalog.py
#	docs/agents/supported/README.md
#	docs/agents/supported/claude-code.md
#	docs/agents/supported/codex.md
#	docs/agents/supported/digitalmate.md
#	docs/agents/supported/goose.md
#	docs/agents/supported/jiuwenswarm.md
#	docs/agents/supported/mini-swe-agent.md
#	docs/agents/supported/opencode.md
#	docs/agents/supported/swe-agent.md
#	docs/agents/supported/terminus-2.md
@github-actions github-actions Bot added merge conflict Conflicts with its base: merge or rebase it and removed merge conflict Conflicts with its base: merge or rebase it labels Dec 2, 2026
# Conflicts:
#	app/tests/test_catalog.py
#	app/ui_tests/test_catalogue_routes.py
#	docs/agents/supported/README.md
#	docs/agents/supported/claude-code.md
#	docs/agents/supported/codex.md
#	docs/agents/supported/digitalmate.md
#	docs/agents/supported/goose.md
#	docs/agents/supported/jiuwenswarm.md
#	docs/agents/supported/mini-swe-agent.md
#	docs/agents/supported/opencode.md
#	docs/agents/supported/swe-agent.md
#	docs/agents/supported/terminus-2.md
#	docs/benchmarks/supported/README.md
@github-actions github-actions Bot removed the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
@aitianshi
aitianshi marked this pull request as ready for review December 2, 2026 09:55
@github-actions

This comment has been minimized.

@github-actions github-actions Bot added needs review Tests pass, no conflict, no verdict on its latest commit merge conflict Conflicts with its base: merge or rebase it and removed needs review Tests pass, no conflict, no verdict on its latest commit labels Dec 2, 2026
# Conflicts:
#	app/nullius/catalogue/agents/mini-swe-agent/agent.json
#	app/static/catalogue/marks.svg
#	app/tests/test_catalog.py
#	app/tests/test_swebench_patch.py
#	app/ui_tests/test_catalogue_routes.py
#	docs/agents/supported/README.md
#	docs/agents/supported/claude-code.md
#	docs/agents/supported/codex.md
#	docs/agents/supported/digitalmate.md
#	docs/agents/supported/goose.md
#	docs/agents/supported/jiuwenswarm.md
#	docs/agents/supported/mini-swe-agent.md
#	docs/agents/supported/opencode.md
#	docs/agents/supported/swe-agent.md
#	docs/agents/supported/terminus-2.md
#	docs/benchmarks/supported/README.md
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🔴 PR judge · 3 of 4 yes · #699, no linked issue

Merge risk 🟡 MEDIUM the judge's reading of the diff
Depth 🟡 MEDIUM the deepest path is app/nullius/catalogue/agents/mini-swe-agent/agent.json
Question Verdict
Changes do what the issue asks –
Issue and pull request describe the same change –
Description matches the diff ✅ yes
Diff stays in scope ✅ yes
Risk named in the description ✅ yes
Before and after shown · 0 images · the diff touches what is visible ❌ no
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/, .agents/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

some of the diff was cut before the judge read it

@aitianshi
aitianshi merged commit 8243a3a into main Dec 2, 2026
2 of 3 checks passed
@aitianshi
aitianshi deleted the feat/add-swe-bench-pro branch December 2, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant