Search papers, labs, and topics across Lattice.
This paper introduces IssueExec, a novel approach for localizing software engineering issues by leveraging test suites as proxies for requirements, addressing the challenges posed by the abstraction gap between issue descriptions and code. The authors conducted a theoretical analysis and a large-scale empirical study, revealing that existing tests cover nearly all relevant files and that a two-hop pathway significantly enhances semantic connectivity compared to direct matching. IssueExec achieves state-of-the-art performance, with a 41.57% improvement in function-level Recall@1 and a 17.72% increase in issue resolution when integrated into the Agentless pipeline.
Test suites can dramatically enhance issue localization accuracy, bridging the gap between abstract descriptions and concrete code.
Issue localization, which identifies code locations requiring modification from issue descriptions, is a critical step in automated software maintenance. Existing approaches predominantly attempt to directly align issue descriptions with code elements, yet often struggle due to the inherent abstraction gap between the issue description and code implementation. Seeking alternative signals, our theoretical analysis suggests that test suites can serve as executable proxies for requirements, reducing localization uncertainty by 7.73 bits of entropy on average. A large-scale empirical study on 18 repositories validates this premise: existing tests cover 96.98\% of ground-truth files, and the two-hop pathway yields stronger semantic connectivity than direct matching in 82.4\% of cases. Despite their potential, leveraging tests for localization faces two key challenges: the semantic gap separating issue descriptions from test identifiers, and the substantial noise in execution traces from infrastructure code. To address these, we propose IssueExec, which bridges the semantic gap through domain-knowledge-enhanced test representations and filters noise via hierarchical trace analysis. Experiments on SWE-bench Lite show that IssueExec achieves state-of-the-art performance, improving function-level Recall@1 by 41.57\% over the strongest baseline. When integrated into the Agentless pipeline, IssueExec resolves 17.72\% more issues, demonstrating practical downstream benefits.