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