Pith. sign in

REVIEW 3 cited by

Automating Quantum Software Maintenance: Flakiness Detection and Root Cause Analysis

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2410.23578 v1 pith:YSGOQRRC submitted 2024-10-31 cs.SE cs.AI

classification cs.SEcs.AI
keywords flakydetectionquantumsoftwaretestsautomatedcausedataset
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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 nature, leading to hidden issues and wasted developer effort. We aim to create an automated framework to detect flaky tests in quantum software and an extended dataset of quantum flaky tests, overcoming the limitations of manual methods. Building on prior manual analysis of 14 quantum software repositories, we expanded the dataset and automated flaky test detection using transformers and cosine similarity. We conducted experiments with Large Language Models (LLMs) from the OpenAI GPT and Meta LLaMA families to assess their ability to detect and classify flaky tests from code and issue descriptions. Embedding transformers proved effective: we identified 25 new flaky tests, expanding the dataset by 54%. Top LLMs achieved an F1-score of 0.8871 for flakiness detection but only 0.5839 for root cause identification. We introduced an automated flaky test detection framework using machine learning, showing promising results but highlighting the need for improved root cause detection and classification in large quantum codebases. Future work will focus on improving detection techniques and developing automatic flaky test fixes.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Detecting Flakiness in Quantum Software: A Dynamic Testing Approach

    cs.SE 2025-12 conditional novelty 7.0 of 10

    Across 23 Qiskit Terra releases, 290 tests were flaky in 10,000 runs each; most fail rarely (about 1e-4 to 1e-3), so typical CI rerun budgets miss them.

  2. On the Feasibility of Quantum Unit Testing

    cs.SE 2025-07 conditional novelty 5.0 of 10

    A large empirical study finds that the Inverse test, which reverses the expected circuit and checks for the all-zero state, detects quantum circuit mutations with fewer shots than statistical or Swap tests.

  3. Identifying Flaky Tests in Quantum Code: A Machine Learning Approach

    cs.SE 2025-02 conditional novelty 4.0 of 10

    Machine learning classifiers trained on word counts of quantum test code can flag flaky tests derived from keyword search, with gradient boosting and decision trees achieving the best F1 and Matthews correlation scores.

Pith tools