mlsanityData to 7 Oct 2026

An Analysis of the Automatic Bug Fixing Performance of ChatGPT

arXiv 2301.08653 ↗First posted 20 Jan 2023cs.SEcited by 108

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 57; 2024: 29; 2025: 10; 2026: 12.

108 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  2. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  3. 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 243
  4. 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
  5. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
  6. 2023A Categorical Archive of ChatGPT Failurescited by 167
  7. 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 165
  8. 2023Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Modelscited by 152
  9. 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
  10. 2023Can ChatGPT Reproduce Human-Generated Labels? A Study of Social Computing Taskscited by 88
  11. 2023Exploring the Feasibility of ChatGPT for Event Extractioncited by 76
  12. 2023Large Language Models Suffer From Their Own Output: An Analysis of the Self-Consuming Training Loopcited by 75
38 more
  1. 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 74
  2. 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
  3. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
  4. 2023ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Designcited by 66
  5. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
  6. 2023Can we trust the evaluation on ChatGPT?cited by 63
  7. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
  8. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  9. 2023Why Does ChatGPT Fall Short in Providing Truthful Answers?cited by 54
  10. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
  11. 2023ChatGPT vs Human-authored Text: Insights into Controllable Text Summarization and Sentence Style Transfercited by 49
  12. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
  13. 2024Evolving Code with A Large Language Modelcited by 42
  14. 2024Prompt Stealing Attacks Against Large Language Modelscited by 39
  15. 2023In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPTcited by 35
  16. 2023Automatic Code Summarization via ChatGPT: How Far Are We?cited by 34
  17. 2023BLESS: Benchmarking Large Language Models on Sentence Simplificationcited by 34
  18. 2023Towards Human-Bot Collaborative Software Architecting with ChatGPTcited by 31
  19. 2023Fully Autonomous Programming with Large Language Modelscited by 31
  20. 2024The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmerscited by 28
  21. 2023ChatGPT for Programming Numerical Methodscited by 26
  22. 2023Holy Grail 2.0: From Natural Language to Constraint Modelscited by 24
  23. 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agendacited by 22
  24. 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
  25. 2024Performance-Aligned LLMs for Generating Fast Codecited by 20
  26. 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
  27. 2023Decoding ChatGPT: A Taxonomy of Existing Research, Current Challenges, and Possible Future Directionscited by 18
  28. 2023ChatGPT is a Remarkable Tool -- For Expertscited by 16
  29. 2024MdEval: Massively Multilingual Code Debuggingcited by 16
  30. 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 15
  31. 2026AIDev: Studying AI Coding Agents on GitHubcited by 15
  32. 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
  33. 2024CigaR: Cost-efficient Program Repair with LLMscited by 14
  34. 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 14
  35. 2025Migrating Code At Scale With LLMs At Googlecited by 14
  36. 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
  37. 2024Modulating Language Model Experiences through Frictionscited by 13
  38. 2023Analysis of ChatGPT on Source Codecited by 12

50 most cited of 108 All 108 (JSON)