Renaissance Labs · Code
Environment · 2024-12

SWE-Gym

Real GitHub issue tasks with FAIL_TO_PASS and PASS_TO_PASS tests, built for training and verifying SWE agents. Lite (230) and Raw (64,689 unvalidated PR rows) variants exist.

How to use it

Use as a small, clean RL pool with per-repo Docker images from the SWE-Gym repo; pair with the SWE-bench test harness as verifier. Combine with larger sets for scale.

Caveats

Small. Only 2.4k tasks, so pass-rate filtering leaves little. Repo overlap with SWE-bench test repos is a known contamination concern for SWE-bench evals. Images must be built or pulled separately.

load
from datasets import load_dataset
ds = load_dataset("SWE-Gym/SWE-Gym", split="train")

Related

  • Nemotron-SFT-SWE-v2: SWE-Bench-style data: OpenHands agentic trajectories and agentless sub-task SFT data built from...
  • OpenSWE (GAIR, daVinci-Env): Large open set of executable Python SWE environments with synthesis pipeline...
  • R2E-Gym (Subset): Procedurally generated executable environments from commits (back-translated issue text, LM-generated tests)...
  • SWE-Synth: Synthetic bug-fix instances with setup patches, F2P/P2P tests and problem statements, plus Moatless SFT...
  • SWE-bench (full, train/test splits): The original 2,294-issue benchmark, now with eval_script, image and log_parser columns. A SWE-bench-Train...
  • SWE-bench-Live: Continuously updated issue-resolution benchmark with docker_image, test_cmds and rebuild_cmds per task,...