Datasets:
Add provenance / verification-scope note and full task manifest
Browse files- PROVENANCE.md +59 -0
PROVENANCE.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Provenance & Verification Scope
|
| 2 |
+
|
| 3 |
+
## Generation
|
| 4 |
+
|
| 5 |
+
- **Generator**: [Repo2RLEnv](https://github.com/huggingface/Repo2RLEnv) v0.9.6, native
|
| 6 |
+
`pr_diff` pipeline. Output is byte-format identical to native Repo2RLEnv Harbor tasks
|
| 7 |
+
(the real `PRDiffPipeline.run()` / `write_harbor_task()` was driven with a thin fake
|
| 8 |
+
provider that injects collected PR metadata + oracle diffs — not a reimplementation).
|
| 9 |
+
- **Source pool**: 1003 unique repositories harvested from GitHub Trending
|
| 10 |
+
(daily / weekly / monthly, 49 language/general pages). 217 of them contributed at least
|
| 11 |
+
one emitted task.
|
| 12 |
+
- **Task count**: 10,000 Harbor-format RL environments (flat `<task-id>/` layout on GitHub,
|
| 13 |
+
`tasks/<task-id>/` layout on HF Hub).
|
| 14 |
+
- **Oracle data**: real merged pull requests. PR metadata from GitHub GraphQL
|
| 15 |
+
(`baseRefOid`/`headRefOid`, verified byte-for-byte against REST `.base.sha` on
|
| 16 |
+
sampled PRs). The oracle diff is synthesized locally with
|
| 17 |
+
`git diff base_sha...head_sha` after an anonymous `git clone --no-checkout` into
|
| 18 |
+
`/tmp` and one batched `git fetch` of all PR head refs. This avoids the per-PR
|
| 19 |
+
`.diff` CDN rate limits and consumes no REST/GraphQL quota. Synthesized diffs are
|
| 20 |
+
valid unified diffs (identical file set and hunks; only abbreviated `index` hashes
|
| 21 |
+
and hunk-header context lines differ from GitHub's rendering).
|
| 22 |
+
- **Determinism**: generation is reproducible given the collected metadata + diffs
|
| 23 |
+
(SEED=42); the final set is trimmed deterministically to exactly 10,000 tasks.
|
| 24 |
+
|
| 25 |
+
## Validation actually performed
|
| 26 |
+
|
| 27 |
+
- ✅ `repo2rlenv validate --oracle --deep` on the full 10,000-task set →
|
| 28 |
+
`✓ all 10,000 tasks valid` (structural/oracle-asset validation).
|
| 29 |
+
- ✅ HF Hub pull-back (`repo2rlenv pull ... --task <id>`) → re-validated
|
| 30 |
+
`✓ all 1 tasks valid`.
|
| 31 |
+
- ✅ Published-artifact readback: HF commit `863bb3a9...` with
|
| 32 |
+
10,000 `task.toml` under `tasks/`; GitHub commit `515b5c7f7da7` with
|
| 33 |
+
10,000 `task.toml` in the git tree (100,002 tracked files).
|
| 34 |
+
|
| 35 |
+
## Verification NOT performed (important)
|
| 36 |
+
|
| 37 |
+
The build host had **no Docker daemon, no Harbor runtime, and no LLM-judge API key**.
|
| 38 |
+
Therefore this dataset has **only static structural validation**:
|
| 39 |
+
|
| 40 |
+
- ❌ Dockerfiles were **not built** (each is `FROM python:3.12-slim` + inline recipe).
|
| 41 |
+
- ❌ Oracle patches were **not applied** inside a container.
|
| 42 |
+
- ❌ No Harbor / Oracle execution or PR-diff correctness judge was run.
|
| 43 |
+
|
| 44 |
+
Consumers should rebuild the inline Dockerfile and run Harbor themselves for
|
| 45 |
+
execution-level verification. Treat the tasks as structurally-valid Harbor task
|
| 46 |
+
specifications, not as execution-verified environments.
|
| 47 |
+
|
| 48 |
+
## Files
|
| 49 |
+
|
| 50 |
+
- `manifest.json` — native Repo2RLEnv manifest (per-task composition; 10,000 tasks).
|
| 51 |
+
- `registry.json` — native Repo2RLEnv registry pinned to the push commit (HF).
|
| 52 |
+
- `dataset_manifest.json` / `PROVENANCE.md` — supplementary full task list + this note.
|
| 53 |
+
- `r2e_dataset_manifest.json` sha256: `84daeb30b720fd7ad6f5971d00239c82e394be6f01740c5949a521a41db4f9bb`
|
| 54 |
+
|
| 55 |
+
## Licensing
|
| 56 |
+
|
| 57 |
+
Source repositories and their merged PRs retain their respective licenses and terms;
|
| 58 |
+
this dataset redistributes PR diffs / metadata for research use. Check each source
|
| 59 |
+
repo's license and provenance before any redistribution or commercial use.
|