Echo: Graph-Enhanced Retrieval and Execution Feedback for Issue Reproduction Test Generation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fei, Zhiwei, Pan, Yue, Sarro, Federica, Ge, Jidong, Liu, Marc, Ng, Vincent, Ye, He
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918378439966720
author Fei, Zhiwei
Pan, Yue
Sarro, Federica
Ge, Jidong
Liu, Marc
Ng, Vincent
Ye, He
author_facet Fei, Zhiwei
Pan, Yue
Sarro, Federica
Ge, Jidong
Liu, Marc
Ng, Vincent
Ye, He
contents Identifying the root cause of a bug remains difficult for many developers because bug reports often lack a bug reproducing test case that reliably triggers the failure. Manually writing such test cases is time-consuming and requires substantial effort to understand the codebase and isolate the failing behavior. To address this challenge, we propose Echo, an agent for generating issue reproducing test cases, which advances previous work in several ways. During generation, Echo strengthens context retrieval by leveraging a code graph and a novel automatic query-refinement strategy. Echo also improves upon previous tools by automatically executing generated test cases, a first-of-its-kind feature that seamlessly integrates into practical development workflows. In addition, Echo generates potential patches and uses the patched version to validate whether a candidate test meets the fail-to-pass criterion and to provide actionable feedback for refinement. Unlike prior bug-reproduction agents that sample and rank multiple candidate tests, Echo generates a single test per issue, offering a better cost-performance trade-off. Experiments on SWT-Bench Verified show that Echo establishes a new state of the art among open-source approaches, achieving a 66.28% success rate.
format Preprint
id arxiv_https___arxiv_org_abs_2603_07326
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Echo: Graph-Enhanced Retrieval and Execution Feedback for Issue Reproduction Test Generation
Fei, Zhiwei
Pan, Yue
Sarro, Federica
Ge, Jidong
Liu, Marc
Ng, Vincent
Ye, He
Software Engineering
Identifying the root cause of a bug remains difficult for many developers because bug reports often lack a bug reproducing test case that reliably triggers the failure. Manually writing such test cases is time-consuming and requires substantial effort to understand the codebase and isolate the failing behavior. To address this challenge, we propose Echo, an agent for generating issue reproducing test cases, which advances previous work in several ways. During generation, Echo strengthens context retrieval by leveraging a code graph and a novel automatic query-refinement strategy. Echo also improves upon previous tools by automatically executing generated test cases, a first-of-its-kind feature that seamlessly integrates into practical development workflows. In addition, Echo generates potential patches and uses the patched version to validate whether a candidate test meets the fail-to-pass criterion and to provide actionable feedback for refinement. Unlike prior bug-reproduction agents that sample and rank multiple candidate tests, Echo generates a single test per issue, offering a better cost-performance trade-off. Experiments on SWT-Bench Verified show that Echo establishes a new state of the art among open-source approaches, achieving a 66.28% success rate.
title Echo: Graph-Enhanced Retrieval and Execution Feedback for Issue Reproduction Test Generation
topic Software Engineering
url https://arxiv.org/abs/2603.07326