Dynamic analysis enhances issue resolution
Mingwei Liu, Zihao Wang, Zhenxi Chen, Zheng Pei, Yanlin Wang, Zibin Zheng

TL;DR
DAIRA enhances automated code defect repair by integrating dynamic analysis, enabling precise fault localization, reducing token usage, and improving resolution rates on complex defects.
Contribution
Introduces DAIRA, a novel framework embedding dynamic analysis into LLM-based repair agents for improved accuracy and efficiency.
Findings
Achieves 79.4% resolution rate on benchmark tasks.
Resolves 44.4% of deep logical defects.
Reduces inference costs by 10% and token usage by 25%.
Abstract
Resolving complex code defects from natural language descriptions remains a fundamental software engineering challenge. Recently, large language models (LLMs) have driven the creation of agent-based automated repair systems. While improving repository-level problem-solving, current methods struggle with complex defects like intricate polymorphic control flows and implicit type degradation. These approaches rely on static analysis and shallow execution feedback, lacking the ability to monitor intermediate execution states. Consequently, agents often fall into speculative exploration, consuming significant tokens without identifying the root cause. We introduce DAIRA (Dynamic Analysis-enhanced Issue Resolution Agent), a pioneering automated repair framework deeply embedding dynamic analysis into the agent's decision loop. DAIRA employs a Test Tracing-Driven workflow, using lightweight…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
