AI RESEARCH

Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair

arXiv CS.AI

ArXi:2601.19066v2 Announce Type: replace-cross Bug Reproduction Tests (BRTs) have been used in many Automated Program Repair (APR) systems, primarily for validating promising fixes and aiding fix generation. In practice, when developers submit a patch, they often implement the BRT alongside the fix. Our experience deploying agentic APR reveals that developers similarly desire a BRT within AI-generated patches to increase their confidence. However, canonical APR systems tend to generate BRTs and fixes separately, and focus on producing only the fix in the final patch.