Suping Sun commited on
Commit ·
2df77b1
1
Parent(s): 57e17e1
Improve download and validation documentation
Browse files- DATASET_SHA256SUMS +1 -1
- README.md +66 -1
DATASET_SHA256SUMS
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
11c164d4ef2972467c5903e69b83383fed0bdbb77bf9aedeeba2820026abf0e9 .gitattributes
|
| 2 |
8a9d63919c440500377f7bc9f8ce93bca4b9715aa8b58299c9368c41e07dd050 DATASET_MANIFEST.json
|
| 3 |
-
|
| 4 |
c328f27f2949a4c7fd74432dbf0baa62151d09706dd23eefd6ff7bc4fc047774 docs/REDACTION_POLICY.md
|
| 5 |
1f4727efb041dffed7028c80d7938acc00fc905557c1c3050a8281c146b6b620 scripts/verify_dataset.py
|
| 6 |
d9791a5f62c972dd028d6fabf22001143554c0ee0da03a2b49d99a437f21c494 task_pool/DATASET_MEMBERSHIP_PUBLIC.json
|
|
|
|
| 1 |
11c164d4ef2972467c5903e69b83383fed0bdbb77bf9aedeeba2820026abf0e9 .gitattributes
|
| 2 |
8a9d63919c440500377f7bc9f8ce93bca4b9715aa8b58299c9368c41e07dd050 DATASET_MANIFEST.json
|
| 3 |
+
45990b4fa20753b1762938c52db2e73885ee9e7cca0260948f1eb4fbce858938 README.md
|
| 4 |
c328f27f2949a4c7fd74432dbf0baa62151d09706dd23eefd6ff7bc4fc047774 docs/REDACTION_POLICY.md
|
| 5 |
1f4727efb041dffed7028c80d7938acc00fc905557c1c3050a8281c146b6b620 scripts/verify_dataset.py
|
| 6 |
d9791a5f62c972dd028d6fabf22001143554c0ee0da03a2b49d99a437f21c494 task_pool/DATASET_MEMBERSHIP_PUBLIC.json
|
README.md
CHANGED
|
@@ -34,6 +34,30 @@ metadata needed to interpret and verify them.
|
|
| 34 |
- `DATASET_SHA256SUMS` fixes the bytes of every released file.
|
| 35 |
- `scripts/verify_dataset.py` verifies the dataset after download.
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
## Recorded run states
|
| 38 |
|
| 39 |
The archive contains:
|
|
@@ -75,7 +99,42 @@ verification OK: tasks=47 settings=9 trajectories=423
|
|
| 75 |
```
|
| 76 |
|
| 77 |
The check validates every indexed path and hash, gzip readability, release
|
| 78 |
-
checksums, and configured sensitive-text patterns.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
|
| 80 |
## Intended use
|
| 81 |
|
|
@@ -83,6 +142,12 @@ The dataset supports research on how coding agents plan, execute, and fail at
|
|
| 83 |
fixed paper-reproduction tasks. It can also be used to reconstruct run
|
| 84 |
chronology and study tool use under the released task definitions.
|
| 85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
Do not treat a submitted metric or the final line of a log as proof of
|
| 87 |
reproduction success. Required stages, delivered artifacts, independent metric
|
| 88 |
recomputation, and safety evidence must be checked separately.
|
|
|
|
| 34 |
- `DATASET_SHA256SUMS` fixes the bytes of every released file.
|
| 35 |
- `scripts/verify_dataset.py` verifies the dataset after download.
|
| 36 |
|
| 37 |
+
## Download
|
| 38 |
+
|
| 39 |
+
This dataset is private while its license review is incomplete. Ask the
|
| 40 |
+
dataset owner for access first. Install the official Hugging Face client in an
|
| 41 |
+
isolated Python environment, then log in interactively. Do not put an access
|
| 42 |
+
token in a script, URL, or terminal log.
|
| 43 |
+
|
| 44 |
+
```bash
|
| 45 |
+
python3 -m venv .hf-venv
|
| 46 |
+
source .hf-venv/bin/activate
|
| 47 |
+
python -m pip install "huggingface_hub>=1.0,<2"
|
| 48 |
+
hf auth whoami || hf auth login
|
| 49 |
+
|
| 50 |
+
hf download SupingSun/ReproBoundary-Execution-Trajectories \
|
| 51 |
+
--repo-type dataset \
|
| 52 |
+
--revision 57e17e11f795c6df9f7806ad2262fd32897ec2e6 \
|
| 53 |
+
--local-dir ReproBoundary-Execution-Trajectories
|
| 54 |
+
|
| 55 |
+
cd ReproBoundary-Execution-Trajectories
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
The download is about 399 MB and contains 423 gzip logs. Allow at least 1 GB
|
| 59 |
+
of free space for the dataset, client environment, and temporary files.
|
| 60 |
+
|
| 61 |
## Recorded run states
|
| 62 |
|
| 63 |
The archive contains:
|
|
|
|
| 99 |
```
|
| 100 |
|
| 101 |
The check validates every indexed path and hash, gzip readability, release
|
| 102 |
+
checksums, and configured sensitive-text patterns. A full check took about two
|
| 103 |
+
minutes on the machine used for the release audit.
|
| 104 |
+
|
| 105 |
+
## Inspect one trajectory
|
| 106 |
+
|
| 107 |
+
Run this from the downloaded dataset root. It checks the first indexed log and
|
| 108 |
+
prints no more than 20 lines.
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
python3 - <<'PY'
|
| 112 |
+
import csv
|
| 113 |
+
import gzip
|
| 114 |
+
import hashlib
|
| 115 |
+
import itertools
|
| 116 |
+
from pathlib import Path
|
| 117 |
+
|
| 118 |
+
root = Path(".")
|
| 119 |
+
with (root / "trajectories/TRAJECTORY_INDEX.csv").open(encoding="utf-8") as f:
|
| 120 |
+
row = next(csv.DictReader(f))
|
| 121 |
+
|
| 122 |
+
log = root / row["trajectory_path"]
|
| 123 |
+
digest = hashlib.sha256()
|
| 124 |
+
with log.open("rb") as f:
|
| 125 |
+
for block in iter(lambda: f.read(1024 * 1024), b""):
|
| 126 |
+
digest.update(block)
|
| 127 |
+
|
| 128 |
+
print("task:", row["task_id"])
|
| 129 |
+
print("state:", row["state_status"])
|
| 130 |
+
print("path:", log)
|
| 131 |
+
print("sha256 matches index:", digest.hexdigest() == row["released_log_sha256"])
|
| 132 |
+
print("first 20 lines:")
|
| 133 |
+
with gzip.open(log, "rt", encoding="utf-8", errors="replace") as f:
|
| 134 |
+
for line in itertools.islice(f, 20):
|
| 135 |
+
print(line.rstrip())
|
| 136 |
+
PY
|
| 137 |
+
```
|
| 138 |
|
| 139 |
## Intended use
|
| 140 |
|
|
|
|
| 142 |
fixed paper-reproduction tasks. It can also be used to reconstruct run
|
| 143 |
chronology and study tool use under the released task definitions.
|
| 144 |
|
| 145 |
+
The logs do not include saved predictions, checkpoints, model weights, or
|
| 146 |
+
training states. They therefore support chronology, tool-use, failure, and
|
| 147 |
+
release-integrity analysis, but are not sufficient by themselves to recompute
|
| 148 |
+
most task metrics. Metric replay requires the additional files and public
|
| 149 |
+
dependencies named by the corresponding evaluation contract.
|
| 150 |
+
|
| 151 |
Do not treat a submitted metric or the final line of a log as proof of
|
| 152 |
reproduction success. Required stages, delivered artifacts, independent metric
|
| 153 |
recomputation, and safety evidence must be checked separately.
|