Index / Computing / Software and applications development and analysis
Repo2RLEnv SWE-Flow
FineEnvs/repo2rlenv-swe-flow
Reimplement repository functions whose bodies were removed, guided by a reconstruction instruction.
Good for
- RL on synthetic repository tasks
Reward
- How it is scored
- Hidden tests
- Signal
- Not stated
The retained repository tests that passed originally give a deterministic reward.
How to run it
1. From the cardcopied from the publisher's own instructions
hf download HuggingEnvs/repo2rlenv-swe-flow tasks.tar.gz --repo-type dataset --local-dir ./dataset tar -xzf ./dataset/tasks.tar.gz -C ./dataset harbor run --path ./dataset/tasks --agent oracle --env daytona
2. Get the filesthe whole repository, to a local folder
hf download FineEnvs/repo2rlenv-swe-flow --repo-type dataset --local-dir repo2rlenv-swe-flow
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-swe-flow --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
Original functions serve as the reference solution; 2 tasks are labelled needs_repair.
As reported by the publisher. We have not reproduced it.