Repository navigation
bench(swe): SWE-bench runner — spine validated (gold RESOLVED, hermetic filter); workspace-root seam is the one open bug - #1945
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
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 oursdispatches the persona but sheproduced 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-workspaceOVERWRITES the caller's engine, keyedby her peer-id). FIX = a deterministic
workspace_rooton the solve path that roots her engine at the target repobefore 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