Live
Black Hat USAAI BusinessBlack Hat AsiaAI BusinessThese car gadgets are worth every pennyZDNet AIContributor: Investigate the AI campaigns flooding public agencies with fake comments - Los Angeles TimesGoogle News: AIGoogle Faces Demands to Prohibit AI Videos for Kids on YouTubeBloomberg TechnologyThese pocket-sized tech gadgets are packed with purpose (and they're inexpensive)ZDNet AIThe AI Video Apps Gaining Ground After OpenAI Declared Sora DeadBloomberg TechnologyThe AI Video Apps Gaining Ground After OpenAI Declared Sora Dead - Bloomberg.comGoogle News: OpenAIAI-aligned super PACs are pouring millions into Texas congressional races - The Texas TribuneGoogle News: AIHershey applies AI across its supply chain operationsAI NewsMicrosoft Pledges $5.5 Billion AI Investment in SingaporeBloomberg TechnologyI was laid off twice from the same company. The second time was a gut punch — but taught me not to take cuts personally.Business InsiderSwiss Finance Minister Sues Over Grok’s Sexist OutburstBloomberg TechnologyMicrosoft says it is on track to invest $5.5B in cloud and AI infrastructure in Singapore through 2029, after announcing plans to invest $1B+ in Thailand (Kimberley Kao/Wall Street Journal)TechmemeBlack Hat USAAI BusinessBlack Hat AsiaAI BusinessThese car gadgets are worth every pennyZDNet AIContributor: Investigate the AI campaigns flooding public agencies with fake comments - Los Angeles TimesGoogle News: AIGoogle Faces Demands to Prohibit AI Videos for Kids on YouTubeBloomberg TechnologyThese pocket-sized tech gadgets are packed with purpose (and they're inexpensive)ZDNet AIThe AI Video Apps Gaining Ground After OpenAI Declared Sora DeadBloomberg TechnologyThe AI Video Apps Gaining Ground After OpenAI Declared Sora Dead - Bloomberg.comGoogle News: OpenAIAI-aligned super PACs are pouring millions into Texas congressional races - The Texas TribuneGoogle News: AIHershey applies AI across its supply chain operationsAI NewsMicrosoft Pledges $5.5 Billion AI Investment in SingaporeBloomberg TechnologyI was laid off twice from the same company. The second time was a gut punch — but taught me not to take cuts personally.Business InsiderSwiss Finance Minister Sues Over Grok’s Sexist OutburstBloomberg TechnologyMicrosoft says it is on track to invest $5.5B in cloud and AI infrastructure in Singapore through 2029, after announcing plans to invest $1B+ in Thailand (Kimberley Kao/Wall Street Journal)Techmeme

Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair

arXiv cs.SEby Runxiang Cheng, Michele Tufano, Jos\'e Cambronero, Renyao Wei, Sherry Shi, Grant Uy, Pat Rondon, Franjo Ivan\v{c}i\'cApril 1, 20262 min read0 views
Source Quiz

arXiv:2601.19066v2 Announce Type: replace Abstract: 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. In this paper, we study agentic APR in the context of cogeneration, where the APR agent is instructed to generate both a fix and a BRT in the same patch. We evaluate the effectiveness of different cogeneration strategies

View PDF HTML (experimental)

Abstract: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. In this paper, we study agentic APR in the context of cogeneration, where the APR agent is instructed to generate both a fix and a BRT in the same patch. We evaluate the effectiveness of different cogeneration strategies on 120 human-reported bugs at Google and characterize different cogeneration strategies by their influence on APR agent behavior. We develop and evaluate patch selectors that account for test change information to select patches with plausible fixes (and plausible BRTs). Finally, we analyze the root causes of failed cogeneration trajectories. Importantly, we show that cogeneration allows the APR agent to generate BRTs for at least as many bugs as a dedicated BRT agent, without compromising the generation rate of plausible fixes, thereby reducing engineering effort in maintaining and coordinating separate generation pipelines for fix and BRT at scale.

Subjects:

Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Cite as: arXiv:2601.19066 [cs.SE]

(or arXiv:2601.19066v2 [cs.SE] for this version)

https://doi.org/10.48550/arXiv.2601.19066

arXiv-issued DOI via DataCite

Submission history

From: Runxiang Cheng [view email] [v1] Tue, 27 Jan 2026 01:02:57 UTC (257 KB) [v2] Tue, 31 Mar 2026 05:36:04 UTC (334 KB)

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by AI News Hub · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

More about

announceproductreport

Knowledge Map

Knowledge Map
TopicsEntitiesSource
Dynamic Cog…announceproductreportstudyagenticagentarXiv cs.SE

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 155 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Research Papers