paper-with-me

Papers

Mining Action Rules for Defect Reduction Planning

2024-05-22 · Khouloud Oueslati, Gabriel Laberge, Maxime Lamothe, Foutse khomh

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 software projects. Our evaluation is based on (a) overlap scores between proposed code changes and actual developer modifications; (b) improvement scores in future releases; and (c) the precision, recall, and F1-score of the plans. Our results show that, compared to competing approaches, CounterACT's explainable plans achieve higher overlap scores at the release level (median 95%) and commit level (median 85.97%), and they offer better trade-off between precision and recall (median F1-score 88.12%). Finally, we venture beyond planning and explore leveraging Large Language models (LLM) for generating code edits from our generated plans. Our results show that suggested LLM code edits supported by our plans are actionable and are more likely to pass relevant test cases than vanilla LLM code recommendations.

📄 PDF Abstract BibTeX arXiv:2405.13740

Code (0)

등록된 구현이 없습니다.

Tasks

counterfactualCounterfactual Explanation

Similar Papers 제목 키워드 기반

SQAPlanner: Generating Data-Informed Software Quality Improvement Plans

2021-02-19 · Dilini Rajapaksha, Chakkrit Tantithamthavorn, Jirayus Jiarpakdee, Christoph Bergmeir 외

Software Quality Assurance (SQA) planning aims to define proactive plans, such as defining maximum file size, to prevent the occurrence of software defects in future releases. To aid this, defect prediction models have b…

Iterative Cluster Harvesting for Wafer Map Defect Patterns

2024-04-23 · Alina Pleli, Simon Baeuerle, Michel Janus, Jonas Barth 외

Unsupervised clustering of wafer map defect patterns is challenging because the appearance of certain defect patterns varies significantly. This includes changing shape, location, density, and rotation of the defect area…

ClusteringDimensionality Reduction

Extracting Rules from Event Data for Study Planning

2023-10-04 · Majid Rafiei, Duygu Bayrak, Mahsa Pourbafrani, Gyunam Park 외

In this study, we examine how event data from campus management systems can be used to analyze the study paths of higher education students. The main goal is to offer valuable guidance for their study planning. We employ…

Management

A Combined Approach of Process Mining and Rule-based AI for Study Planning and Monitoring in Higher Education

2022-11-22 · Miriam Wagner, Hayyan Helal, Rene Roepke, Sven Judel 외

This paper presents an approach of using methods of process mining and rule-based artificial intelligence to analyze and understand study paths of students based on campus management system data and study program models.…

Management

Some Orders Are Important: Partially Preserving Orders in Top-Quality Planning

2024-04-01 · Michael Katz, JunKyu Lee, Jungkoo Kang, Shirin Sohrabi

The ability to generate multiple plans is central to using planning in real-life applications. Top-quality planners generate sets of such top-cost plans, allowing flexibility in determining equivalent ones. In terms of t…