STEAM: Simulating the InTeractive BEhavior of ProgrAMmers for Automatic Bug Fixing
Yuwei Zhang, Zhi Jin, Ying Xing, Ge Li

TL;DR
This paper introduces STEAM, a stage-wise framework that simulates collaborative programmer interactions across bug reporting, diagnosis, patch generation, and verification stages using LLMs, significantly improving automatic bug fixing.
Contribution
STEAM is the first framework to model the interactive, multi-stage bug fixing process with LLMs, enhancing their collaborative bug resolution capabilities.
Findings
Achieved state-of-the-art bug fixing performance on benchmark datasets.
Effectively models multi-stage bug resolution process.
Utilizes ChatGPT for interactive bug fixing simulation.
Abstract
Bug fixing holds significant importance in software development and maintenance. Recent research has made notable progress in exploring the potential of large language models (LLMs) for automatic bug fixing. However, existing studies often overlook the collaborative nature of bug resolution, treating it as a single-stage process. To overcome this limitation, we introduce a novel stage-wise framework named STEAM in this paper. The objective of STEAM is to simulate the interactive behavior of multiple programmers involved in various stages across the bug's life cycle. Taking inspiration from bug management practices, we decompose the bug fixing task into four distinct stages: bug reporting, bug diagnosis, patch generation, and patch verification. These stages are performed interactively by LLMs, aiming to imitate the collaborative abilities of programmers during the resolution of software…
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 Engineering Techniques and Practices
