Repository navigation
feat(tasks): run SWE-bench rows with docker-* harnesses #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
f4ce883
feat(tasks): detect eval-task formats with `tasks inspect`
napetrov b9dd1a8
feat(tasks): task_inspect.v1 report, config-named datasets, LFS pointers
napetrov e4b4e80
test(tasks): real-format corpus for tasks inspect, with its manifest
napetrov ec91e10
feat(harnesses): per-phase network policy for docker-* runs, off by d…
napetrov bab9fa9
feat(harnesses): write network.json in every docker-* cell dir, error…
napetrov 0a2fbe7
feat(tasks): run SWE-bench rows with docker-* harnesses (tasks run --…
napetrov 0398866
test(tasks): keep the SWE-bench fixture as a JSON list (license-heade…
napetrov 313ed32
feat(tasks): SWE-bench rows run offline by default; --all skips known…
napetrov 10b3924
fix(tasks): refuse a --swe-bench run that selects no row
xaleryb 7b5c05b
fix(tasks): refuse unsafe or duplicate SWE-bench instance ids
xaleryb 169ceff
test(tasks): pin the SWE-bench grading rules that decide reward
xaleryb f384575
docs(tasks): say tasks run --swe-bench takes a SWE-bench file
antonwolfy 62d5e33
Merge intel/main into feat/run-swebench
xaleryb a1c8c8d
fix(tasks): quote a SWE-bench row's base_commit and test files in eva…
xaleryb 833d7dc
test(tasks): pin every SWE-bench bad code, ERROR statuses and the app…
xaleryb a35a4b8
Merge intel/main into feat/run-swebench
xaleryb f4567b3
Merge intel/main into feat/run-swebench
xaleryb b669a77
fix(tasks): reset a SWE-bench test file whose name has a space
napetrov 9b64bee
fix(tasks): refuse SWE-bench row values that leave their quoted slot
napetrov 97d6285
fix(tasks): refuse a NUL byte in a SWE-bench test_patch; requests-172…
xaleryb 581e14f
Guard parse_seaborn against a bare FAILED or PASSED line
antonwolfy 7a03b2e
Name only the known-bad rows present in the file in the --all banner
antonwolfy 402891b
Correct the changelog count of skipped known-bad rows to 9
antonwolfy a96e0f8
test(tasks): pin the clean step's quoting and the +++ tab strip for a…
xaleryb 9aa4853
Merge remote-tracking branch 'intel/main' into pr213-wt
napetrov 3a23923
fix(tasks): refuse a null or non-string SWE-bench text field as a row…
napetrov 8d074f7
Merge remote-tracking branch 'intel/main' into pr213-wt
napetrov 31be3de
test(tasks): pin the middle parse_seaborn PASSED guard
antonwolfy 723bfde
Merge intel/main into feat/run-swebench
napetrov 4179814
fix(swebench): verdict exit code, PyPI verify default, host refusal, …
napetrov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
dokimi/changelog.d/20261024_100000_napetrov_run-swebench.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| ### Added | ||
|
|
||
| - **`tasks run --swe-bench <rows.jsonl>`** runs SWE-bench rows (Lite, | ||
| Verified) with the `docker-*` harnesses: each row runs in its prebuilt | ||
| `swebench/sweb.eval.*` image, `docker-oracle` applies the gold patch, and the | ||
| verifier runs SWE-bench's eval script and grades the log with the repo's | ||
| SWE-bench parser (reward 1 only when every `FAIL_TO_PASS` and `PASS_TO_PASS` | ||
| test passes). `tasks inspect` now names `docker-*` as the consumer of a | ||
| SWE-bench file whose repos and versions all have a test spec. | ||
| The solve runs offline and the verifier on a PyPI allowlist by default; | ||
| `--all` skips the 17 rows in `swebench.KNOWN_BAD` known to fail with the | ||
| gold patch in the prebuilt image (live-network tests, Harbor's known | ||
| issues). Every row of a file is checked before anything is staged. |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUN mv /testbed /appdoes not rename in place on overlayfs: the checkout is in a lower layer, somvcopies it into a new layer. A quick check,RUN mv /usr/share /usr/share2on a local image, adds a 31.5 MB layer for a 31 MB directory. So every instance image gets a full copy of the repo (with.git), and the in-container chown copies it once more. Please say this in the doc instead of "Nothing is built but that one layer".