Repository navigation
Conversation
Adapter for SWE-Bench-ProMax (COLM 2026): 170 large-scale, cross-file code refactoring tasks in C, C++, Go, Java, Python, Rust and TypeScript. - Runs each instance's published image directly ([environment].docker_image); the official eval script is copied verbatim into tests/eval.sh and tests/test.sh reproduces the original pass rule, including the retry on known transient failures. Verifier runs with no network. - Oracle applies the reference patch the way the original harness does. - Oracle validation: reward 1.0 on 170/170 tasks; nop: 0.0 on 170/170. - Parity: pending (48-task subset via --split parity). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
c009bf2 to
fb4f668
Compare
… images; README run order - [task].name is now registry-safe (lowercase; 13 instance ids had uppercase letters). - run_swebench_promax.yaml: force_build false, so the published images are used as-is. - README: list the registry method first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
…e parity subset - README / metadata: oracle 1.0 and nop 0.0 on all 170 tasks, one job per agent (-n 4). - Parity subset: Go is no longer left out; 8 tasks per language across all 7 languages (56). - README: drop the Go-specific concurrency note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
- [verifier] environment_mode = "separate": the agent's container is not reused for grading. - [[verifier.collect]] exports everything the agent changed in /testbed relative to the base commit (new files and commits included) to /logs/artifacts/model.patch. - tests/test.sh applies that patch in the fresh container exactly like the original harness (`git apply -v`, falling back to `patch -p1`; failure scores 0) before running the eval script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
b6f4fd6 updates eval.json (21 scripts fail when their build step fails); swe-bench-promax.json is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
|
/review-adapter |
|
Structural validation of commit 587df94 at 2026-11-24 22:01:02 UTC Adapter contract v1 ( ✅ Adapter Validation:
|
|
@YerbaPage parity plan looks good, but what model you propose to use? |
|
Thanks for triggering the review, @XiangningLin! I propose:
|
…reed model - make_parity_subset.py defaults to 4 per language (same seed); parity_task_ids.txt regenerated. - README / metadata: 28 tasks (16.5%), mini-swe-agent@2.4.6 with deepseek-v4.1-flash through the Harbor parity API, as agreed with the Harbor team. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
ProMax issues are recent and their fixes are public upstream. Like the ProgramBench adapter, the agent phase uses network_mode = "allowlist" with api.openai.com / api.anthropic.com; other endpoints are added at run time with --allow-agent-host. Agent setup keeps network. README documents the flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
…ttings Default agent timeout 7200 s (large C/C++ and Rust builds need it). README: parity uses mini-swe-agent's mini config with a 250-step limit on both sides; original side runs the benchmark's own agent runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
- parity_experiment.json, README parity table and adapter_metadata: mini-swe-agent@2.4.6 + deepseek-v4.1-flash on 28 tasks, 3 runs per side (original 56.0 ± 2.4, Harbor 59.5 ± 1.2). - Tasks pin docker_image to the published <instance_id>-harbor-adapted digests (image_digests.json); oracle 170/170 and nop 0/170 with these images. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
|
@XiangningLin Thanks so much for your guidance! We've completed parity with Resolved rate (%):
The README, metadata and When you have a moment, could you please rerun |
|
/review-adapter |
|
Adapter review of commit 587df94 (applies only to this revision). swebench_promax: review of PR #125Verdict: changes requested. I found no fidelity or grading-integrity defect in the code. The adapter is well built, and its grading logic matches the upstream harness. The PR is held back by gaps in the parity evidence and provenance (Findings 1–2), not by the adapter code.
Provenance
Parity statistics (I recomputed these by hand from the raw run arrays)
Blockers1. Parity runs mixed two time limits, and there is no attempt ledger (ADP-PARITY; Step 5, checklist #6 and debug step 6).
2. Required provenance is missing, and the parity artifacts are not in the required repository (Step 5 checklist #1–#5; Step 7; ADP-README).
Other findings (fix them or document them)3. Missing patches are treated as empty and scored 0 instead of being reported as an infrastructure failure (test.sh#L31-L32, task.toml#L48-L50).
4. Isolation depends on recent Harbor features, but no minimum version is documented (ADP-README; task.toml#L35-L43, README#L195-L200).
5. The patch export can't see some changes (task.toml#L45-L49, README#L168-L170, README#L189-L191).
6. Minor: how the parity subset is located (main.py#L28-L31).
Disclosed limitations (acceptable as documented)
Unverified
Coverage
|
- record provenance: upstream runner/grader commit, Harbor 0.26.0, model source; pin the parity artifact repo commit - a failed patch collection now ends the verifier without a reward (infrastructure error) instead of scoring 0 - README: minimum Harbor version; skip-worktree / info/exclude audit of all 170 images; same patch command as upstream - --split parity reads the id list shipped inside the package and rejects --task-ids Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pu3y6q5zkN1rRseXqkoKMi
|
Thanks for the review. Pushed 472e467:
|
|
@XiangningLin Really appreciate the thorough review, it helped improve both the adapter and the parity documentation. The latest revision ( |
Adapter for SWE-Bench-ProMax (COLM 2026 paper): 170 large-scale, cross-file code-refactoring tasks across C, C++, Go, Java, Python, Rust and TypeScript.
Claim confirmed by @XiangningLin.
Implementation
--allow-agent-host).Validation
Harbor 0.26.0, local Docker, separate verifier, published digest-pinned images:
Separate-verifier validation: On
mikf__gallery-dl-7872, the reference patch scores 1.0, while an unrelated edit and no changes both score 0.0. An agent-containersitecustomize.pyoverride that makes Python exit successfully also scores 0.0 with the separate verifier.Oracle / NOP screenshots
Parity
28 tasks (4 per language, fixed seed),
mini-swe-agent@2.4.6+deepseek-v4.1-flash. The original side uses the benchmark's runner (src/inference/run_mini_swe_agent.py) and grader (src/evaluation/test_run.py).Resolved rate (%), mean ± SEM over three runs:
The run ranges overlap.
Parity artifacts: the shared repository is over the Hub's file-count limit, so the raw runs are hosted in our HF repository, linked from parity-experiments#301.
Requested dataset tags:
v1.0(full set),parity(agreed subset).AI assistance: Claude Code and Codex.