Datasets:
Add measured peak_ram_mb/peak_disk_mb; strip /swebench_matterhorn answer key; withdraw 5 leak-only-pass tasks (1322->1317)
Browse files- README.md +7 -6
- data/tasks-00000.tar +2 -2
- metadata/batch1_ids.txt +0 -2
- metadata/batch2_ids.txt +0 -1
- metadata/batch3_ids.txt +0 -2
- metadata/passrate_distribution.json +7 -27
- metadata/task_ids.txt +0 -5
- metadata/tasks.parquet +2 -2
- metadata/validation_summary.json +17 -12
README.md
CHANGED
|
@@ -18,7 +18,7 @@ pretty_name: SWE-Rebench Tasks Clean
|
|
| 18 |
|
| 19 |
# SWE-Rebench-Tasks-Clean
|
| 20 |
|
| 21 |
-
**1,
|
| 22 |
|
| 23 |
Adapted from [nebius/SWE-rebench-V2](https://huggingface.co/datasets/nebius/SWE-rebench-V2) (real GitHub issue → PR tasks with executable test contracts) into the TerminalWorld task format. Companion dataset to [Fzz1/SWE-Smith-Seeds-Clean](https://huggingface.co/datasets/Fzz1/SWE-Smith-Seeds-Clean), same layout.
|
| 24 |
|
|
@@ -30,7 +30,7 @@ Every task is a directory containing:
|
|
| 30 |
| `environment/` | Dockerfile pointing at the upstream per-task image, frozen at the pre-fix base commit |
|
| 31 |
| `solution/` | gold fix patch + `solve.sh` reference solution |
|
| 32 |
| `tests/` | `test.sh` grader + `test.patch` (FAIL_TO_PASS tests + sampled PASS_TO_PASS regression anchor) |
|
| 33 |
-
| `task.toml` |
|
| 34 |
| `seed.json` | full provenance: repo, base commit, test contract, quality metadata |
|
| 35 |
|
| 36 |
## How tasks were selected
|
|
@@ -54,7 +54,8 @@ Per batch: how many entered each stage and how many survived it.
|
|
| 54 |
| **selected** | metadata screen on the upstream pool (categories, quality, intent) | 1,100 | 1,282 | 755 | 3,137 |
|
| 55 |
| **adapted** | task generation succeeds (drops: malformed rows, dead upstream images) | 1,091 | 1,236 | 749 | 3,076 |
|
| 56 |
| **oracle ship** | gold fix earns reward 1 at training conditions (Gate 1) | 931 | 1,052 | 663 | 2,646 |
|
| 57 |
-
| **kept** | solver earns reward 1 at least once (Gate 2) |
|
|
|
|
| 58 |
|
| 59 |
Stage survival rates — oracle: 85% / 85% / 89% of adapted; solve: 48% / 51% / 51% of shipped. batch1's kept set is 390 tasks solved by `gpt-5.6-sol` (effort high, single attempt) plus 58 recovered by `gpt-5.6-luna` (effort max, n=5) from the sol-unsolved remainder; batch2/3 used the luna n=5 gate throughout.
|
| 60 |
|
|
@@ -70,7 +71,7 @@ The parquet records `solver` and `passrate` per task. Passrate is a usable diffi
|
|
| 70 |
|
| 71 |
## Contamination controls
|
| 72 |
|
| 73 |
-
|
| 74 |
|
| 75 |
1. **Hosted web search** — executed provider-side, invisible to sandbox egress blocks; agents were fetching the exact fix PRs. Disabled; verified zero search events on a task that previously searched 9 times. `used_web_search` is recorded on every solving record.
|
| 76 |
2. **Git history** — images carried the fix commit; agents ran `git log --all` and read it. Now scrubbed pre-agent: detach at base commit, delete all refs, expire reflog, prune; asserted that the reachable set equals HEAD ancestry and `fsck --unreachable` is empty.
|
|
@@ -118,8 +119,8 @@ By category:
|
|
| 118 |
|
| 119 |
| path | content |
|
| 120 |
|------|---------|
|
| 121 |
-
| `data/tasks-00000.tar` | all 1,
|
| 122 |
-
| `metadata/tasks.parquet` | one row per task: instance_id, tier, solver, passrate, tb_category, repo, image, base_commit, difficulty, n_f2p, n_p2p_sampled, quality_code, intent_completeness, terminal_shaped, thin_anchor, contract_unresolved |
|
| 123 |
| `metadata/task_ids.txt` | all instance ids, one per line |
|
| 124 |
| `metadata/batch1_ids.txt` etc. | per-tier id lists |
|
| 125 |
| `metadata/images.txt` | all Docker images referenced |
|
|
|
|
| 18 |
|
| 19 |
# SWE-Rebench-Tasks-Clean
|
| 20 |
|
| 21 |
+
**1,317 verified-solvable, contamination-controlled software-engineering tasks** for terminal-agent RL training.
|
| 22 |
|
| 23 |
Adapted from [nebius/SWE-rebench-V2](https://huggingface.co/datasets/nebius/SWE-rebench-V2) (real GitHub issue → PR tasks with executable test contracts) into the TerminalWorld task format. Companion dataset to [Fzz1/SWE-Smith-Seeds-Clean](https://huggingface.co/datasets/Fzz1/SWE-Smith-Seeds-Clean), same layout.
|
| 24 |
|
|
|
|
| 30 |
| `environment/` | Dockerfile pointing at the upstream per-task image, frozen at the pre-fix base commit |
|
| 31 |
| `solution/` | gold fix patch + `solve.sh` reference solution |
|
| 32 |
| `tests/` | `test.sh` grader + `test.patch` (FAIL_TO_PASS tests + sampled PASS_TO_PASS regression anchor) |
|
| 33 |
+
| `task.toml` | declared: 600 s grader budget, 1 CPU, 4 GB. The 4 GB is a fixed default; the **measured** per-task runtime peak is the parquet's `peak_ram_mb` |
|
| 34 |
| `seed.json` | full provenance: repo, base commit, test contract, quality metadata |
|
| 35 |
|
| 36 |
## How tasks were selected
|
|
|
|
| 54 |
| **selected** | metadata screen on the upstream pool (categories, quality, intent) | 1,100 | 1,282 | 755 | 3,137 |
|
| 55 |
| **adapted** | task generation succeeds (drops: malformed rows, dead upstream images) | 1,091 | 1,236 | 749 | 3,076 |
|
| 56 |
| **oracle ship** | gold fix earns reward 1 at training conditions (Gate 1) | 931 | 1,052 | 663 | 2,646 |
|
| 57 |
+
| **kept** | solver earns reward 1 at least once (Gate 2) | 448 | 535 | 339 | 1,322 |
|
| 58 |
+
| **shipped** | after withdrawing 5 whose only pass read a leaked answer key (below) | **446** | **534** | **337** | **1,317** |
|
| 59 |
|
| 60 |
Stage survival rates — oracle: 85% / 85% / 89% of adapted; solve: 48% / 51% / 51% of shipped. batch1's kept set is 390 tasks solved by `gpt-5.6-sol` (effort high, single attempt) plus 58 recovered by `gpt-5.6-luna` (effort max, n=5) from the sol-unsolved remainder; batch2/3 used the luna n=5 gate throughout.
|
| 61 |
|
|
|
|
| 71 |
|
| 72 |
## Contamination controls
|
| 73 |
|
| 74 |
+
Five answer-leak channels were discovered during solving and closed. Each closure was verified behaviorally (by the leak not reproducing on its worst known case), not just by configuration. The fifth was found latest, by reading the solve trajectories: the SWE-rebench base images ship the full answer key at `/swebench_matterhorn/swebench_instance.json` (gold patch, test patch, and the graded FAIL_TO_PASS / PASS_TO_PASS node ids). Every task's Dockerfile now appends `RUN rm -rf /swebench_matterhorn`, verified behaviorally (an agent that hunts for the file no longer finds it). Eight of ~11k solve attempts had opened it; the 5 tasks whose only passing attempt read it were re-gated on stripped images, scored 0/5, and are withdrawn — hence 1,317, not 1,322:
|
| 75 |
|
| 76 |
1. **Hosted web search** — executed provider-side, invisible to sandbox egress blocks; agents were fetching the exact fix PRs. Disabled; verified zero search events on a task that previously searched 9 times. `used_web_search` is recorded on every solving record.
|
| 77 |
2. **Git history** — images carried the fix commit; agents ran `git log --all` and read it. Now scrubbed pre-agent: detach at base commit, delete all refs, expire reflog, prune; asserted that the reachable set equals HEAD ancestry and `fsck --unreachable` is empty.
|
|
|
|
| 119 |
|
| 120 |
| path | content |
|
| 121 |
|------|---------|
|
| 122 |
+
| `data/tasks-00000.tar` | all 1,317 task directories under `tasks/<instance_id>/` |
|
| 123 |
+
| `metadata/tasks.parquet` | one row per task: instance_id, tier, solver, passrate, tb_category, repo, image, base_commit, difficulty, n_f2p, n_p2p_sampled, quality_code, intent_completeness, terminal_shaped, thin_anchor, contract_unresolved, **peak_ram_mb**, **peak_disk_mb** |
|
| 124 |
| `metadata/task_ids.txt` | all instance ids, one per line |
|
| 125 |
| `metadata/batch1_ids.txt` etc. | per-tier id lists |
|
| 126 |
| `metadata/images.txt` | all Docker images referenced |
|
data/tasks-00000.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8768da2b8c72084c00efc438858a80b6b6d947c6896c8150c87827832be7f22f
|
| 3 |
+
size 55173120
|
metadata/batch1_ids.txt
CHANGED
|
@@ -104,7 +104,6 @@ fatiando__harmonica-479
|
|
| 104 |
feature-engine__feature_engine-531
|
| 105 |
feature-engine__feature_engine-793
|
| 106 |
feature-engine__feature_engine-794
|
| 107 |
-
feature-engine__feature_engine-857
|
| 108 |
fsspec__universal_pathlib-203
|
| 109 |
fsspec__universal_pathlib-204
|
| 110 |
fsspec__universal_pathlib-293
|
|
@@ -387,7 +386,6 @@ researchobject__ro-crate-py-109
|
|
| 387 |
researchobject__ro-crate-py-95
|
| 388 |
rigetticomputing__pyquil-383
|
| 389 |
robotpy__cxxheaderparser-50
|
| 390 |
-
salesforce__policy_sentry-184
|
| 391 |
sanic-org__sanic-2837
|
| 392 |
scikit-activeml__scikit-activeml-504
|
| 393 |
scrapy__scrapy-6050
|
|
|
|
| 104 |
feature-engine__feature_engine-531
|
| 105 |
feature-engine__feature_engine-793
|
| 106 |
feature-engine__feature_engine-794
|
|
|
|
| 107 |
fsspec__universal_pathlib-203
|
| 108 |
fsspec__universal_pathlib-204
|
| 109 |
fsspec__universal_pathlib-293
|
|
|
|
| 386 |
researchobject__ro-crate-py-95
|
| 387 |
rigetticomputing__pyquil-383
|
| 388 |
robotpy__cxxheaderparser-50
|
|
|
|
| 389 |
sanic-org__sanic-2837
|
| 390 |
scikit-activeml__scikit-activeml-504
|
| 391 |
scrapy__scrapy-6050
|
metadata/batch2_ids.txt
CHANGED
|
@@ -149,7 +149,6 @@ datadog__datadogpy-555
|
|
| 149 |
datadog__datadogpy-625
|
| 150 |
dataversioncontrol__dvc-562
|
| 151 |
dataversioncontrol__dvc-680
|
| 152 |
-
dirty-cat__dirty_cat-420
|
| 153 |
dirty-cat__dirty_cat-421
|
| 154 |
dpkp__kafka-python-2608
|
| 155 |
drivendataorg__cloudpathlib-104
|
|
|
|
| 149 |
datadog__datadogpy-625
|
| 150 |
dataversioncontrol__dvc-562
|
| 151 |
dataversioncontrol__dvc-680
|
|
|
|
| 152 |
dirty-cat__dirty_cat-421
|
| 153 |
dpkp__kafka-python-2608
|
| 154 |
drivendataorg__cloudpathlib-104
|
metadata/batch3_ids.txt
CHANGED
|
@@ -6,7 +6,6 @@ aws-cloudformation__cfn-lint-2891
|
|
| 6 |
aws-cloudformation__cfn-lint-3450
|
| 7 |
aws-cloudformation__cfn-lint-3582
|
| 8 |
bashtage__arch-741
|
| 9 |
-
bimmerconnected__bimmer_connected-695
|
| 10 |
celery__celery-9393
|
| 11 |
celery__celery-9669
|
| 12 |
cloudtools__troposphere-2087
|
|
@@ -251,7 +250,6 @@ python-markdown__markdown-1359
|
|
| 251 |
python-markdown__markdown-1361
|
| 252 |
python-markdown__markdown-713
|
| 253 |
python-trio__trio-3042
|
| 254 |
-
python__typing_extensions-208
|
| 255 |
python__typing_extensions-275
|
| 256 |
python__typing_extensions-417
|
| 257 |
python__typing_extensions-480
|
|
|
|
| 6 |
aws-cloudformation__cfn-lint-3450
|
| 7 |
aws-cloudformation__cfn-lint-3582
|
| 8 |
bashtage__arch-741
|
|
|
|
| 9 |
celery__celery-9393
|
| 10 |
celery__celery-9669
|
| 11 |
cloudtools__troposphere-2087
|
|
|
|
| 250 |
python-markdown__markdown-1361
|
| 251 |
python-markdown__markdown-713
|
| 252 |
python-trio__trio-3042
|
|
|
|
| 253 |
python__typing_extensions-275
|
| 254 |
python__typing_extensions-417
|
| 255 |
python__typing_extensions-480
|
metadata/passrate_distribution.json
CHANGED
|
@@ -1,28 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
},
|
| 10 |
-
"batch1|gpt-5.6-sol/high": {
|
| 11 |
-
"1/1": 390
|
| 12 |
-
},
|
| 13 |
-
"batch2|gpt-5.6-luna/max": {
|
| 14 |
-
"5/5": 419,
|
| 15 |
-
"4/5": 38,
|
| 16 |
-
"2/5": 31,
|
| 17 |
-
"1/5": 29,
|
| 18 |
-
"3/5": 18
|
| 19 |
-
},
|
| 20 |
-
"batch3|gpt-5.6-luna/max": {
|
| 21 |
-
"5/5": 261,
|
| 22 |
-
"4/5": 25,
|
| 23 |
-
"1/5": 23,
|
| 24 |
-
"3/5": 17,
|
| 25 |
-
"2/5": 13
|
| 26 |
-
}
|
| 27 |
-
}
|
| 28 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"1/1": 390,
|
| 3 |
+
"1/5": 70,
|
| 4 |
+
"2/5": 53,
|
| 5 |
+
"3/5": 41,
|
| 6 |
+
"4/5": 69,
|
| 7 |
+
"5/5": 694
|
| 8 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
metadata/task_ids.txt
CHANGED
|
@@ -155,7 +155,6 @@ berriai__litellm-5232
|
|
| 155 |
berriai__litellm-6138
|
| 156 |
berriai__litellm-9828
|
| 157 |
bids-standard__pybids-1123
|
| 158 |
-
bimmerconnected__bimmer_connected-695
|
| 159 |
biocore__biom-format-929
|
| 160 |
bloomberg__memray-552
|
| 161 |
bluesky__bluesky-1841
|
|
@@ -263,7 +262,6 @@ digitalocean__pynetbox-128
|
|
| 263 |
digitalocean__pynetbox-138
|
| 264 |
digitalocean__pynetbox-53
|
| 265 |
digitalocean__pynetbox-66
|
| 266 |
-
dirty-cat__dirty_cat-420
|
| 267 |
dirty-cat__dirty_cat-421
|
| 268 |
django-money__django-money-786
|
| 269 |
djrobstep__sqlakeyset-106
|
|
@@ -313,7 +311,6 @@ fatiando__harmonica-479
|
|
| 313 |
feature-engine__feature_engine-531
|
| 314 |
feature-engine__feature_engine-793
|
| 315 |
feature-engine__feature_engine-794
|
| 316 |
-
feature-engine__feature_engine-857
|
| 317 |
frictionlessdata__datapackage-py-260
|
| 318 |
fsspec__filesystem_spec-1829
|
| 319 |
fsspec__gcsfs-551
|
|
@@ -1047,7 +1044,6 @@ python-semver__python-semver-239
|
|
| 1047 |
python-semver__python-semver-254
|
| 1048 |
python-trio__trio-2845
|
| 1049 |
python-trio__trio-3042
|
| 1050 |
-
python__typing_extensions-208
|
| 1051 |
python__typing_extensions-237
|
| 1052 |
python__typing_extensions-275
|
| 1053 |
python__typing_extensions-417
|
|
@@ -1174,7 +1170,6 @@ rpi-distro__python-gpiozero-491
|
|
| 1174 |
rstudio__vetiver-python-185
|
| 1175 |
rstudio__vetiver-python-201
|
| 1176 |
s-knibbs__dataclasses-jsonschema-191
|
| 1177 |
-
salesforce__policy_sentry-184
|
| 1178 |
samuelcolvin__pydantic-4064
|
| 1179 |
sanic-org__sanic-2837
|
| 1180 |
sanic-org__sanic-ext-163
|
|
|
|
| 155 |
berriai__litellm-6138
|
| 156 |
berriai__litellm-9828
|
| 157 |
bids-standard__pybids-1123
|
|
|
|
| 158 |
biocore__biom-format-929
|
| 159 |
bloomberg__memray-552
|
| 160 |
bluesky__bluesky-1841
|
|
|
|
| 262 |
digitalocean__pynetbox-138
|
| 263 |
digitalocean__pynetbox-53
|
| 264 |
digitalocean__pynetbox-66
|
|
|
|
| 265 |
dirty-cat__dirty_cat-421
|
| 266 |
django-money__django-money-786
|
| 267 |
djrobstep__sqlakeyset-106
|
|
|
|
| 311 |
feature-engine__feature_engine-531
|
| 312 |
feature-engine__feature_engine-793
|
| 313 |
feature-engine__feature_engine-794
|
|
|
|
| 314 |
frictionlessdata__datapackage-py-260
|
| 315 |
fsspec__filesystem_spec-1829
|
| 316 |
fsspec__gcsfs-551
|
|
|
|
| 1044 |
python-semver__python-semver-254
|
| 1045 |
python-trio__trio-2845
|
| 1046 |
python-trio__trio-3042
|
|
|
|
| 1047 |
python__typing_extensions-237
|
| 1048 |
python__typing_extensions-275
|
| 1049 |
python__typing_extensions-417
|
|
|
|
| 1170 |
rstudio__vetiver-python-185
|
| 1171 |
rstudio__vetiver-python-201
|
| 1172 |
s-knibbs__dataclasses-jsonschema-191
|
|
|
|
| 1173 |
samuelcolvin__pydantic-4064
|
| 1174 |
sanic-org__sanic-2837
|
| 1175 |
sanic-org__sanic-ext-163
|
metadata/tasks.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d276e8af9436b36966bcdc200dd3720a23cc5aceeac16b083a8a373c7d0ec019
|
| 3 |
+
size 127328
|
metadata/validation_summary.json
CHANGED
|
@@ -23,17 +23,12 @@
|
|
| 23 |
"video-processing": 2
|
| 24 |
},
|
| 25 |
"luna_passrate_dist": {
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"luna 1/5": 22,
|
| 33 |
-
"luna 5/5": 14,
|
| 34 |
-
"luna 2/5": 10,
|
| 35 |
-
"luna 3/5": 6,
|
| 36 |
-
"luna 4/5": 6
|
| 37 |
},
|
| 38 |
"pipeline": {
|
| 39 |
"source": "nebius/SWE-rebench-V2 (train split), selected by category quotas + quality metadata",
|
|
@@ -41,5 +36,15 @@
|
|
| 41 |
"filter_1_oracle": "reference (gold) fix must pass all FAIL_TO_PASS + sampled 200 PASS_TO_PASS at training conditions (600s, 1cpu/4GB, network blocked, harness revision 10)",
|
| 42 |
"filter_2_solve": "gpt-5.6-luna effort=max, n=5 attempts; task kept iff >=1 attempt passes (batch1 also includes 391 gpt-5.6-sol effort=high single-attempt passes)",
|
| 43 |
"contamination_controls": "hosted web_search disabled (behaviorally verified); git history scrubbed to base ancestry (detached, refs deleted, gc pruned, fsck-verified); same-project newer source neutralized across all conda envs/site-packages; API key absent from argv and agent env"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
}
|
| 45 |
-
}
|
|
|
|
| 23 |
"video-processing": 2
|
| 24 |
},
|
| 25 |
"luna_passrate_dist": {
|
| 26 |
+
"1/1": 390,
|
| 27 |
+
"1/5": 70,
|
| 28 |
+
"2/5": 53,
|
| 29 |
+
"3/5": 41,
|
| 30 |
+
"4/5": 69,
|
| 31 |
+
"5/5": 694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
},
|
| 33 |
"pipeline": {
|
| 34 |
"source": "nebius/SWE-rebench-V2 (train split), selected by category quotas + quality metadata",
|
|
|
|
| 36 |
"filter_1_oracle": "reference (gold) fix must pass all FAIL_TO_PASS + sampled 200 PASS_TO_PASS at training conditions (600s, 1cpu/4GB, network blocked, harness revision 10)",
|
| 37 |
"filter_2_solve": "gpt-5.6-luna effort=max, n=5 attempts; task kept iff >=1 attempt passes (batch1 also includes 391 gpt-5.6-sol effort=high single-attempt passes)",
|
| 38 |
"contamination_controls": "hosted web_search disabled (behaviorally verified); git history scrubbed to base ancestry (detached, refs deleted, gc pruned, fsck-verified); same-project newer source neutralized across all conda envs/site-packages; API key absent from argv and agent env"
|
| 39 |
+
},
|
| 40 |
+
"shipped": 1317,
|
| 41 |
+
"withdrawn": {
|
| 42 |
+
"answer_key_leak": [
|
| 43 |
+
"bimmerconnected__bimmer_connected-695",
|
| 44 |
+
"dirty-cat__dirty_cat-420",
|
| 45 |
+
"feature-engine__feature_engine-857",
|
| 46 |
+
"python__typing_extensions-208",
|
| 47 |
+
"salesforce__policy_sentry-184"
|
| 48 |
+
]
|
| 49 |
}
|
| 50 |
+
}
|