Mining Action Rules for Defect Reduction Planning
Khouloud Oueslati, Gabriel Laberge, Maxime Lamothe, Foutse Khomh

TL;DR
This paper introduces CounterACT, a novel approach for defect reduction planning in software engineering that generates actionable, explainable plans without relying on black-box models, and demonstrates its effectiveness through empirical evaluation.
Contribution
CounterACT is a new counterfactual rule mining method that produces transparent defect reduction plans, outperforming existing approaches in accuracy and usefulness.
Findings
CounterACT achieves higher overlap scores with developer modifications.
Plans from CounterACT improve future release quality.
LLM-generated code edits based on plans are more actionable and test-passing.
Abstract
Defect reduction planning plays a vital role in enhancing software quality and minimizing software maintenance costs. By training a black box machine learning model and "explaining" its predictions, explainable AI for software engineering aims to identify the code characteristics that impact maintenance risks. However, post-hoc explanations do not always faithfully reflect what the original model computes. In this paper, we introduce CounterACT, a Counterfactual ACTion rule mining approach that can generate defect reduction plans without black-box models. By leveraging action rules, CounterACT provides a course of action that can be considered as a counterfactual explanation for the class (e.g., buggy or not buggy) assigned to a piece of code. We compare the effectiveness of CounterACT with the original action rule mining algorithm and six established defect reduction approaches on 9…
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
TopicsManufacturing Process and Optimization · Business Process Modeling and Analysis
