CodeLift: Your Test Suite Is Secretly a Dense SWE Curriculum

Junjielong Xu, Huachao Zhu, Alyssa Wu, Zhichao Hu, Pinjia He
10/12/2026
cs.LGcs.SE

No official code found. Best implementation: Siyuexi/CodeLift (1 star, Python, last commit 2026-10-12).

Abstract

The pass-all-test binary reward has become a standard recipe for training software engineering agents, but its sparsity eliminates difference of partially correct patches. The test pass-rate is a natural alternative.

Show full abstract

However, we find that it is not a reliable indicator of patch quality. A functionality being tested can be covered by either one challenging test or one hundred trivial tests, where the majority might be already satisfied pass-to-pass tests. We introduce CodeLift, a reinforcement learning method that dynamically calibrates pass-rate rewards, turning the test suite into an adaptive curriculum. At each iteration, CodeLift groups tests that kill the same patches and patches that pass the same tests, then gives more weight to test groups that fewer patch groups pass. This reduces the impact of majority simple tests and focuses more on what is still challenging. Within each rollout, CodeLift applies the same scoring rule to repository snapshots, assigning credit to useful actions even when later ones introduce regressions. Experiments on SWE benchmarks show that CodeLift consistently improves pass@1/2/4/8 over binary and pass-rate baselines. Analyses show that CodeLift provides dense, stable learning signals and unlocks the inherent curriculum in the test suite.

View on arXivView PDF

Code Implementations(1)

Siyuexi/CodeLiftCommunity25%

[WIP] CodeLift: Your Test Suite Is Secretly a Dense SWE Curriculum

10Python, ShellOct 12, 20261 months ago

Similar Papers

Cite this paper

@article{xu2026codelift,
  title  = {CodeLift: Your Test Suite Is Secretly a Dense SWE Curriculum},
  author = {Junjielong Xu and Huachao Zhu and Alyssa Wu and Zhichao Hu and Pinjia He},
  year   = {2026},
  eprint = {2610.17224},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.17224v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.17224.svg)](https://codeofpaper.com/paper/2610.17224)

Discussion