Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPT
Not on the map. Why?
Cited by 41 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Automated Program Repair (APR) aims to automatically generate patches for buggy programs. Recent APR work has been focused on leveraging modern Large Language Models (LLMs) to directly generate patches for APR. Such LLM-based APR tools work by first constructing an input prompt built using the original buggy code and then queries the LLM to generate patches. While the LLM-based APR tools are able to achieve state-of-the-art results, it still follows the classic Generate and Validate repair paradigm of first generating lots of patches and then validating each one afterwards. This not only leads to many repeated patches that are incorrect but also miss the crucial information in test failures as well as in plausible patches. To address these limitations, we propose ChatRepair, the first fully automated conversation-driven APR approach that interleaves patch generation with instant feedback to perform APR in a conversational style. ChatRepair first feeds the LLM with relevant test failure information to start with, and then learns from both failures and successes of earlier patching attempts of the same bug for more powerful APR. For earlier patches that failed to pass all tests, we combine the incorrect patches with their corresponding relevant test failure information to construct a new prompt for the LLM to generate the next patch. In this way, we can avoid making the same mistakes. For earlier patches that passed all the tests, we further ask the LLM to generate alternative variations of the original plausible patches. In this way, we can further build on and learn from earlier successes to generate more plausible patches to increase the chance of having correct patches. While our approach is general, we implement ChatRepair using state-of-the-art dialogue-based LLM -- ChatGPT. By calculating the cost of accessing ChatGPT, we can fix 162 out of 337 bugs for 0.42 each!
Key facts. Cited by 125 papers in the map (data through 7 Oct 2026). Builds on 19 of its 75 references that are in the map. First posted on arXiv 1 Apr 2023.
Builds on
19 of 75 references.
References · 19
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 193
- 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 144
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
- 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
- 2019TBar: Revisiting Template-based Automated Program Repaircited by 64
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2021Neural Program Repair with Execution-based Backpropagationcited by 50
7 more
- 2015On the "Naturalness" of Buggy Codecited by 35
- 2018FixMiner: Mining Relevant Fix Patterns for Automated Program Repaircited by 22
- 2018AVATAR : Fixing Semantic Bugs with Fix Patterns of Static Analysis Violationscited by 22
- 2021Extracting Concise Bug-Fixing Patches from Human-Written Patches in Version Control Systemscited by 9
- 2016An Analysis of the Search Spaces for Generate and Validate Patch Generation Systemscited by 8
- 2014Automatic Repair of Buggy If Conditions and Missing Preconditions with SMTcited by 7
- 2018Automatic Repair of Real Bugs in Java: A Large-Scale Experiment on the Defects4J Datasetcited by 7
Built on by
Citing papers per year: 2023: 18; 2024: 27; 2025: 42; 2026: 38.
125 papers.
Sort:
By area:
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 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
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
- 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMscited by 57
38 more
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarioscited by 49
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
- 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?cited by 40
- 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 36
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
- 2025Evaluating Agent-based Program Repair at Googlecited by 35
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
- 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Modelscited by 23
- 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkerscited by 22
- 2024Rectifier: Code Translation with Corrector via LLMscited by 20
- 2025Exploring Autonomous Agents: A Closer Look at Why They Fail When Completing Taskscited by 20
- 2023Exploring Code Analysis: Zero-Shot Insights on Syntax and Semantics with LLMscited by 19
- 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Securitycited by 19
- 2023The Hitchhiker's Guide to Program Analysis: A Journey with Large Language Modelscited by 18
- 2023FakeGPT: Fake News Generation, Explanation and Detection of Large Language Modelscited by 16
- 2025An Empirical Study on Failures in Automated Issue Solvingcited by 15
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 14
- 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 14
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
- 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Executioncited by 14
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2023Enhancing Genetic Improvement Mutations Using Large Language Modelscited by 12
- 2024Laurel: Unblocking Automated Verification with Large Language Modelscited by 10
- 2024AuditGPT: Auditing Smart Contracts with ChatGPTcited by 9
- 2024Enhancing Automated Program Repair with Solution Designcited by 8
- 2025Can Agents Fix Agent Issues?cited by 8
- 2025Dissecting the SWE-Bench Leaderboards: Profiling Submitters and Architectures of LLM- and Agent-Based Repair Systemscited by 8
- 2023Learning from Teaching Assistants to Program with Subgoals: Exploring the Potential for AI Teaching Assistantscited by 7
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugscited by 7
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunitiescited by 7
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineeringcited by 6
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedbackcited by 6
- 2025CP-Agent: Agentic Constraint Programmingcited by 6
50 most cited of 125 All 125 (JSON)
- 2026AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems29 Sep 2026
- 2026Large Language Models for Programming: Actually Fixing or Reimplementing Incorrect Code?24 Sep 2026
- 2026Externalizing Requirement-to-Repair Artifacts as Observable Traces for LLM-Based Program Repair14 Sep 2026
- 2026AI Slop and Hallucinations in Vulnerability Assessment: A Survey on Reasoning Failures and Trustworthy Mitigation26 Aug 2026
- 2026When Agents Coordinate: Measuring Coordination in Multi-Agent AI Coding17 Aug 2026
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026RefactorAssist: Agentic Refinement for Reliable Code Refactoring2 Aug 2026
- 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repair31 Jul 2026
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugs29 Jul 2026
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair28 Jul 2026
- 2026Multi-Perspective Agentic Program Repair via Code Property Graphs and Temporal Execution Graphs14 Jul 2026
- 2026TraceView: Interactive Visualization of Agentic Program Repair Trajectories20 Jun 2026
38 more
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2026ContraFix: Skill-Enhanced Contrastive Runtime Analysis for Vulnerability Repair17 May 2026
- 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair17 May 2026
- 2026Baba in Wonderland: Online Self-Supervised Dynamics Discovery for Executable World Models16 May 2026
- 2026BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Models9 May 2026
- 2026Debugging the Debuggers: Failure-Anchored Structured Recovery for Software Engineering Agents9 May 2026
- 2026MASPrism: Lightweight Failure Attribution for Multi-Agent Systems Using Prefill-Stage Signals8 May 2026
- 2026From Assistance to Agency: Rethinking Autonomy and Control in CI/CD Pipelines8 May 2026
- 2026Agentic Vulnerability Reasoning on COTS Binaries6 May 2026
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigation1 May 2026
- 2026RefEvo: Agentic Design with Co-Evolutionary Verification for Agile Reference Model Generation27 Apr 2026
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis27 Apr 2026
- 2026A Metamorphic Testing Approach to Diagnosing Memorization in LLM-Based Program Repair23 Apr 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Google13 Apr 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026AutoReSpec: A Framework for Generating Specification using Large Language Models4 Apr 2026
- 2026REAP: Automatic Curation of Coding Agent Benchmarks from Interactive Production Usage2 Apr 2026
- 2026ComBench: A Repo-level Real-world Benchmark for Compilation Error Repair28 Mar 2026
- 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repair18 Mar 2026
- 2026SemRep: Generative Code Representation Learning with Code Transformations13 Mar 2026
- 2026Can AI Agents Generate Microservices? How Far are We?9 Mar 2026
- 2026CktEvo: Repository-Level RTL Code Benchmark for Design Evolution10 Feb 2026
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution20 Jan 2026
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunities14 Jan 2026
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation8 Jan 2026
- 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Information31 Dec 2025
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios20 Dec 2025
- 2025PerfCoder: Large Language Models for Interpretable Code Performance Optimization16 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov 2025
- 2025Collaborative Agents for Automated Program Repair in Ruby6 Nov 2025
- 2025SecureReviewer: Enhancing Large Language Models for Secure Code Review through Secure-aware Fine-tuning30 Oct 2025
- 2025SIADAFIX: issue description response for adaptive program repair17 Oct 2025
- 2025SLEAN: Simple Lightweight Ensemble Analysis Network for Multi-Provider LLM Coordination: Design, Implementation, and Vibe Coding Bug Investigation Case Study11 Oct 2025
- 2025AppForge: From Assistant to Independent Developer -- Are GPTs Ready for Software Development?9 Oct 2025
- 2025The Command Line GUIde: Graphical Interfaces from Man Pages via AI1 Oct 2025
50 newest of 125 All 125 (JSON)
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
- 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarioscited by 49
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
- 2025Evaluating Agent-based Program Repair at Googlecited by 35
- 2025Exploring Autonomous Agents: A Closer Look at Why They Fail When Completing Taskscited by 20
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Securitycited by 19
- 2025An Empirical Study on Failures in Automated Issue Solvingcited by 15
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
12 most cited of 40 All 40 (JSON)
- 2026AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems29 Sep 2026
- 2026When Agents Coordinate: Measuring Coordination in Multi-Agent AI Coding17 Aug 2026
- 2026RefactorAssist: Agentic Refinement for Reliable Code Refactoring2 Aug 2026
- 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repair31 Jul 2026
- 2026MultiFixer: A Coordinator-Proposer Based Multi-Agent Framework For Fixing Multi-Hunk Bugs29 Jul 2026
- 2026Multi-Perspective Agentic Program Repair via Code Property Graphs and Temporal Execution Graphs14 Jul 2026
- 2026TraceView: Interactive Visualization of Agentic Program Repair Trajectories20 Jun 2026
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair17 May 2026
- 2026MASPrism: Lightweight Failure Attribution for Multi-Agent Systems Using Prefill-Stage Signals8 May 2026
- 2026From Assistance to Agency: Rethinking Autonomy and Control in CI/CD Pipelines8 May 2026
- 2026Agentic Vulnerability Reasoning on COTS Binaries6 May 2026
12 newest of 40 All 40 (JSON)
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
- 2025SIADAFIX: issue description response for adaptive program repaircited by 1
- 2024Demystifying Faulty Code with LLM: Step-by-Step Reasoning for Explainable Fault Localizationcited by 0
- 2025T3: Multi-level Tree-based Automatic Program Repair with Large Language Modelscited by 0
- 2026AI Slop and Hallucinations in Vulnerability Assessment: A Survey on Reasoning Failures and Trustworthy Mitigationcited by 0
- 2026AI Slop and Hallucinations in Vulnerability Assessment: A Survey on Reasoning Failures and Trustworthy Mitigation26 Aug 2026
- 2025SIADAFIX: issue description response for adaptive program repair17 Oct 2025
- 2025T3: Multi-level Tree-based Automatic Program Repair with Large Language Models26 Jun 2025
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Execution23 Aug 2024
- 2024Demystifying Faulty Code with LLM: Step-by-Step Reasoning for Explainable Fault Localization15 Mar 2024
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 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
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMscited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
12 most cited of 75 All 75 (JSON)
- 2026Large Language Models for Programming: Actually Fixing or Reimplementing Incorrect Code?24 Sep 2026
- 2026Externalizing Requirement-to-Repair Artifacts as Observable Traces for LLM-Based Program Repair14 Sep 2026
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair28 Jul 2026
- 2026ContraFix: Skill-Enhanced Contrastive Runtime Analysis for Vulnerability Repair17 May 2026
- 2026Debugging the Debuggers: Failure-Anchored Structured Recovery for Software Engineering Agents9 May 2026
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigation1 May 2026
- 2026A Metamorphic Testing Approach to Diagnosing Memorization in LLM-Based Program Repair23 Apr 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Google13 Apr 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026AutoReSpec: A Framework for Generating Specification using Large Language Models4 Apr 2026
12 newest of 75 All 75 (JSON)