Metraipolis › archive › dc_547edc381ee0
Evaluating Shaker for Flaky Test Detection in Python Projects — arXiv:2609.25528
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.25528
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T15:16:05.891Z
- SHA-256 of the archived text
6fe93aacac4b187093160e64d030fd396f18bdbc5980b04eb77637a621837a1c- Stable URL of this page
https://metraipolis.com/documento/dc_547edc381ee0
How to cite
Evaluating Shaker for Flaky Test Detection in Python Projects — arXiv:2609.25528 — arXiv (en), https://arxiv.org/abs/2609.25528 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_547edc381ee0 (Metraipolis archive dc_547edc381ee0, sha256 6fe93aacac4b187093160e64d030fd396f18bdbc5980b04eb77637a621837a1c)
BibTeX
@misc{dc547edc381ee0,
title = {Evaluating Shaker for Flaky Test Detection in Python Projects — arXiv:2609.25528},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.25528},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_547edc381ee0; sha256 6fe93aacac4b187093160e64d030fd396f18bdbc5980b04eb77637a621837a1c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.25528. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Flaky tests pass or fail non-deterministically on unchanged code, eroding trust in test suites and inflating the cost of every failure. Shaker detects them by injecting resource contention (CPU, memory, and I/O stress) to amplify non-determinism caused by concurrent execution, and was reported to detect 95% of the flaky tests in a Java and Android benchmark against 37.5% for plain re-execution (ReRun). We present the first empirical evaluation of Shaker for Python. Drawing non-order-dependent flaky tests from the ground-truth dataset of Gruber et al., we compare Shaker against a budget-matched ReRun baseline in a paired design, giving both techniques the same number of test executions: Each of 137 tests is run 100 times under each. As configured for Java and Android, Shaker provides no statistically significant detection advantage over plain re-execution (37.2% vs. 35.8%; McNemar exact p = 0.84). Two findings explain why. First, fewer than half of the ground-truth flaky tests reproduce as flaky at all on independent hardware under either technique, and most of the tests that fail to reproduce never diverge once across 100 runs. Second, the tests that do reproduce are dominated by flakiness from network interactions and randomness rather than the concurrency Shaker targets. Beyond the tool, this exposes a broader hazard for the field: reusing a flaky-test ground truth across execution environments silently converts genuine flaky tests into apparent true negatives, deflating any tool's measured recall. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-23 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.25528 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T14:42:48.164Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-23?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).