ReleaseSynth: Scaling Data from Software Evolution for Long-Horizon Coding Agents

Man Ho Lam, Chaozheng Wang, Zongjie Li, Ting Peng, Yulun Wu, Hange Liu, Jen-tse Huang, Terry Yue Zhuo, Michael R. LyuarXiv 2026

TL;DR

Coding agents are getting pretty good at fixing small bugs, but they still struggle when asked to build whole features from scratch. RELEASESYNTH solves this training-data bottleneck by mining real-world software releases, isolating individual new features, and turning them into 45,262 executable coding tasks. Fine-tuning open-weight Qwen models on successful teacher trajectories boosts long-horizon feature implementation by up to 20.0 percentage points—and surprisingly, those gains spill over into bug fixing, terminal workflows, and from-scratch repo generation.

What Problem Does This Paper Address?

If you want to train an AI coding agent to handle big, multi-file engineering projects, you need big, multi-file training tasks. Today’s standard pipelines mostly mine single GitHub issues, commits, or pull requests (PRs). Those work well for localized bug fixes, but they fall short for long-horizon development: a user-facing feature often spans multiple PRs, and issue threads can be messy or accidentally give away the solution.

On the flip side, looking at an entire software release (say, v1.0 to v2.0) captures major features cleanly—release notes literally summarize what’s new, and the code diff plus upstream tests provide the ground truth. The catch? An entire version transition is way too massive to serve as a single training task. The authors bridge this gap by decomposing version transitions into bite-sized, feature-level tasks.

Methods

RELEASESYNTH is a four-stage automated pipeline that turns software evolution into supervised fine-tuning (SFT) data:

Figure 1. Overview of RELEASESYNTH: synthesizing feature tasks from version transitions for SFT.
  1. Discover & Mine: The pipeline scrapes open-source GitHub repositories across 10 programming languages, keeping major and minor version transitions $(A, B)$ with substantial release notes ($\ge 1,500$ characters) and code changes ($\ge 300$ lines across $\ge 5$ files).
  2. Extract, Match & Build: Using DeepSeek-V4.1-Flash, an agent splits messy release notes into individual changes, matches each change to its modified files, and builds a reproducible Docker environment for release $B$ (containing only dependencies, no project source code). Only feature changes of moderate-to-large scale (200 to 5,000 weighted changed lines) are kept.
  3. Task Synthesis: Using DeepSeek-V4.1-Flash-1017 with Claude Code, the pipeline masks each selected feature from release $B$ to create a starting state, writes a task prompt describing the required behavior without leaking implementation details, and builds a test oracle from masked and newly written hidden tests. Every task is verified end-to-end (requiring $\ge 10$ fail-to-pass tests) and guarded against data leakage via answer-scanning, single-commit git history, and disabled network access.
  4. Distillation: The same teacher model (DeepSeek-V4.1-Flash-1017 + Claude Code) attempts to solve each task in an isolated container. Only rollouts passing all fail-to-pass and pass-to-pass tests are kept. When long trajectories hit the 170k-token auto-compaction limit, they are split into before-compaction, summary, and continuation segments for training.

Datasets

  • Training Data (RELEASESYNTH): 45,262 verified tasks from 8,604 transitions in 6,062 repositories (median 400 changed lines across 7 files). Teacher rollouts succeeded on 19,461 tasks, yielding 25,422 training trajectories averaging 91.7k tokens and 41.2 assistant turns.
  • Evaluation Benchmarks:
  • In-domain: DeepSWE v1.1 (long-horizon feature implementation).
  • Cross-task generalization: SWE-Bench Pro v2 (issue resolution), Terminal-Bench 2.1 (terminal workflows), and NL2Repo-Bench (from-scratch repository generation).
Figure 2. Dataset coverage, reference-patch sizes, and trajectory lengths of RELEASESYNTH. (b) includes all 8,604 transitions yielding verified tasks. (e) and (f) show lengths before splitting and after splitting compacted trajectories. Appendix B provides additional statistics.

Key Insights and Ideas

  • Feature-scale SFT generalizes broadly: Even though RELEASESYNTH contains zero terminal or bug-fix tasks, training on feature implementation makes models much better at issue resolution, terminal workflows, and from-scratch coding.
  • Smaller models can punch above their weight: Fine-tuning Qwen3.6-27B on RELEASESYNTH allows it to outperform the larger/newer base Qwen3.8-27B across all three cross-task benchmarks.
  • Near-misses hide real progress: On DeepSWE v1.1, task-level pass rates only tell part of the story. Fine-tuned models actually pass 72.7% to 87.4% of fail-to-pass tests on average, and pass@3 jumps to 74.3% for Qwen3.8-27B—meaning the models often know how to build the feature, but struggle with consistency.
  • Skills transfer across scaffolds: Models trained only on Claude Code trajectories still beat their baselines when evaluated on OpenCode, Codex, and mini-swe-agent, and their gains hold up even without context compaction.

Key Results

Fine-tuning three Qwen models for 3 epochs on RELEASESYNTH trajectories yielded consistent gains across the board (averaged over 3 runs with Claude Code):

  • DeepSWE v1.1 (In-domain):
  • Qwen3.6-35B-A3B: 0.0% $\rightarrow$ 13.9% (+13.9 pp)
  • Qwen3.6-27B: 13.3% $\rightarrow$ 33.3% (+20.0 pp)
  • Qwen3.8-27B: 42.2% $\rightarrow$ 46.3% (+4.1 pp)
  • Cross-Task Generalization (Qwen3.6-27B):
  • SWE-Bench Pro v2: 81.6% $\rightarrow$ 93.7% (+12.1 pp)
  • Terminal-Bench 2.1: 63.4% $\rightarrow$ 76.0% (+12.6 pp)
  • NL2Repo-Bench: 36.2% $\rightarrow$ 46.7% (+10.5 pp)
  • Qwen3.8-27B + RELEASESYNTH also reached 81.3% on Terminal-Bench 2.1 and 94.0% on SWE-Bench Pro v2, rivaling or beating RL-trained baselines like DaisyRose-27B.

Limitations and Future Work

The authors note several practical boundaries:

  • Language & task scope: Coverage is skewed toward Python and TypeScript, with limited PHP and Ruby. Non-feature changes (bug fixes, breaking changes, dependency updates) were mined but left unused.
  • Single teacher & SFT-only: Due to compute constraints, only one teacher model was used, no data-scaling curves were run, and reinforcement learning (RL) on the synthesized environments is left for future work.

Summary updated

BibTeX
@misc{lam2026releasesynth,
  author = {Man Ho Lam and Chaozheng Wang and Zongjie Li and Ting Peng and Yulun Wu and Hange Liu and Jen-tse Huang and Terry Yue Zhuo and Michael R. Lyu},
  title = {{ReleaseSynth: Scaling Data from Software Evolution for Long-Horizon Coding Agents}},
  year = {2026},
  eprint = {2612.01824},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.01824},
}
Figure