Index / Computing / Software and applications development and analysis
Repo2RLEnv Code Instruct
FineEnvs/repo2rlenv-code-instruct
Implement the change described by an instruction derived from a merged pull request in a Python repository.
Good for
- RL on synthetic repository tasks
Reward
- How it is scored
- Hidden tests
- Signal
- Not stated
tests/test.sh plus a baked verifier score the patch, with a breakdown in /logs/verifier/reward-details.json.
How to run it
1. From the cardcopied from the publisher's own instructions
harbor run -p /tmp/repo2rlenv-code-instruct -a oracle --env docker
2. Get the filesthe whole repository, to a local folder
hf download FineEnvs/repo2rlenv-code-instruct --repo-type dataset --local-dir repo2rlenv-code-instruct
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/FineEnvs/repo2rlenv-code-instruct --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 or Daytona.
Evidence
Gold patch oracle must score reward 1.000 as a structural check.
As reported by the publisher. We have not reproduced it.