FixMiner: Mining Relevant Fix Patterns for Automated Program Repair
Not on the map. Why?
Abstract (arXiv)
Patching is a common activity in software development. It is generally performed on a source code base to address bugs or add new functionalities. In this context, given the recurrence of bugs across projects, the associated similar patches can be leveraged to extract generic fix actions. While the literature includes various approaches leveraging similarity among patches to guide program repair, these approaches often do not yield fix patterns that are tractable and reusable as actionable input to APR systems. In this paper, we propose a systematic and automated approach to mining relevant and actionable fix patterns based on an iterative clustering strategy applied to atomic changes within patches. The goal of FixMiner is thus to infer separate and reusable fix patterns that can be leveraged in other patch generation systems. Our technique, FixMiner, leverages Rich Edit Script which is a specialized tree structure of the edit scripts that captures the AST-level context of the code changes. FixMiner uses different tree representations of Rich Edit Scripts for each round of clustering to identify similar changes. These are abstract syntax trees, edit actions trees, and code context trees. We have evaluated FixMiner on thousands of software patches collected from open source projects. Preliminary results show that we are able to mine accurate patterns, efficiently exploiting change information in Rich Edit Scripts. We further integrated the mined patterns to an automated program repair prototype, PARFixMiner, with which we are able to correctly fix 26 bugs of the Defects4J benchmark. Beyond this quantitative performance, we show that the mined fix patterns are sufficiently relevant to produce patches with a high probability of correctness: 81% of PARFixMiner's generated plausible patches are correct.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). First posted on arXiv 3 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 0; 2023: 6; 2024: 7; 2025: 4; 2026: 1.
22 papers.
Sort:
By area:
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
- 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 59
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 37
- 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoningcited by 11
- 2024Enhanced Automated Code Vulnerability Repair using Large Language Modelscited by 10
- 2023Revisiting the Plastic Surgery Hypothesis via Large Language Modelscited by 7
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
10 more
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Modelscited by 7
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedbackcited by 6
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
- 2023Automated Repair of Declarative Software Specifications in the Era of Large Language Modelscited by 1
- 2025BitsAI-Fix: LLM-Driven Approach for Automated Lint Error Resolution in Practicecited by 1
- 2023A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworkscited by 0
- 2024NARRepair: Non-Autoregressive Code Generation Model for Automatic Program Repaircited by 0
- 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repaircited by 0
- 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repaircited by 0
- 2026VCE-Skill: Enhancing Skill Self-Evolution with Version-Change Experiencecited by 0
- 2026VCE-Skill: Enhancing Skill Self-Evolution with Version-Change Experience17 Aug 2026
- 2025BitsAI-Fix: LLM-Driven Approach for Automated Lint Error Resolution in Practice5 Aug 2025
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback24 Jul 2025
- 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repair12 May 2025
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models5 May 2025
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignment30 Sep 2024
- 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair18 Aug 2024
- 2024NARRepair: Non-Autoregressive Code Generation Model for Automatic Program Repair24 Jun 2024
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphs3 Jun 2024
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarks8 May 2024
- 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generation4 May 2024
- 2024Enhanced Automated Code Vulnerability Repair using Large Language Models8 Jan 2024
10 more
- 2023Automated Repair of Declarative Software Specifications in the Era of Large Language Models19 Oct 2023
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repair1 Sep 2023
- 2023A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworks9 Aug 2023
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPT1 Apr 2023
- 2023Revisiting the Plastic Surgery Hypothesis via Large Language Models18 Mar 2023
- 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoning3 Jan 2023
- 2021Learning to Synthesize Programs as Interpretable and Generalizable Policies31 Aug 2021
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Cases28 Jul 2021
- 2021A Syntax-Guided Edit Decoder for Neural Program Repair15 Jun 2021
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repair26 Feb 2021
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
- 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 59
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoningcited by 11
- 2024Enhanced Automated Code Vulnerability Repair using Large Language Modelscited by 10
- 2023Revisiting the Plastic Surgery Hypothesis via Large Language Modelscited by 7
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Modelscited by 7
12 most cited of 19 All 19 (JSON)
- 2026VCE-Skill: Enhancing Skill Self-Evolution with Version-Change Experience17 Aug 2026
- 2025BitsAI-Fix: LLM-Driven Approach for Automated Lint Error Resolution in Practice5 Aug 2025
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models5 May 2025
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignment30 Sep 2024
- 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair18 Aug 2024
- 2024NARRepair: Non-Autoregressive Code Generation Model for Automatic Program Repair24 Jun 2024
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphs3 Jun 2024
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarks8 May 2024
- 2024Enhanced Automated Code Vulnerability Repair using Large Language Models8 Jan 2024
- 2023Automated Repair of Declarative Software Specifications in the Era of Large Language Models19 Oct 2023
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repair1 Sep 2023
- 2023A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworks9 Aug 2023
12 newest of 19 All 19 (JSON)