ExecCritic: Learn to Test, Test to Improve for Coding Agents
Leitian Tao, Baolin Peng, Haorui Wang, Hang Wang, Hao Cheng, Wenlin Yao, et al.
arXiv:2609.09133v1When coding agents try to fix a bug, they often rely on tests to tell them whether a patch is actually correct. The problem is that if the agent writes both the code and the tests, the tests can be wrong in the same way as the patch, creating false confidence. ExecCritic tackles this by splitting the job into two roles: one agent learns to write behaviorally valid tests, and a separate repair agent uses those tests to improve the code without changing them. The authors train both roles with a reinforcement learning recipe built around test, verify, and revise. On SWE-bench Verified, better tests clearly lead to better repairs, and the full system beats a no-test baseline by a meaningful margin. Why it matters is simple: software agents are only as good as the feedback they trust. By making test generation itself a learnable skill, ExecCritic moves coding assistants closer to dependable, self-improving debugging.
Also spotted that day
Previous daily papers