A Dataset of Reproducible Flaky-Test Failures
S. Rafi, Mahbub-Ul-Hoque Sumon, Md Erfan, Maruf Morshed Khan, August Shi, Wing Lam
George Mason University · University Grants Commission of Bangladesh
Key points
From the paper's conclusion- We present ReproFlake, a dataset of 1115 flaky tests, spread across four different flaky-test categories.
Abstract
Flaky tests pass and fail non-deterministically when run on the same version of code. Previous research proposed techniques to detect, debug, and repair different categories of flaky tests. However, reproducing the flaky-test failures remains a major challenge due to their inherent non-determinism. Reliably reproducing flaky-test failures is essential for helping both developers and automatic techniques to debug and repair flaky tests. Many datasets related to flaky tests exist to help researchers study them, but these datasets are often composed of disjoint information, where each dataset provides some unique information over the others, such as flaky tests of many different categories, failure logs of flaky tests, or flaky tests reported by developers vs. flaky tests found by automated tools. Furthermore, several of them are missing the key aspect of providing a means to reliably reproduce the flaky-test failures. In this work, we aim to create a dataset of flaky tests, where each test’s failure is reproducible and there is a comprehensive set of information for the flaky test. Compared to prior flaky-test datasets, our dataset is the first to provide (1) an environment to compile the code for running the flaky tests, (2) scripts to run the tests to reproduce the flaky-test failures, (3) scripts to automatically apply flaky-test fixes and check that the test is no longer flaky, and (4) execution logs of the flaky test both passing and failing. We present ReproFlake, a dataset of 1115 flaky tests, spread across four different flaky-test categories. We also publish the guideline we developed to construct our dataset so others can contribute to this dataset by collecting the same information. We also study the categories of flaky tests in ReproFlake, the location and size of flaky-test fixes, and the code coverage of flaky tests before and after they are fixed. Our study highlights promising future flaky-test research directions, which our dataset helps enable.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Accepted but Wrong: Silent Failures of LLM Code Repairs after API MigrationsarXiv · 2026
- Multi-SWT-Bench: A Multilingual Benchmark for Reproduction Test GenerationarXiv · 2026
- Patch correctness in automated program repair: A five-dimensional evidence framework and cross-benchmark audit from classical repair to coding agentsarXiv · 2026
- Enhancing LLM-Based Bug Reproduction via Code Entity Retrieval and Test Case RepairProceedings of the ACM on Software Engineering · 2026
- FeatureArc: Benchmarking Coding Agents on Evolving FeaturesarXiv · 2026
- Beyond Methods: An Empirical Study of File-Level Production-Test Co-evolution and Its Implications for AutomationACM Transactions on Software Engineering and Methodology · 2026