paper-with-me

Papers

FlaKat: A Machine Learning-Based Categorization Framework for Flaky Tests

2024-03-01 · Shizhe Lin, Ryan Zheng He Liu, Ladan Tahvildari

Flaky tests can pass or fail non-deterministically, without alterations to a software system. Such tests are frequently encountered by developers and hinder the credibility of test suites. State-of-the-art research incorporates machine learning solutions into flaky test detection and achieves reasonably good accuracy. Moreover, the majority of automated flaky test repair solutions are designed for specific types of flaky tests. This research work proposes a novel categorization framework, called FlaKat, which uses machine-learning classifiers for fast and accurate prediction of the category of a given flaky test that reflects its root cause. Sampling techniques are applied to address the imbalance between flaky test categories in the International Dataset of Flaky Test (IDoFT). A new evaluation metric, called Flakiness Detection Capacity (FDC), is proposed for measuring the accuracy of classifiers from the perspective of information theory and provides proof for its effectiveness. The final FDC results are also in agreement with F1 score regarding which classifier yields the best flakiness classification.

📄 PDF Abstract BibTeX arXiv:2403.01003

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Automating Quantum Software Maintenance: Flakiness Detection and Root Cause Analysis

2024-10-31 · Janakan Sivaloganathan, Ainaz Jamshidi, Andriy Miranskyy, Lei Zhang

Flaky tests, which pass or fail inconsistently without code changes, are a major challenge in software engineering in general and in quantum software engineering in particular due to their complexity and probabilistic na…

Identifying Flaky Tests in Quantum Code: A Machine Learning Approach

2025-02-06 · Khushdeep Kaur, Dongchan Kim, Ainaz Jamshidi, Lei Zhang

Testing and debugging quantum software pose significant challenges due to the inherent complexities of quantum mechanics, such as superposition and entanglement. One challenge is indeterminacy, a fundamental characterist…

software testing

FlakyGuard: Automatically Fixing Flaky Tests at Industry Scale

2025-11-18 · Chengpeng Li, Farnaz Behrang, August Shi, Peng Liu arxiv

Flaky tests that non-deterministically pass or fail waste developer time and slow release cycles. While large language models (LLMs) show promise for automatically repairing flaky tests, existing approaches like FlakyDoc…

FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categories and Test Code Repair

2023-06-21 · Sakina Fatima, Hadi Hemmati, Lionel Briand

Flaky tests are problematic because they non-deterministically pass or fail for the same software version under test, causing confusion and wasting development effort. While machine learning models have been used to pred…

Code RepairFew-Shot LearningIn-Context LearningLanguage Modelling+1

Evaluating the Impact of Flaky Simulators on Testing Autonomous Driving Systems

2023-11-30 · Mohammad Hossein Amini, Shervin Naseri, Shiva Nejati

Simulators are widely used to test Autonomous Driving Systems (ADS), but their potential flakiness can lead to inconsistent test results. We investigate test flakiness in simulation-based testing of ADS by addressing two…

Autonomous Driving