Index / Computing / Software and applications development and analysis
Repo2RLEnv ML/RL PR-Diff Benchmark
scalingX/repo2rlenv-ml-rl-bench
Read a real GitHub issue from one of 46 popular repositories, then edit the code so a private verifier scores the patch.
Good for
- issue fixing on ML libraries
- Harbor-format RL tasks
Reward
- How it is scored
- Mixed
- Signal
- Graded, 0 to 1
A 6-component weighted verifier (diff validity, size, file targeting and others) writes a score in [0,1]; the usage line also passes a judge model.
How to run it
1. From the cardcopied from the publisher's own instructions
repo2rlenv --no-ui validate <dataset> --deep --oracle harbor run --dataset <dataset> --env docker --ve ANTHROPIC_API_KEY=... R2E_JUDGE_MODEL=...
2. Get the filesthe whole repository, to a local folder
hf download scalingX/repo2rlenv-ml-rl-bench --repo-type dataset --local-dir repo2rlenv-ml-rl-bench
3. Check it with Harborcommon pattern, not from this card
# the oracle agent runs the reference solution, so no model is called
harbor run --repo https://huggingface.co/datasets/scalingX/repo2rlenv-ml-rl-bench --agent oracleIf every task passes, the environment works on your machine. Then swap in your own agent and model. Some repositories keep the tasks in a subfolder; the card says where.
Framework documentation: Harbor. Needs: Docker; API key for the judge model.
Evidence
validate --deep --oracle reports all 100 tasks valid.
As reported by the publisher. We have not reproduced it.