Renaissance Labs

Index / Computing / Software and applications development and analysis

0613Software and applications development and analysis

Repo2RLEnv SWE-gen

FineEnvs/repo2rlenv-swe-gen

Implement a feature that was removed from a repository, described by its observable behaviour, so its tests pass.

Open on Hugging FaceHow to run it

Good for

  • RL on synthetic repository tasks

Reward

How it is scored
Hidden tests
Signal
Not stated

Tests associated with the merged pull request's added functionality verify the result.

How to run it

1. From the cardcopied from the publisher's own instructions

hf download HuggingEnvs/repo2rlenv-swe-gen 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-gen --repo-type dataset --local-dir repo2rlenv-swe-gen

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-gen --agent oracle

If 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

All 100 tasks labelled unverified; blind solver success not measured.

As reported by the publisher. We have not reproduced it.