Fix the Python test environment for 490 SWE-smith tasks
What
The runtime images for the 490 SWE-smith Python tasks install pytest and the project into the testbed conda env but put the base env first on PATH. Agents run commands in non-interactive shells, so python had neither pytest nor the project, and pip install failed in network-locked sandboxes. In training run 513252, No module named 'pytest' appeared in 1,214 coding rollouts.
This PR re-pins those 490 rows to harness-adapters revision df43f14c04a1ee2edeb101b52061e9b14da48da6 (branch testbed-path), where each bundle:
- sets
[environment.env] PATHintask.tomlwith/opt/miniconda3/envs/testbed/binfirst (Harbor >= 0.22 applies it to every sandbox command) - ends its
instruction.mdwith an Environment note
It also updates the instruction column for those rows, the README, SHA256SUMS, and adds provenance/testbed-path-fix.json with per-task file hashes.
Checks
Harbor 0.27 on HF sandboxes, with each task's prebuilt image:
| Task | task.toml | Agent | Reward | python |
pytest |
|---|---|---|---|---|---|
| kayak__pypika | original | oracle | 1.0 | /opt/miniconda3/bin/python |
/opt/miniconda3/bin/python: No module named pytest |
| kayak__pypika | patched | oracle | 1.0 | /opt/miniconda3/envs/testbed/bin/python |
pytest 8.4.2 |
| kayak__pypika | patched | nop | 0.0 | - |
- |
| marshmallow-code__marshmallow | patched | oracle | 1.0 | /opt/miniconda3/envs/testbed/bin/python |
pytest 9.2.0 |
| marshmallow-code__marshmallow | patched | nop | 0.0 | - |
- |
Grading is unchanged: tests/test.sh activates testbed itself. The 227 Go tasks and the 130 SWE-Gym tasks are not touched. The inkling-python-r1/r2 runtime receipts still describe the original bundles at 5d320e9.