SemAgent: A Semantics Aware Program Repair Agent
Anvith Pabba, Alex Mathai, Anindya Chakraborty, Baishakhi Ray

TL;DR
SemAgent introduces a semantics-aware approach to automated program repair, leveraging issue, code, and execution semantics to generate more complete and accurate patches, outperforming existing methods on benchmark datasets.
Contribution
This paper presents SemAgent, a novel workflow that incorporates deep semantic understanding into program repair, improving patch completeness and accuracy over prior local-focused systems.
Findings
Achieves 44.66% solve rate on SWEBench-Lite benchmark.
Outperforms baseline by 7.66% in repair success.
Excels in multi-line reasoning and edge-case handling.
Abstract
Large Language Models (LLMs) have shown impressive capabilities in downstream software engineering tasks such as Automated Program Repair (APR). In particular, there has been a lot of research on repository-level issue-resolution benchmarks such as SWE-Bench. Although there has been significant progress on this topic, we notice that in the process of solving such issues, existing agentic systems tend to hyper-localize on immediately suspicious lines of code and fix them in isolation, without a deeper understanding of the issue semantics, code semantics, or execution semantics. Consequently, many existing systems generate patches that overfit to the user issue, even when a more general fix is preferable. To address this limitation, we introduce SemAgent, a novel workflow-based procedure that leverages issue, code, and execution semantics to generate patches that are complete -…
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.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Testing and Debugging Techniques
