Lune

FSE2025Top-tier venue

ReproCopilot: LLM-Driven Failure Reproduction with Dynamic Refinement

Tanakorn Leesatapornwongsa, Fazle Elahi Faisal, Suman Nath

2025Year

Abstract

Failure reproduction is a crucial step for debugging software systems, but it is often challenging and time-consuming, especially when the failures are caused by complex inputs, states, or environments. In this paper, we present ReproCopilot, a tool that leverages program analysis and a large language model (LLM) to generate a workload (i.e., code and inputs) that can reproduce a given failure. ReproCopilot proposes two novel techniques: state-oriented code generation and dynamic refinement. These techniques can iteratively guide the LLM with program analysis feedback until the generated workload can successfully reproduce the target failure. We evaluate ReproCopilot on 50 real-world failures from 17 open-source projects, and show that it can reproduce 76% of them, significantly outperforming the-state-of-the-art solutions.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get ff934f7e-c2b7-4313-8eb9-f62365e30fe2

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines