Skip to content

bench(swe): SWE-bench runner — spine validated (gold RESOLVED, hermetic filter); workspace-root seam is the one open bug - #1945

Merged
joelteply merged 1 commit into
canaryfrom
bench/swe-runner-spine
Jul 8, 2026
Merged

joelteply merged 1 commit into
canaryfrom
bench/swe-runner-spine

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The Continuum SWE-bench runner: per instance clone @ base_commit → solver edits the working tree → git diff is
the model_patch → score with the OFFICIAL swebench Docker harness (the industry yardstick, proven on this Mac).

VALIDATED (green, stacked):

  • scorer: official harness runs locally; gold control RESOLVED (astropy-12907, flask-4045).
  • spine: our clone→edit→diff→predictions path scores gold RESOLVED on a hermetic instance (flask-4045).
  • hermetic filter: the requests-2317 detour taught it — that instance's tests hit httpbin.org over the network,
    so even the GOLD patch scores 0 in a sandboxed container. Fix = only benchmark instances where gold resolves
    locally, so every downstream 0 is a REAL solver miss, not an environment artifact. (Glass-box, not guess.)

OPEN BUG (the one thing between here and our first real number): --solver ours dispatches the persona but she
produced a 0-byte diff — glass-boxed to the workspace root: her file engine defaults to the core cwd (the
continuum repo), NOT the clone, and the "she calls create-workspace herself" prompt didn't reliably re-root the
eval-fork's engine. Confirmed the mechanism exists (code/create-workspace OVERWRITES the caller's engine, keyed
by her peer-id). FIX = a deterministic workspace_root on the solve path that roots her engine at the target repo
before her cycle (the #49 seam; also needed for a persona to work on a user's real project). Then git diff is real.

Co-Authored-By: Claude Opus 4.8 [email protected]
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…ic filter); workspace-root seam is the one open bug

The Continuum SWE-bench runner: per instance clone @ base_commit → solver edits the working tree → git diff is
the model_patch → score with the OFFICIAL swebench Docker harness (the industry yardstick, proven on this Mac).

VALIDATED (green, stacked):
- scorer: official harness runs locally; gold control RESOLVED (astropy-12907, flask-4045).
- spine: our clone→edit→diff→predictions path scores gold RESOLVED on a hermetic instance (flask-4045).
- hermetic filter: the requests-2317 detour taught it — that instance's tests hit httpbin.org over the network,
  so even the GOLD patch scores 0 in a sandboxed container. Fix = only benchmark instances where gold resolves
  locally, so every downstream 0 is a REAL solver miss, not an environment artifact. (Glass-box, not guess.)

OPEN BUG (the one thing between here and our first real number): `--solver ours` dispatches the persona but she
produced a 0-byte diff — glass-boxed to the workspace root: her file engine defaults to the core cwd (the
continuum repo), NOT the clone, and the "she calls create-workspace herself" prompt didn't reliably re-root the
eval-fork's engine. Confirmed the mechanism exists (`code/create-workspace` OVERWRITES the caller's engine, keyed
by her peer-id). FIX = a deterministic `workspace_root` on the solve path that roots her engine at the target repo
before her cycle (the #49 seam; also needed for a persona to work on a user's real project). Then git diff is real.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 38a51f1 into canary Jul 8, 2026
@joelteply
joelteply deleted the bench/swe-runner-spine branch July 8, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant