# CodeLift: Your Test Suite Is Secretly a Dense SWE Curriculum

DevFeed: [CodeLift: Your Test Suite Is Secretly a Dense SWE Curriculum](<https://devfeed.tech/articles/codelift-your-test-suite-is-secretly-a-dense-swe-curriculum-111457.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.17224>)

Author: Junjielong Xu, Huachao Zhu, Alyssa Wu, Zhichao Hu, Pinjia He

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [rlvr](<https://devfeed.tech/topics/rlvr.md>), [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [mutation-testing](<https://devfeed.tech/topics/mutation-testing.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [adaptive](<https://devfeed.tech/tags/adaptive.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [patch](<https://devfeed.tech/tags/patch.md>), [regressions](<https://devfeed.tech/tags/regressions.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [repository](<https://devfeed.tech/tags/repository.md>), [reward](<https://devfeed.tech/tags/reward.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [tests](<https://devfeed.tech/tags/tests.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

CodeLift calibrates test pass-rate rewards so software engineering agents learn from partially correct patches without letting numerous easy or already satisfied tests dominate. Each iteration groups tests that fail the same patches and patches that pass the same tests, then weights test groups according to how few patch groups pass them. It applies this scoring rule to repository snapshots within a rollout, giving credit to useful actions even if later actions cause regressions. The abstract reports consistent pass@1/2/4/8 improvements over binary-reward and pass-rate baselines on SWE benchmarks, with analyses finding dense, stable learning signals.

## Source excerpt

arXiv:2610.17224v2 Announce Type: replace 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. 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.