Renaissance Labs

Index / Computing / Software and applications development and analysis

0613Software and applications development and analysis

Lego-RL SWE-Bench Verified

Lego-X/Lego-RL-SWE-Bench-Verified

Resolve the 500 SWE-bench Verified issues in Harbor task directories, graded by the official FAIL_TO_PASS and PASS_TO_PASS tests.

Open on Hugging FaceHow to run it

Good for

  • held-out SWE-bench Verified evaluation
  • validation set for RL training

Reward

How it is scored
Hidden tests
Signal
Pass or fail

test.sh applies the upstream test patch and the official swebench parser checks FAIL_TO_PASS and PASS_TO_PASS, writing a 0 or 1 reward.

How to run it

1. Get the filesthe whole repository, to a local folder

hf download Lego-X/Lego-RL-SWE-Bench-Verified --repo-type dataset --local-dir Lego-RL-SWE-Bench-Verified

2. 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/Lego-X/Lego-RL-SWE-Bench-Verified --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 with the official swebench images.

Evidence

Instance set verified identical to princeton-nlp/SWE-bench_Verified; gold patch expected to give reward 1.0.

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