Skip to Content
Repo2RLEnv

Choose a pipeline

Choose a generator by its input, reward and execution requirements.

Edit on GitHub

Start with the input you have and the behavior you want to reward. repo2rlenv pipelines list shows the available native pipelines and recipes; Tasksmith has its own command group.

Four questions

  1. What is the input? PRs, commits, functions, advisories, agent sessions or task seeds?
  2. What proves success? Passing tests, reaching a shell state, matching an answer or improving an objective?
  3. Where can target code run? Local Docker for native execution; Modal or Daytona for recipes and Tasksmith.
  4. What evidence do you need? A generated example, a task with passing controls or a reviewed evaluation set?

For merged PRs, use this decision path:

Compare the routes

RouteInput → taskRewardGeneration requirements
PR diffMerged PR → reproduce its changeSimilarity plus required correctness judgeGitHub/GitLab access; no Docker or LLM during generation
PR runtimePR with tests → repair sourceFail-to-pass × pass-to-pass rateLocal Docker; bootstrap model unless reusing a build
Commit runtimeCommit with tests → repair sourceSame test contrastLocal Docker; bootstrap and instruction model
CVE patchesOSV advisory and fix → vulnerability repairSame test contrastGitHub, Python, Docker; bootstrap and optional test authoring
Code instructPython API → implement a generated requestHidden testsDocker and model-authored problem, tests and solution
Equivalence testsPython function → reimplement its behaviorDifferential testsDocker and generated tests
Trajectory to environmentAgent session → repair, build, extend or QACheck, test fraction or exact answerLocal Docker; model calls for build, extend and QA
TasksmithMerged Python PR → custom behavioral taskPrivate testsRemote worker, Pi/OpenCode author and review models
Research recipesRecipe-specific source → repair, terminal or reasoning taskRecipe-specific deterministic verifierRemote worker; most recipes also need a model

pr_diff, pr_runtime and commit_runtime are marked stable. The other routes are experimental. These are implementation statuses, not quality ratings for individual tasks. Rewards defines each score.

If you want…

GoalGood starting point
Learn the task format without building an imagePR-diff quickstart
Mine existing regression testsPR runtime or commit runtime
Design a task when a PR's own tests are insufficientTasksmith
Create repair tasks from a healthy repositorySWE-smith
Reconstruct removed functions or featuresR2E, SWE-Flow, CodeMidas
Create terminal tasksSETA Seed2Synth, TMax, Endless Terminals
Reuse recordings or existing tasksTerminalWorld, SETA Evol, DataArc
Repair broken development environmentsCLI-Gym
Generate reasoning or optimization tasksSCALER or FrontierSmith

The recipe guide maps every method to its pipeline family, input format and example configuration. Recipes are owned implementations with documented differences from the cited research.

Run your choice

RouteEntry point
Native repository pipelinerepo2rlenv generate --repo org/service --pipeline NAME --out ./tasks
Trajectory pipelinerepo2rlenv generate --config examples/trajectory-to-env.yaml
Research reciperepo2rlenv generate --config examples/owned-swe-smith.yaml after worker setup
TasksmithFollow Run one PR to supply a panel, campaign and runtime wheel

Native pipelines that bootstrap or author with a model also need --llm provider/model or an llm block. Trajectory repair has no authoring model call. Use repo2rlenv pipelines describe repo_mutate --recipe swe_smith to inspect a recipe's input and provenance without starting a paid run.

Known limits

  • Candidate limits are not output targets. Unsupported changes, failed builds and missing test contrast reduce yield. Tasksmith also has bounded attempts; it cannot guarantee one accepted task per PR.
  • Language coverage varies. Diff tasks are language-independent. Native bootstrap supports several toolchains; synthesis pipelines and Tasksmith have narrower source requirements. Check the route's guide.
  • Recipe and Tasksmith execution is remote. Their controllers need Linux, macOS or WSL. Supported GPU trials require Modal.
  • Generated and verified are different. Check each task's evaluation label and retained evidence.
  • SEC-bench is deferred. It is listed as planned and is not implemented.

On this page