An Analysis of the Automatic Bug Fixing Performance of ChatGPT
Not on the map. Why?
Abstract (arXiv)
To support software developers in finding and fixing software bugs, several automated program repair techniques have been introduced. Given a test suite, standard methods usually either synthesize a repair, or navigate a search space of software edits to find test-suite passing variants. Recent program repair methods are based on deep learning approaches. One of these novel methods, which is not primarily intended for automated program repair, but is still suitable for it, is ChatGPT. The bug fixing performance of ChatGPT, however, is so far unclear. Therefore, in this paper we evaluate ChatGPT on the standard bug fixing benchmark set, QuixBugs, and compare the performance with the results of several other approaches reported in the literature. We find that ChatGPT's bug fixing performance is competitive to the common deep learning approaches CoCoNut and Codex and notably better than the results reported for the standard program repair approaches. In contrast to previous approaches, ChatGPT offers a dialogue system through which further information, e.g., the expected output for a certain input or an observed error message, can be entered. By providing such hints to ChatGPT, its success rate can be further increased, fixing 31 out of 40 bugs, outperforming state-of-the-art.
Key facts. Cited by 108 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Jan 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 57; 2024: 29; 2025: 10; 2026: 12.
108 papers.
Sort:
By area:
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 243
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2023A Categorical Archive of ChatGPT Failurescited by 167
- 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 165
- 2023Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Modelscited by 152
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2023Can ChatGPT Reproduce Human-Generated Labels? A Study of Social Computing Taskscited by 88
- 2023Exploring the Feasibility of ChatGPT for Event Extractioncited by 76
- 2023Large Language Models Suffer From Their Own Output: An Analysis of the Self-Consuming Training Loopcited by 75
38 more
- 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 74
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2023ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Designcited by 66
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2023Can we trust the evaluation on ChatGPT?cited by 63
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023Why Does ChatGPT Fall Short in Providing Truthful Answers?cited by 54
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
- 2023ChatGPT vs Human-authored Text: Insights into Controllable Text Summarization and Sentence Style Transfercited by 49
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
- 2024Evolving Code with A Large Language Modelcited by 42
- 2024Prompt Stealing Attacks Against Large Language Modelscited by 39
- 2023In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPTcited by 35
- 2023Automatic Code Summarization via ChatGPT: How Far Are We?cited by 34
- 2023BLESS: Benchmarking Large Language Models on Sentence Simplificationcited by 34
- 2023Towards Human-Bot Collaborative Software Architecting with ChatGPTcited by 31
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
- 2024The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmerscited by 28
- 2023ChatGPT for Programming Numerical Methodscited by 26
- 2023Holy Grail 2.0: From Natural Language to Constraint Modelscited by 24
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agendacited by 22
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024Performance-Aligned LLMs for Generating Fast Codecited by 20
- 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
- 2023Decoding ChatGPT: A Taxonomy of Existing Research, Current Challenges, and Possible Future Directionscited by 18
- 2023ChatGPT is a Remarkable Tool -- For Expertscited by 16
- 2024MdEval: Massively Multilingual Code Debuggingcited by 16
- 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 15
- 2026AIDev: Studying AI Coding Agents on GitHubcited by 15
- 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 14
- 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 14
- 2025Migrating Code At Scale With LLMs At Googlecited by 14
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
- 2024Modulating Language Model Experiences through Frictionscited by 13
- 2023Analysis of ChatGPT on Source Codecited by 12
50 most cited of 108 All 108 (JSON)
- 2026Externalizing Requirement-to-Repair Artifacts as Observable Traces for LLM-Based Program Repair14 Sep 2026
- 2026Legacy System Modernization with Coding Agents: A Case Study29 Aug 2026
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugs29 Jul 2026
- 2026Empirical Software Engineering TerraProbe: A Layered-Oracle Framework for Detecting Deceptive Fixes in LLM-Assisted Terraform25 Jun 2026
- 2026Agentic Generation of AST Transformation Rules for Fixing Breaking Updates23 Jun 2026
- 2026Beyond Pass Rate: A Multilingual, Execution-Grounded Evaluation of Open Code LLMs7 Jun 2026
- 2026BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Models9 May 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review16 Apr 2026
- 2026AIDev: Studying AI Coding Agents on GitHub9 Feb 2026
- 2026Why Are AI Agent Involved Pull Requests (Fix-Related) Remain Unmerged? An Empirical Study29 Jan 2026
- 2026Principled Fine-tuning of LLMs from User-Edits: A Medley of Preference, Supervision, and Reward27 Jan 2026
38 more
- 2025Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategies27 Oct 2025
- 2025DSBC : Data Science task Benchmarking with Context engineering31 Jul 2025
- 2025IFEvalCode: Controlled Code Generation30 Jul 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025Navigating Pitfalls: Evaluating LLMs in Machine Learning Programming Education23 May 2025
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models5 May 2025
- 2025Migrating Code At Scale With LLMs At Google13 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2025Exploring Large Language Models for Semantic Analysis and Categorization of Android Malware8 Jan 2025
- 2024SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework28 Nov 2024
- 2024Curriculum Demonstration Selection for In-Context Learning27 Nov 2024
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineering23 Nov 2024
- 2024MdEval: Massively Multilingual Code Debugging4 Nov 2024
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs16 Sep 2024
- 2024Exploring the Integration of Large Language Models in Industrial Test Maintenance Processes10 Sep 2024
- 2024Can OpenSource beat ChatGPT? -- A Comparative Study of Large Language Models for Text-to-Code Generation6 Sep 2024
- 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMs7 Aug 2024
- 2024A Qualitative Study on Using ChatGPT for Software Security: Perception vs. Practicality1 Aug 2024
- 2024Exploring the Capability of ChatGPT to Reproduce Human Labels for Social Computing Tasks (Extended Version)8 Jul 2024
- 2024Modulating Language Model Experiences through Frictions24 Jun 2024
- 2024OptLLM: Optimal Assignment of Queries to Large Language Models24 May 2024
- 2024Large Language Models for Cyber Security: A Systematic Literature Review8 May 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024Performance-Aligned LLMs for Generating Fast Code29 Apr 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agenda15 Apr 2024
- 2024Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forward12 Apr 2024
- 2024The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmers3 Apr 2024
- 2024AI-Tutoring in Software Engineering Education3 Apr 2024
- 2024Enhancing Programming Education with ChatGPT: A Case Study on Student Perceptions and Interactions in a Python Course20 Mar 2024
- 2024Leveraging Large Language Models to Detect npm Malicious Packages18 Mar 2024
- 2024Prompt Stealing Attacks Against Large Language Models20 Feb 2024
- 2024CigaR: Cost-efficient Program Repair with LLMs9 Feb 2024
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMs6 Feb 2024
- 2024Copilot-in-the-Loop: Fixing Code Smells in Copilot-Generated Python Code using Copilot25 Jan 2024
- 2024Assessing the Latent Automated Program Repair Capabilities of Large Language Models using Round-Trip Translation15 Jan 2024
- 2024Evolving Code with A Large Language Model13 Jan 2024
50 newest of 108 All 108 (JSON)
- 2026AIDev: Studying AI Coding Agents on GitHubcited by 15
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
- 2026Why Are AI Agent Involved Pull Requests (Fix-Related) Remain Unmerged? An Empirical Studycited by 3
- 2025DSBC : Data Science task Benchmarking with Context engineeringcited by 1
- 2026Agentic Generation of AST Transformation Rules for Fixing Breaking Updatescited by 0
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugscited by 0
- 2026Legacy System Modernization with Coding Agents: A Case Studycited by 0
- 2026Legacy System Modernization with Coding Agents: A Case Study29 Aug 2026
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugs29 Jul 2026
- 2026Agentic Generation of AST Transformation Rules for Fixing Breaking Updates23 Jun 2026
- 2026AIDev: Studying AI Coding Agents on GitHub9 Feb 2026
- 2026Why Are AI Agent Involved Pull Requests (Fix-Related) Remain Unmerged? An Empirical Study29 Jan 2026
- 2025DSBC : Data Science task Benchmarking with Context engineering31 Jul 2025
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2023POSQA: Probe the World Models of LLMs with Size Comparisons20 Oct 2023
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2023A Categorical Archive of ChatGPT Failurescited by 167
- 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 165
- 2023Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Modelscited by 152
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2023Can ChatGPT Reproduce Human-Generated Labels? A Study of Social Computing Taskscited by 88
- 2023Exploring the Feasibility of ChatGPT for Event Extractioncited by 76
- 2023Large Language Models Suffer From Their Own Output: An Analysis of the Self-Consuming Training Loopcited by 75
- 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 74
12 most cited of 97 All 97 (JSON)
- 2026Externalizing Requirement-to-Repair Artifacts as Observable Traces for LLM-Based Program Repair14 Sep 2026
- 2026Empirical Software Engineering TerraProbe: A Layered-Oracle Framework for Detecting Deceptive Fixes in LLM-Assisted Terraform25 Jun 2026
- 2026Beyond Pass Rate: A Multilingual, Execution-Grounded Evaluation of Open Code LLMs7 Jun 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review16 Apr 2026
- 2026Principled Fine-tuning of LLMs from User-Edits: A Medley of Preference, Supervision, and Reward27 Jan 2026
- 2025Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategies27 Oct 2025
- 2025IFEvalCode: Controlled Code Generation30 Jul 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025Navigating Pitfalls: Evaluating LLMs in Machine Learning Programming Education23 May 2025
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models5 May 2025
- 2025Migrating Code At Scale With LLMs At Google13 Apr 2025
12 newest of 97 All 97 (JSON)