PreciseCoder: Faithful and Generalizable Debugging Beyond Unit-Test Rewards
13 Oct · Yunkai Zhan, Miaosen Chai, Shangshang Wang +5 · arXiv:2610.18755
Reinforcement learning (RL) from unit tests is the common recipe for post-training code models, but a unit test only asks whether the final program passes. We analyze what this unit-test-only reward teaches a model during debugging and find that, while it raises pass rates, it also teaches the model to edit more and to hallucinate bugs in code that is already correct. We introduce PreciseCoder, a training algorithm…