burtenshaw HF Staff Claude Opus 5.5 commited on
Commit
e610663
·
verified ·
1 Parent(s): 1a084d5

Fix the Python test environment for 490 SWE-smith tasks

Browse files

Rebuilds PR #4 on top of 1a084d5. Re-pins the 490 SWE-smith Python rows to harness-adapters df43f14c04a1ee2edeb101b52061e9b14da48da6 (branch testbed-path) and updates their instruction and task_url. Adds provenance/testbed-path-fix.json. The data files and change record are identical to PR #4; its README changes are carried into the current card. SHA256SUMS updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

README.md CHANGED
@@ -158,7 +158,7 @@ python download_task.py TASK_ID --output ./task-files
158
  | `cyber_authorization` | `bundles/cyber-authorization.tar.gz` in this dataset, one archive for all 1,000 tasks |
159
  | `knowledge_work`, `business_automation` | [harness-hub/automation-adapter-envs](https://huggingface.co/datasets/harness-hub/automation-adapter-envs), at the row’s `task_revision` |
160
 
161
- Each row records the exact repository, revision and path, and each archive’s SHA-256 hash is in `bundle_sha256`. Container images are external dependencies and aren’t included. Each task’s `task.toml` names its runtime and the files the agent must submit.
162
 
163
  The replacement archive for `tasksmith-ae872f5c3953` contains only the two plain-text email fixtures its six grading cases need. If you downloaded that task from the initial snapshot, download it again into an empty directory so the old fixtures don’t remain. The [repair record](provenance/tasksmith-ae872f5c3953/fixture-repair.json) identifies the replacement digest and its control results.
164
 
@@ -181,6 +181,7 @@ The replacement archive for `tasksmith-ae872f5c3953` contains only the two plain
181
 
182
  ## Provenance and limitations
183
 
 
184
  - **Historical checks.** The coding additions’ controls were recorded on historical adapted runtime images, and the cyber controls come from historical OpenEnv runs. The archives here aren’t a claim of fresh runtime qualification.
185
  - **Excluded candidate.** The original coding-additions export had 15 candidates. Only the 14 with `validation=pass` are included; the other stays in the provenance manifest.
186
  - **Related tasks.** Cedar tasks’ `source_group` values identify shared policy fixtures. Keep related tasks together when you make train and evaluation splits.
 
158
  | `cyber_authorization` | `bundles/cyber-authorization.tar.gz` in this dataset, one archive for all 1,000 tasks |
159
  | `knowledge_work`, `business_automation` | [harness-hub/automation-adapter-envs](https://huggingface.co/datasets/harness-hub/automation-adapter-envs), at the row’s `task_revision` |
160
 
161
+ Each row records the exact repository, revision and path, and each archive’s SHA-256 hash is in `bundle_sha256`. The 490 SWE-smith Python bundles are pinned at revision `df43f14c04a1ee2edeb101b52061e9b14da48da6` on the `testbed-path` branch of harness-adapters, which fixes their Python test environment (see the limitations below). The other 381 baseline bundles are pinned at `5d320e93b7832c6c66e6a5acd8403fb1a3c50bc6`. Container images are external dependencies and aren’t included. Each task’s `task.toml` names its runtime and the files the agent must submit.
162
 
163
  The replacement archive for `tasksmith-ae872f5c3953` contains only the two plain-text email fixtures its six grading cases need. If you downloaded that task from the initial snapshot, download it again into an empty directory so the old fixtures don’t remain. The [repair record](provenance/tasksmith-ae872f5c3953/fixture-repair.json) identifies the replacement digest and its control results.
164
 
 
181
 
182
  ## Provenance and limitations
183
 
184
+ - **Python test environment.** The runtime images for the 490 SWE-smith Python tasks install pytest and the project into the `testbed` conda environment but put the base environment first on `PATH`, so an agent’s non-interactive shell got a `python` with neither. Their bundles now set `[environment.env] PATH` in `task.toml` with `/opt/miniconda3/envs/testbed/bin` first, which Harbor 0.22 and later applies to every sandbox command, and their instructions end with an Environment note. The `instruction` column carries the new text. Grading is unchanged, because `tests/test.sh` activates `testbed` itself. The [change record](provenance/testbed-path-fix.json) lists each task’s old and new file hashes and the sandbox checks. The difficulty measurements in the rows, the `runtime-revisions/` receipts and the Inkling grades in `scores/` all predate this fix; the receipts describe the original bundles at `5d320e9`.
185
  - **Historical checks.** The coding additions’ controls were recorded on historical adapted runtime images, and the cyber controls come from historical OpenEnv runs. The archives here aren’t a claim of fresh runtime qualification.
186
  - **Excluded candidate.** The original coding-additions export had 15 candidates. Only the 14 with `validation=pass` are included; the other stays in the provenance manifest.
187
  - **Related tasks.** Cedar tasks’ `source_group` values identify shared policy fixtures. Keep related tasks together when you make train and evaluation splits.
SHA256SUMS CHANGED
@@ -1,5 +1,5 @@
1
  b0dafd21cb0ce625fdb9f65e941c7d932e2b60d7144c3d24f3bdbb768e0114ed LICENSES.md
2
- 25cfcb94ec0993b08ea0cd76fbdfee0c93541798794b7f96312d1a7ab1014a6c README.md
3
  804349c2b6a908db825e9a291c1e6a3e82169d7f589e0664ca432ad35df7a300 assets/model-difficulty.png
4
  c5980620a14de967f0f6c0035ddced127c72fc0a9b322b99d72582d51a9d5e5c assets/pipeline.png
5
  aaedce5788649ab0615fa12d7b6e55833a3da125dee99c2cdfd8f293fc5ded8a assets/release-composition.png
@@ -19,10 +19,10 @@ ac3f78788559c82f418be11a7109967a40b09bf11de8ce271461531c85587923 bundles/tasksm
19
  645dd194544d64225492fef16954f9c23b3a87c8e3dffcf56399187f83144d13 bundles/tasksmith-b6d969373e1e.tar.gz
20
  f28a9af1fb4a2a3a0d595c906deaabddbd25a1f5f1fbe563272693bd0e1390ac bundles/tasksmith-ca08ab4caec6.tar.gz
21
  c214639cb02403e7cb95c6392766ef03cfb3145e6178182ae95e20b42b26dc94 bundles/tasksmith-eb64d1312ca8.tar.gz
22
- af82d5ba8ed25da86be28449a186d9a744657b147d44647e8832d90828eb2113 data/coding.jsonl
23
  3ba484b7c981a1fc8432d3b17d355a5ce8c4671d24fdcbfa26a675575217f487 data/cyber.jsonl
24
  be7573c278a3513ecebae54acda643d27269407ff09c3c49a6c6a97f43fc354c data/knowledge_work.jsonl
25
- 6ae58446adc2c9102e3834ebb222621c1715571992f339825ae7e12caf70b4b0 data/tasks.jsonl
26
  f893f8358c80fb70b7d99d6c9cbd28824cd92d83a632088cb18298cc343628f5 download_task.py
27
  d4836787a3c68f208033aacfc457202471b666e4ff1550605eeb5d16f92bee22 provenance/automation-LICENSES.md
28
  88f8ccd90d50f98f7019dc27c1b2591a335c76b6df7807ef3786d1a75894a82a provenance/automation-dataset-card.md
@@ -123,3 +123,4 @@ fbd27036ed3ff99334a337d948600e4ea2ffff188de34c8b3894df5d661f870b provenance/tas
123
  92f994dd6e78b59a020100eeeb2520a4c4945d1adbb17f8eb785461930bfbd3d provenance/tasksmith-eb64d1312ca8/quality-label.json
124
  47e37ca417109efab71324d04e73098b38ebccb13fcdd6b52ee9428e0b832ae7 provenance/tasksmith-eb64d1312ca8/quality-result.json
125
  4d76dbb4c1686820cabd567d72f8aea358909765eb8626774c68099b4ba492e1 provenance/tasksmith-eb64d1312ca8/source.json
 
 
1
  b0dafd21cb0ce625fdb9f65e941c7d932e2b60d7144c3d24f3bdbb768e0114ed LICENSES.md
2
+ d284742e9652737af3133a5e1f2618194f0a995fc3c79055f0ed0865b4826e3b README.md
3
  804349c2b6a908db825e9a291c1e6a3e82169d7f589e0664ca432ad35df7a300 assets/model-difficulty.png
4
  c5980620a14de967f0f6c0035ddced127c72fc0a9b322b99d72582d51a9d5e5c assets/pipeline.png
5
  aaedce5788649ab0615fa12d7b6e55833a3da125dee99c2cdfd8f293fc5ded8a assets/release-composition.png
 
19
  645dd194544d64225492fef16954f9c23b3a87c8e3dffcf56399187f83144d13 bundles/tasksmith-b6d969373e1e.tar.gz
20
  f28a9af1fb4a2a3a0d595c906deaabddbd25a1f5f1fbe563272693bd0e1390ac bundles/tasksmith-ca08ab4caec6.tar.gz
21
  c214639cb02403e7cb95c6392766ef03cfb3145e6178182ae95e20b42b26dc94 bundles/tasksmith-eb64d1312ca8.tar.gz
22
+ be3d0c9f10a53e18c450803c8ae1b825f6251b2026803ea94325d502752d867d data/coding.jsonl
23
  3ba484b7c981a1fc8432d3b17d355a5ce8c4671d24fdcbfa26a675575217f487 data/cyber.jsonl
24
  be7573c278a3513ecebae54acda643d27269407ff09c3c49a6c6a97f43fc354c data/knowledge_work.jsonl
25
+ 900e00ccb87dd022ff9e2f8f7835d30ba548214ded03ae489fa8f89dbb6230b1 data/tasks.jsonl
26
  f893f8358c80fb70b7d99d6c9cbd28824cd92d83a632088cb18298cc343628f5 download_task.py
27
  d4836787a3c68f208033aacfc457202471b666e4ff1550605eeb5d16f92bee22 provenance/automation-LICENSES.md
28
  88f8ccd90d50f98f7019dc27c1b2591a335c76b6df7807ef3786d1a75894a82a provenance/automation-dataset-card.md
 
123
  92f994dd6e78b59a020100eeeb2520a4c4945d1adbb17f8eb785461930bfbd3d provenance/tasksmith-eb64d1312ca8/quality-label.json
124
  47e37ca417109efab71324d04e73098b38ebccb13fcdd6b52ee9428e0b832ae7 provenance/tasksmith-eb64d1312ca8/quality-result.json
125
  4d76dbb4c1686820cabd567d72f8aea358909765eb8626774c68099b4ba492e1 provenance/tasksmith-eb64d1312ca8/source.json
126
+ 1021caf9b41fa5eb7517127cdb88cb71fd52d75f5a7d97643d6b71cf162ef3d1 provenance/testbed-path-fix.json
data/coding.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
data/tasks.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ae58446adc2c9102e3834ebb222621c1715571992f339825ae7e12caf70b4b0
3
- size 16992761
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:900e00ccb87dd022ff9e2f8f7835d30ba548214ded03ae489fa8f89dbb6230b1
3
+ size 17197091
provenance/testbed-path-fix.json ADDED
The diff for this file is too large to render. See raw diff