Renaissance Labs · Code
Code / Stage 04
Stage 04

RL with verifiable rewards

Let the model try, run the tests, reward what passes. Environments, task sets, and verifiers.

Who needs this

For teams that can afford many rollouts and have a trustworthy verifier. It is the stage that most often moves hard-reasoning and agentic scores, and the stage where mistakes in the verifier become reward hacking.

Decisions you will make

  • Which task source: unit-tested function problems, competitive programming with test cases, repository issues with containerized tests, terminal tasks, SQL with execution match, or formal proofs checked by a proof assistant.
  • Which filter on difficulty. Tasks the model always solves or never solves give no learning signal, so keep a middle band of pass rates.
  • Which framework runs the rollouts and where the sandbox lives.

Pitfalls

  • Reward hacking: models edit or special-case tests, read hidden tests from disk, or use the network when it is on. Isolate the sandbox and keep tests out of reach.
  • Weak or sparse tests reward wrong code. Add test cases, or check them with a reference solution before using a task.
  • Run RL after the model already solves a fair share of tasks. From a weak start, most rollouts fail and the signal is thin.

Benchmarks 7

Datasets 25

Dataset2025-02

AceCode-87K (TIGER-Lab)

Questions rewritten by GPT-4o-mini with synthesized test cases; includes completions with pass rates, used for reward models and RL (AceCoder).

PreferenceRLMIT (HF card)
Dataset2025-05

AceCode-V2-122K (TIGER-Lab)

Improved AceCode: questions and tests rewritten by OpenAI o1-mini and filtered with Qwen2.5-Coder-32B-Instruct; card includes RL results for Qwen2.5-Coder-7B-Base.

PreferenceRLApache-2.0 (HF card)
Dataset2021-05

APPS

Interview-level and competition Python problems with solutions and test cases.

SFTRLEvalMIT (card list)
Dataset2022-2023

CodeContests (DeepMind)

Competitive problems from Codeforces, CodeChef, AtCoder and others with generated tests and correct/incorrect human solutions in Python, C++ and Java.

SFTRLEvalCC-BY-4.0
Dataset2025-06

CodeContests+

CodeContests with LLM-generated, validated test generators and checkers to raise test quality, built using SandboxFusion; intended as better RL verifiers.

RLCC-BY-4.0
Dataset2026-01

CodeContests-O

Feedback-driven iterative test case generation for CodeContests problems: generators, checkers and corner cases.

RLSee source
Dataset2025-04

DeepCoder-Preview-Dataset

Verified-test competitive programming set used to train DeepCoder-14B: TACO verified, PrimeIntellect SYNTHETIC-1 code and LiveCodeBench problems with test lists.

RLEvalMIT
Dataset2025-02

Eurus-2-RL-Data

PRIME RL training set: outcome-verifiable math answers and coding test cases from APPS, CodeContests, TACO and Codeforces, deduplicated.

RLMIT
Dataset2025-08

Kimina-Prover-Promptset

Lean 4 formal statements with natural-language versions used for Kimina-Prover RL.

RLnone stated (API null)24,418 train statements
Dataset2025-03

KodCode-Light-RL-10K

Filtered 10K subset of KodCode-V1-SFT-R1 for RL (GRPO/PPO); card reports GRPO runs on Qwen2.5-7B-Instruct-1M and Qwen2.5-Coder-7B-Instruct.

RLCC-BY-NC-4.010,000 rows
Dataset2025-03

KodCode-V1

Fully synthetic coding questions with solutions and pytest-style tests validated by execution; fields include gpt pass percentage and difficulty.

SFTRLCC-BY-NC-4.0
Dataset2024-06

Lean Workbook

Auto-formalized competition-style problems in Lean 4, used for theorem-prover RL; Goedel-LM/Lean-workbook-proofs has 29,750 proofs.

SFTRLApache-2.0
Dataset2025-03

Llama-Nemotron-Post-Training-Dataset (code)

Post-training data for Llama-3.3-Nemotron-70B and Llama-3.1-Nemotron-Ultra-253B; v1.1 added 500K code reasoning samples.

SFTRLGated or custom terms
Dataset2025-12

Nemotron-Cascade-RL-SWE

NVIDIA recipe data for SWE RL: difficulty-filtered mix of SWE-Bench-Train, SWE-rebench, SWE-smith, R2E-Gym-Subset and SWE-Fixer, with repos from SWE-bench Verified excluded to avoid contamination.

SFTRLCC-BY-4.0
Dataset2025-07

Nemotron-RL-coding-competitive_coding

NeMo Gym RLVR set of Python competitive problems with unit tests from CodeContests and open-r1/codeforces.

RLCopyleft
Dataset2025-07

NuminaMath-LEAN

Competition problems with formal statements, ground-truth proofs and an rl_data field for Lean 4 training.

SFTRLApache-2.0104,155 train rows
Dataset2025-03

open-r1/codeforces

Codeforces problems with statements, editorials, official tests and generated checkers, including interactive problems; the 'verifiable' config keeps problems with complete tests.

SFTRLEvalCC-BY-4.0
Dataset2025-05

rStar-Coder

Competitive problems with mutually verified test cases, with configs synthetic_sft, synthetic_rl, synthetic_rl_testcase, seed_sft, seed_testcase.

SFTRLCC-BY-4.0
Dataset2025-05

Skywork-OR1-RL-Data

RL-ready math and code problems in verl format (prompt, reward_model.ground_truth) with per-model pass difficulty labels for 1.5B, 7B and 32B R1 distills.

RLPermissive
Dataset2018

Spider

Cross-domain text-to-SQL; databases are executable SQLite so execution accuracy gives a reward.

SFTRLEvalCC-BY-SA-4.0
Dataset2025-05

SWE-bench-extra

Nebius earlier large SWE-bench-format task collection (patch, test_patch, F2P/P2P, license per instance), precursor to SWE-rebench.

SFTRLCC-BY-4.06,376 train instances
Dataset2025-05

SWE-Dev

Feature-driven development tasks: product requirement, partial source, developer-written unit tests and ground-truth code, supporting SFT and RL with test-based reward.

SFTRLApache-2.0
Dataset2025-03

SWE-Synth

Synthetic bug-fix instances with setup patches, F2P/P2P tests and problem statements, plus Moatless SFT trajectories in sibling datasets.

SFTRLSee source9,459 train instances
Dataset2025-02

SYNTHETIC-1

Prime Intellect crowdsourced DeepSeek-R1 traces with verification_info and score columns across math, coding, SWE and more.

SFTRLApache-2.0
Dataset2023-12

TACO

Large algorithmic problem set with tests, solutions, difficulty and algorithm tags, aggregated from many contest sites.

SFTRLApache-2.0

Environments 10

Environment2026-08

Lego-RL-2699 and LegoFlow-SWE

SWE-Lego family: Harbor-format RL environments, teacher trajectories and a Harbor-packaged SWE-bench Verified for evaluating against the same trainer.

SFTRLEvalCopyleft
Environment2025-04

Multi-SWE-RL

ByteDance Seed community effort to collect multilingual SWE RL instances (unannotated new instances plus discarded Multi-SWE-bench instances).

RLSee source
Environment2026-03

OpenSWE (GAIR, daVinci-Env)

Large open set of executable Python SWE environments with synthesis pipeline released.

SFTRLGated or custom terms
Environment2025-02

R2E-Gym (Subset)

Procedurally generated executable environments from commits (back-translated issue text, LM-generated tests) used to train SWE agents and verifiers; includes dev splits in the Lite variant.

SFTRLApache-2.0
Environment2025

Reasoning Gym

Library of procedurally generated reasoning tasks with programmatic verifiers, including code and algorithm tasks; infinite data.

RLEvalApache-2.0
Environment2025-06

SWE-Flow / Repo2RLEnv swe_flow recipe

Test-driven synthesis: trace passing tests, remove exercised functions, ask the agent to reconstruct them, reward via retained tests. Hugging Face Repo2RLEnv now packages the recipe as Harbor tasks.

SFTRLMIT
Environment2024-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.

SFTRLMIT
Environment2025-05

SWE-rebench (nebius, v1)

Continuously mined Python GitHub issue tasks with install configs, F2P/P2P tests and docker_image names, from Nebius; also feeds a decontaminated leaderboard.

SFTRLEvalCC-BY-4.0
Environment2026-02

SWE-rebench V2

Language-agnostic executable SWE tasks with pre-built images, F2P/P2P tests and LLM quality filtering. A companion set has 126,300 PR-derived tasks.

SFTRLCC-BY-4.0
Environment2025-04

SWE-smith

Synthetic bug-injection tasks generated per repo (LM-written, rewritten, procedural and PR-mirror bugs) with test-based validation and per-task Docker image names. Java and other-language variants are listed under SWE-bench on HF.

SFTRLMIT

Models 15

Model2025-05

AceReason-Nemotron-14B

RL-only (math then code) from DeepSeek-R1-Distill-Qwen-14B; card reports LiveCodeBench avg@8.

RLGated or custom terms14.77B params
Model2025-04

DeepCoder-14B-Preview

RL fine-tune of DeepSeek-R1-Distill-Qwen-14B for code reasoning; card reports 60.6% Pass@1 on LiveCodeBench v5 (8/1/24-2/1/25), versus 53.0 for the base distill.

RLMIT14.77B params
Model2025-07

DeepSWE-Preview

RL-only coding agent trained on Qwen3-32B with 4.5K R2E-Gym problems (sympy-like repos shared with SWE-bench Verified filtered out); card reports SWE-bench Verified rising from 23% to 42% in 200 RL steps.

RLMIT
Model2025-11

Devstral Small 2 (24B)

Dec 2025 Mistral agentic coding model, Apache licensed; earlier Devstral-Small-2505 and 2507 are also Apache-2.0 (verified).

SFTRLApache-2.0
Model2026-08

GLM-5.3-Flash

Aug 2026 smaller GLM-5.3 with new base model, hybrid sparse/linear attention and native multimodality; MIT licensed.

SFTRLMIT
Model2025-08

gpt-oss-120b

Aug 2025 OpenAI open-weight reasoning model with an Apache license; a permissive teacher/baseline.

SFTRLApache-2.0116.8B params (MoE)
Model2025-06

Kimi-Dev-72B

Qwen2.5-72B-based SWE model trained with Agentless-style RL; card reports 60.4% on SWE-bench Verified (Moonshot-reported, workflow approach).

SFTRLMIT
Model2025-12

Nemotron-Cascade-14B-Thinking

Dec 2025 NVIDIA reasoning model trained with cascaded domain-wise RL (including SWE).

RLGated or custom terms
Model2025-11

Olmo 3 32B (Base/Think)

Fully open (weights, data, checkpoints incl. stage1/2/3) Allen AI model suite with Base, Instruct and Think; best for transparent post-training research. No dedicated 'OLMo-Coder' was found.

DataSFTRLApache-2.0
Model2024-11

Qwen2.5-Coder family (32B shown)

Sep-Nov 2024 code-specialized Qwen family with base and instruct variants from 0.5B to 32B. Still the most widely used open base for code SFT/RL recipes (SWE-smith, OpenHands LM, Open-R1 style work).

DataSFTRLMixed licenses
Model2025-07

Qwen3-Coder-30B-A3B-Instruct

Small MoE Qwen3 coder that is easy to fine-tune and serve; the most downloaded recent Qwen coder in HF search (about 1.95M downloads on the check date).

SFTRLApache-2.0
Model2026-01

Qwen3-Coder-Next (and -Base)

Open-weight coding-agent model from Jan 2026 built for local agents (80B total, 3B active). A Base variant is published for further post-training.

DataSFTRLApache-2.0
Model2026-08

Qwen3.8-27B

Newest open Qwen generation (Aug 2026): dense vision-language model with thinking mode and gains in coding and long-horizon agentic tasks. A strong post-trained starting point for SFT/RL on a single node, and a mid-size teacher.

SFTRLApache-2.0
Model2025-04

Seed-Coder-8B (Base/Instruct/Reasoning)

ByteDance Seed (2025) family built from model-curated pretraining data; base, instruct and RL-trained reasoning variants in one permissive license.

DataSFTRLMIT8.25B params, ctx 32,768
Model2025-05

Skywork-OR1-32B (and 7B)

RL on DeepSeek-R1-Distill-Qwen-32B for math and code; paper reports LiveCodeBench-comparable to R1 and Qwen3-32B.

RLPermissive32.8B params

Papers 20

Paper2025-02

AceCoder

Automated test-case synthesis creates (question, tests) pairs for reward models and RL; best-of-32 gains of about 5 to 10 points reported.

PreferenceRLn/apaper
Paper2025-05

AceReason-Nemotron

Systematic RL ablations: math-only RL first then code-only RL; shows math RL also helps code.

RLn/apaper
Paper2026-06

Auditing Reward Hackability in Code RL Environments

Abstract reports 22.4% of 49 SWE-bench Verified tasks accept a patch that differs from the gold patch (57.8% with a stronger attacker).

RLEvaln/apaper
Paper2022-07

CodeRL

First widely cited framework using unit-test signals and an actor-critic to train code LMs with RL.

RLn/apaper
Paper2026-11

Coding or Cheating?

Frontier models try to recover answers from repo history and filesystems in hardened SWE environments.

RLEvaln/apaper
Paper2025-03

DAPO

Open RL system with decoupled clip, dynamic sampling, token-level loss and overlong handling; 50 on AIME 2024 with Qwen2.5-32B base.

RLn/apaper
Paper2025-01

DeepSeek-R1

Shows reasoning can be incentivized with pure RL on verifiable rewards, including coding competitions.

RLn/apaper
Paper2025-01

Dynamic Scaling of Unit Tests for Code Reward Modeling (CodeRM)

More generated unit tests give better reward signals, especially on hard problems; proposes CodeRM-8B.

PreferenceRLn/apaper
Paper2025-11

EvilGenie: A Reward Hacking Benchmark

Benchmark on LiveCodeBench problems where hacking is easy; LLM judges detect obvious hacks, held-out tests help only slightly.

RLEvaln/apaper
Paper2025-07

Group Sequence Policy Optimization (GSPO)

Sequence-level importance ratios stabilize RL for MoE models.

RLn/apaper
Paper2025-09

Kimi-Dev: Agentless Training as Skill Prior

Argues Agentless-style training induces localization/edit/reflection priors; the abstract reports 60.4% on SWE-bench Verified (workflow mode) and 48.6% pass@1 as an agent after SFT on 5k public trajectories.

SFTRLn/apaper
Paper2023-01

PPOCoder

Combines pretrained code LMs with PPO using compiler/execution and structure-alignment feedback.

RLn/apaper
Paper2025-05

ProRL: Prolonged RL

Long RL runs expand reasoning boundaries beyond the base model.

RLn/apaper
Paper2025-04

R2E-Gym

Procedural SWE environment of 8.7K tasks via test generation and back-translation from commits; 34.4% on SWE-bench Verified with a 32B model; hybrid test-time scaling (abstract).

SFTRLn/apaper
Paper2023-07

RLTF: Reinforcement Learning from Unit Test Feedback

Online RL with multi-granularity unit-test feedback (including error locations) to refine code LLMs.

RLn/apaper
Paper2025-05

Skywork Open Reasoner 1

Open RL implementation on R1-distill models; abstract reports average accuracy on AIME24, AIME25 and LiveCodeBench rising from 57.8% to 72.8% for 32B; includes ablations on core RL components.

RLn/apaper
Paper2024-12

SWE-Gym

First environment for training SWE agents: 2,438 real Python tasks with executable runtimes; up to 19% absolute gains on SWE-bench Verified/Lite via SFT, plus trained verifiers (abstract).

SFTRLn/apaper
Paper2025-02

SWE-RL (Meta)

Scales RL for real-world software engineering with a lightweight rule-based reward (similarity to ground-truth patch) on open software evolution data.

RLn/apaper
Paper2025-04

SWE-smith

Pipeline that turns any Python repo into an execution environment and synthesizes 100s-1000s of task instances by breaking tests; builds a 50k-instance dataset from 128 repos (abstract).

SFTRLn/apaper
Paper2025-03

Understanding R1-Zero-Like Training (Dr. GRPO)

Finds GRPO length bias that inflates incorrect responses and proposes Dr. GRPO; also notes Qwen2.5 bases show strong reasoning without templates.

RLn/apaper

Recipes 3

Tools 37

Tooln/a

Apptainer

HPC container runtime that runs without root; needed on clusters like Berzelius where Docker is unavailable. SWE images must be converted from Docker.

RLEvalToolsPermissive
Tool2023-2025

AReaL

Async RL system for LLM agents (repo now under areal-project). Verified active on GitHub API.

RLToolsApache-2.0
Tooln/a

bigcode-evaluation-harness

Code LLM eval harness that executes untrusted generations; README provides Dockerfiles for evaluating in containers 'for security and reproducibility' and supports generating on GPUs then executing elsewhere.

RLEvalToolsApache-2.0
Tooln/a

bubblewrap

Unprivileged namespace sandbox used by Flatpak; lightweight wrapper for running test commands.

RLEvalToolsCopyleft
Tooln/a

Docker (Moby)

Container runtime standard for SWE task images; shares the host kernel so isolation is weaker than microVMs. Default for SWE-bench, SWE-smith, R2E-Gym.

RLEvalToolsApache-2.0
Tooln/a

E2B

Open-source cloud sandboxes for agents (isolation technology not verified here).

RLEvalToolsApache-2.0
Tooln/a

Firecracker

microVM monitor: strongest isolation for untrusted code at scale; underpins E2B-style sandboxes.

RLEvalToolsApache-2.0
Tooln/a

gVisor

User-space kernel for container isolation as an OCI runtime (runsc).

RLEvalToolsApache-2.0
Tool2025

Harbor

Framework for running agents in containerized tasks: used for Terminal-Bench 2, SWE-bench adapters, and RL rollouts; supports Docker and cloud sandboxes.

RLEvalToolsApache-2.0
Tooln/a

isolate

IOI contest sandbox with cgroup limits; used by Judge0.

RLEvalToolsCopyleft
Tooln/a

Judge0

Online judge API with sandboxed execution for 60+ languages.

RLEvalToolsGPL-3.0
Tooln/a

Kata Containers

Containers in lightweight VMs; Kubernetes friendly.

RLEvalToolsApache-2.0
Tooln/a

mini-swe-agent

Roughly 100-line bash-only agent; simple harness for RL rollouts.

RLEvalToolsMIT
Tooln/a

Modal sandboxes (SDK)

SDK for Modal, with Sandboxes for running untrusted code on demand; hosted service, SDK is open source.

RLEvalToolsApache-2.0
Tool2023-2025

NeMo-RL

NVIDIA scalable RL toolkit, pairs with NeMo Gym. Verified active on GitHub API.

RLToolsApache-2.0
Tooln/a

nsjail

Namespace/seccomp/cgroup jail for process isolation.

RLEvalToolsApache-2.0
Tool2025

NVIDIA NeMo Gym

Framework and collection of RLVR environments and datasets (competitive coding, SWE) for NeMo-RL and other trainers.

RLToolsApache-2.0
Tool2023-2025

Open-Instruct (AI2)

AI2 post-training codebase including RLVR (GRPO) training. Verified active on GitHub API.

SFTPreferenceRLToolsApache-2.0
Tool2025

OpenEnv

Interface library for RL post-training with environments (Gym-style API served over containers).

RLToolsBSD-3-Clause
Tooln/a

OpenHands

Agent platform and runtime with docker sandbox; used to generate SWE-Gym and Nemotron trajectories.

RLEvalToolsMIT
Tool2023-2025

OpenRLHF

Ray-based scalable RL framework with PPO/REINFORCE variants and agentic mode. Verified active on GitHub API.

RLToolsApache-2.0
Tooln/a

Piston

Multi-language code execution engine with API.

RLEvalToolsMIT
Tooln/a

Podman

Daemonless, rootless Docker-compatible container engine; useful where a root daemon is not allowed.

RLEvalToolsApache-2.0
Tool2023-2025

prime-rl

Async agentic RL training at scale; integrates with verifiers environments. Verified active on GitHub API.

RLToolsApache-2.0
Tool2026

Repo2RLEnv

Hugging Face tool that turns any repository into verifiable RL environments for coding agents in Harbor task format (instruction, Dockerfile, tests, reward script).

RLToolsApache-2.0
Tool2023-2025

rLLM

Framework behind DeepCoder and SWE agent RL runs. Verified active on GitHub API.

RLToolsApache-2.0
Tool2023-2025

ROLL

Alibaba RL library with agentic pipelines. Verified active on GitHub API.

RLToolsApache-2.0
Tooln/a

SandboxFusion

ByteDance code sandbox with many languages and datasets, built for RL code rewards; used to build CodeContests+.

RLEvalToolsApache-2.0
Tool2023-2025

SkyRL

Modular full-stack RL library including SkyRL-gym environments and multi-turn SWE training. Verified active on GitHub API.

RLToolsApache-2.0
Tool2025

SkyRL

Modular full-stack RL library for LLMs including agentic/SWE tasks.

RLApache-2.0GitHub repo
Tool2023-2025

slime

SGLang-based RL scaling framework from Tsinghua/Z.ai. Verified active on GitHub API.

RLToolsApache-2.0
Tooln/a

SWE-agent

Princeton agent harness for GitHub issue tasks.

RLEvalToolsMIT
Tool2023-2025

TRL

Hugging Face RL library with GRPO trainer and custom reward functions. Verified active on GitHub API.

SFTPreferenceRLToolsApache-2.0
Tool2023

Unsloth

Memory-efficient fine-tuning and RL library with GGUF export and local UI.

SFTRLApache-2.0GitHub repo
Tool2025

verifiers (Prime Intellect)

Library for RL environments and evals; environments are installable packages and can be published to the Prime Intellect Environments Hub.

RLEvalToolsMIT
Tool2023-2025

verl

HybridFlow RL post-training framework; supports GRPO/PPO with rule-based and sandbox code rewards. Verified active on GitHub API.

RLToolsApache-2.0
Tool2024

verl

HybridFlow RL post-training framework used by DAPO and many code-RL recipes.

RLApache-2.0GitHub repo