Kevin589981 commited on
Commit
9abd52c
·
verified ·
1 Parent(s): 97514b9

Align runner paths with GitHub release repository

Browse files
README.md CHANGED
@@ -109,7 +109,7 @@ The repository also includes:
109
  | `manifests/release_provenance.json` | Authoritative configuration and clean-verification provenance |
110
  | `selections/` | Reproducible task selections |
111
  | `tasks/task_NNN/` | Thin Harbor/Pier task bundles |
112
- | `tools/` | Materialization, provider, batch, and summary tools |
113
  | `docs/run-batch.md` | Full provider and batch-runner reference |
114
 
115
  The environment image contains the baseline source, public fixtures, dependencies, and compilers. The separate verifier image contains held-out tests and the grader. The dataset does not contain reference-answer patches, credentials, agent trajectories, or private verifier tests.
@@ -132,14 +132,14 @@ docker login
132
  Materialize the default selection:
133
 
134
  ~~~bash
135
- python3 tools/materialize.py \
136
  --output tasks-selected --force
137
  ~~~
138
 
139
  Materialize one task, a comma-separated list, or inclusive ranges:
140
 
141
  ~~~bash
142
- python3 tools/materialize.py \
143
  --task-id 002,005-007 \
144
  --output tasks-selected-small --force
145
  ~~~
@@ -148,7 +148,7 @@ Materialize the complete 91-task science-knowledge ablation split. It contains
148
  restricted-license tasks, so the explicit license opt-in is required:
149
 
150
  ~~~bash
151
- python3 tools/materialize.py \
152
  --task-id 002-082,084,086,090,097-101,111,114 \
153
  --allow-restricted-licenses \
154
  --output tasks-science-knowledge-ablation --force
@@ -161,7 +161,7 @@ Every materialization writes `selection.json` with the exact task IDs used for t
161
  Twenty-three tasks are excluded from the default selection because they contain GPL/LGPL/AGPL-family code, academic non-commercial sources or materials, or restricted third-party data. Include them only after confirming that your use is permitted:
162
 
163
  ~~~bash
164
- python3 tools/materialize.py \
165
  --allow-restricted-licenses \
166
  --output tasks-selected-all --force
167
  ~~~
@@ -198,7 +198,7 @@ pier run -p tasks-selected-small \
198
  For Codex gateway profiles, use the included wrapper:
199
 
200
  ~~~bash
201
- python3 tools/run_batch.py \
202
  --path tasks-selected-small \
203
  --agent codex \
204
  --env-file ~/.config/swe-bench-science/codex.env \
@@ -242,7 +242,7 @@ jobs/<job-name>/<task>__<trial>/verifier/test-stdout.txt
242
  The wrapper additionally writes `jobs/summary.json` and `jobs/summary.csv`. For a direct Pier run, generate the same summaries with:
243
 
244
  ~~~bash
245
- python3 tools/summarize_results.py --jobs-dir jobs
246
  ~~~
247
 
248
  Use `pier view jobs` to inspect trajectories.
 
109
  | `manifests/release_provenance.json` | Authoritative configuration and clean-verification provenance |
110
  | `selections/` | Reproducible task selections |
111
  | `tasks/task_NNN/` | Thin Harbor/Pier task bundles |
112
+ | `scripts/` | Materialization, provider, batch, and summary tools |
113
  | `docs/run-batch.md` | Full provider and batch-runner reference |
114
 
115
  The environment image contains the baseline source, public fixtures, dependencies, and compilers. The separate verifier image contains held-out tests and the grader. The dataset does not contain reference-answer patches, credentials, agent trajectories, or private verifier tests.
 
132
  Materialize the default selection:
133
 
134
  ~~~bash
135
+ python3 scripts/materialize.py \
136
  --output tasks-selected --force
137
  ~~~
138
 
139
  Materialize one task, a comma-separated list, or inclusive ranges:
140
 
141
  ~~~bash
142
+ python3 scripts/materialize.py \
143
  --task-id 002,005-007 \
144
  --output tasks-selected-small --force
145
  ~~~
 
148
  restricted-license tasks, so the explicit license opt-in is required:
149
 
150
  ~~~bash
151
+ python3 scripts/materialize.py \
152
  --task-id 002-082,084,086,090,097-101,111,114 \
153
  --allow-restricted-licenses \
154
  --output tasks-science-knowledge-ablation --force
 
161
  Twenty-three tasks are excluded from the default selection because they contain GPL/LGPL/AGPL-family code, academic non-commercial sources or materials, or restricted third-party data. Include them only after confirming that your use is permitted:
162
 
163
  ~~~bash
164
+ python3 scripts/materialize.py \
165
  --allow-restricted-licenses \
166
  --output tasks-selected-all --force
167
  ~~~
 
198
  For Codex gateway profiles, use the included wrapper:
199
 
200
  ~~~bash
201
+ python3 scripts/run_batch.py \
202
  --path tasks-selected-small \
203
  --agent codex \
204
  --env-file ~/.config/swe-bench-science/codex.env \
 
242
  The wrapper additionally writes `jobs/summary.json` and `jobs/summary.csv`. For a direct Pier run, generate the same summaries with:
243
 
244
  ~~~bash
245
+ python3 scripts/summarize_results.py --jobs-dir jobs
246
  ~~~
247
 
248
  Use `pier view jobs` to inspect trajectories.
docs/run-batch.md CHANGED
@@ -1,6 +1,6 @@
1
  # Batch Evaluation Reference
2
 
3
- `tools/run_batch.py` is the convenience wrapper for running a materialized task
4
  selection with Pier. It does not build task images. It reads the immutable
5
  environment and verifier references from each `task.toml`, pulls those images
6
  for `linux/amd64`, writes a redacted run record, and invokes Pier with
@@ -13,7 +13,7 @@ From a downloaded release directory:
13
  ~~~bash
14
  uv tool install --python 3.12 "datacurve-pier==0.3.0"
15
  docker login
16
- python3 tools/materialize.py \
17
  --task-id 002,005-007 \
18
  --output tasks-selected-small --force
19
  ~~~
@@ -86,7 +86,7 @@ the selected harness by Pier.
86
  Run a no-model infrastructure smoke:
87
 
88
  ~~~bash
89
- python3 tools/run_batch.py \
90
  --path tasks-selected-small \
91
  --agent nop \
92
  --n-concurrent 1 \
@@ -98,7 +98,7 @@ python3 tools/run_batch.py \
98
  Run Codex through a gateway:
99
 
100
  ~~~bash
101
- python3 tools/run_batch.py \
102
  --path tasks-selected-small \
103
  --agent codex \
104
  --env-file ~/.config/swe-bench-science/codex.env \
@@ -112,7 +112,7 @@ python3 tools/run_batch.py \
112
  Run Claude Code or mini-swe-agent:
113
 
114
  ~~~bash
115
- python3 tools/run_batch.py \
116
  --path tasks-selected-small \
117
  --agent claude-code \
118
  --env-file ~/.config/swe-bench-science/claude.env \
@@ -201,7 +201,7 @@ for trajectories and inspect `result.json`, `reward.json`, and
201
  Pull nothing and inspect the fully rendered command:
202
 
203
  ~~~bash
204
- python3 tools/run_batch.py \
205
  --path tasks-selected-small \
206
  --agent codex \
207
  --env-file ~/.config/swe-bench-science/codex.env \
@@ -212,12 +212,12 @@ python3 tools/run_batch.py \
212
  Run the 91-task science-knowledge ablation selection after materialization:
213
 
214
  ~~~bash
215
- python3 tools/materialize.py \
216
  --task-id 002-082,084,086,090,097-101,111,114 \
217
  --allow-restricted-licenses \
218
  --output tasks-science-knowledge-ablation --force
219
 
220
- python3 tools/run_batch.py \
221
  --path tasks-science-knowledge-ablation \
222
  --agent codex \
223
  --env-file ~/.config/swe-bench-science/codex.env \
 
1
  # Batch Evaluation Reference
2
 
3
+ `scripts/run_batch.py` is the convenience wrapper for running a materialized task
4
  selection with Pier. It does not build task images. It reads the immutable
5
  environment and verifier references from each `task.toml`, pulls those images
6
  for `linux/amd64`, writes a redacted run record, and invokes Pier with
 
13
  ~~~bash
14
  uv tool install --python 3.12 "datacurve-pier==0.3.0"
15
  docker login
16
+ python3 scripts/materialize.py \
17
  --task-id 002,005-007 \
18
  --output tasks-selected-small --force
19
  ~~~
 
86
  Run a no-model infrastructure smoke:
87
 
88
  ~~~bash
89
+ python3 scripts/run_batch.py \
90
  --path tasks-selected-small \
91
  --agent nop \
92
  --n-concurrent 1 \
 
98
  Run Codex through a gateway:
99
 
100
  ~~~bash
101
+ python3 scripts/run_batch.py \
102
  --path tasks-selected-small \
103
  --agent codex \
104
  --env-file ~/.config/swe-bench-science/codex.env \
 
112
  Run Claude Code or mini-swe-agent:
113
 
114
  ~~~bash
115
+ python3 scripts/run_batch.py \
116
  --path tasks-selected-small \
117
  --agent claude-code \
118
  --env-file ~/.config/swe-bench-science/claude.env \
 
201
  Pull nothing and inspect the fully rendered command:
202
 
203
  ~~~bash
204
+ python3 scripts/run_batch.py \
205
  --path tasks-selected-small \
206
  --agent codex \
207
  --env-file ~/.config/swe-bench-science/codex.env \
 
212
  Run the 91-task science-knowledge ablation selection after materialization:
213
 
214
  ~~~bash
215
+ python3 scripts/materialize.py \
216
  --task-id 002-082,084,086,090,097-101,111,114 \
217
  --allow-restricted-licenses \
218
  --output tasks-science-knowledge-ablation --force
219
 
220
+ python3 scripts/run_batch.py \
221
  --path tasks-science-knowledge-ablation \
222
  --agent codex \
223
  --env-file ~/.config/swe-bench-science/codex.env \
{tools → scripts}/materialize.py RENAMED
File without changes
{tools → scripts}/pier_adapters.py RENAMED
File without changes
{tools → scripts}/provider_config.py RENAMED
File without changes
{tools → scripts}/run_batch.py RENAMED
File without changes
{tools → scripts}/summarize_results.py RENAMED
File without changes