From Seed to Scope: Reasoning to Identify Change Impact Sets
摘要
Change impact analysis (IA), which identifies the set of co-changed program elements (i.e., impact set), is critical for several software engineering tasks. However, existing IA approaches struggle with a trade-off between precision (correctly detecting impacted elements) and recall (detecting all relevant ones). More importantly, they are limited in intent-aware settings, where co-changing elements are determined by a given change intent. In this work, we propose Ripple, an intent-aware IA approach that leverages large language models (LLMs) to capture change dependencies by linking intent to program elements and estimating their co-change relationships. To address the precision-recall tradeoff, we adopt a two-phase design:
(1) a seed-to-scope expansion strategy that expands the impact set using evolutionary and dependence coupling to improve recall, and (2) a plan-then-predict strategy where an LLM-generated change plan refines impact estimation for higher precision. We evaluate Ripple on real-world commits from Apache projects, achieving a 39.7%-380.8% improvement in F1-score over existing IA approaches. In addition, Ripple introduces flexibility, allowing users to prioritize higher precision or recall based on their preferences.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Self-Consistency Improves Chain of Thought Reasoning in Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
- CodeT5+: Open Code Large Language Models for Code Understanding and Generation 引用了 Solving Quantitative Reasoning Problems with Language Models
- Solving Quantitative Reasoning Problems with Language Models 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
- Solving Quantitative Reasoning Problems with Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
它引用的 Paper20
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao 等ICLR 2024 · 2,082 次引用
- Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer 等NeurIPS 2022 · 2,039 次引用
- Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le 等ICLR 2023 · 681 次引用
- CodeT5+: Open Code Large Language Models for Code Understanding and GenerationYue Wang, Hung Le, Akhilesh Gotmare, Nghi D. Q. Bui 等EMNLP 2023 · 339 次引用
相关 Paper
- RippleGUItester: Change-Aware Exploratory TestingYanqi Su, Michael Pradel, Chunyang ChenISSTA 2026
- Enhancing Code Understanding for Impact Analysis by Combining Transformers and Program Dependence GraphsYanfu Yan, Nathan Cooper, Kevin Moran, Gabriele Bavota 等FSE 2024 · 4 次引用
- Automatically Fixing Dependency Breaking ChangesLukas Fruntke, Jens KrinkeFSE 2025
- Multi-Location Software Model CompletionAlisa Welter, Christof Tinnes, Sven ApelICSE 2026 · 1 次引用
- LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented GenerationDominik Fuchß, Tobias Hey, Jan Keim, Haoyu Liu 等ICSE 2025 · 8 次引用
