AnswerThisView only
Shared answer · view only
DSShared by Dahami Sugandhani · Oct 13
LoginSign up
Other/Search research papers on "flaky test identification", "CI execution evidence", and "source code analysis" using Scispace Deep Search, focusing on empirical studies within the domains of Software Testing, Empirical Software Engineering, and Software Reliability to compare the effectiveness of CI execution evidence against source code analysis alone for flaky-test identification
Search research papers on "flaky test identification", "CI execution evidence", and "source code analysis" using Scispace Deep Search, focusing on empirical studies within the domains of Software Testing, Empirical Software Engineering, and Software Reliability to compare the effectiveness of CI execution evidence against source code analysis alone for flaky-test identification. And I need to find a gap and novelty.This is the topic Beyond Source Code: Evaluating the Contribution of CI Execution Evidence to Flaky-Test Identification Research domain: Software Testing, Empirical Software Engineering and Software Reliability. Core idea: Investigate whether evidence from test execution and continuous-integration (CI) logs helps identify flaky tests more reliably than analysing source code alone.

Research gap and novelty assessment

Your topic is promising, but the broad claim “CI execution evidence has not been used to identify flaky tests” is no longer defensible. In the literature retrieved here, methods already use test-result histories, durations, failure symptoms, and CI artifacts, and very recent work explicitly argues that test code alone is often insufficient. The defensible contribution is a controlled, leakage-resistant comparison of the incremental value of CI evidence over a source-code-only baseline—with realistic labels and deployment-oriented outcomes.

What the empirical literature indicates

  • Source-code-only prediction is established, but reported performance depends on evaluation design. Flakify predicts from test source code and reports performance on two datasets, including a project-wise validation procedure (Fatima, 2022). Peeler likewise presents a static predictor (Qin, 2022). However, a 2026 preprint reports that code-only detectors’ apparent performance on some benchmarks was inflated by label shortcuts and evaluation protocols; scores fell to constant-baseline levels under project-disjoint evaluation on its counterfactual dataset (Gültekin, 2026). Treat high cross-validation scores as insufficient evidence of practical generalization.
  • Existing CI/history approaches already combine runtime and code-change information. One industrial study used outcome history, test duration, and code-evolution features from existing executions; its best model used test flip rate and code-change measures (Gruber, 2023). A CI failure-symptom approach matched new failures to historical flaky symptoms and reported high precision in one industrial system (An, 2023). These are important comparators, but they do not by themselves establish the general incremental value of CI evidence over a matched source-only model across projects.
  • The evidence about adding logs is not uniformly positive. A thesis-level study directly compared models with and without log embeddings and reported that adding its log representation reduced predictive performance (Wadströmer, 2025). This makes feature representation and evaluation design central—not merely “include logs.”
  • Recent work directly sharpens the gap. A 2026 preprint analyzed 86 flaky end-to-end tests mined from CI logs: test code plus CI logs yielded a cause for 42%, while the other cases required further execution evidence (Gültekin, 2026). This is evidence that more execution information can matter for diagnosis, but it is not a broad, controlled estimate of how much CI evidence improves flaky-test identification over code-only prediction.
  • Operational errors matter as much as test-level classification. In a Chromium CI study, high-precision test-focused predictors nevertheless missed many fault-triggering failures; failure-focused methods performed better on the reported MCC measure (Haben, 2023). A useful evaluation should therefore measure whether the approach distinguishes a flaky failure from a genuine regression, not only whether a test has ever been flaky.

Defensible gap

Not established by this search: a general claim that no previous study has compared code and execution evidence. The literature includes partial comparisons and a recent, directly relevant preprint. What remains well-motivated—and is not resolved by the abstracts retrieved—is a matched, multi-project, out-of-time and out-of-project assessment of the incremental predictive and operational value of well-defined CI evidence over source code alone, with protection against label leakage and class imbalance.

Proposed research questions

  1. RQ1—Incremental effectiveness: Under temporal and project-disjoint evaluation, how much does adding CI execution evidence to source-code features change flaky-test identification performance compared with a source-code-only model?
  2. RQ2—Evidence contribution: Which CI evidence groups—outcome history and flip rate, duration, failure messages/stack traces, and execution/environment context—provide reliable incremental value, and for which flakiness categories?
  3. RQ3—Practical reliability: Does the combined model improve failure-level triage (flaky failure versus likely regression) at an acceptable false-quarantine rate and computational cost?

Novelty you can credibly claim

Frame the novelty as an empirical evaluation of evidence contribution, not simply a new detector that consumes CI logs. The study would add:

  • A controlled comparison using the same projects, test instances, labels, and modeling pipeline for (a) source code only, (b) CI evidence only, and (c) source code plus CI evidence.
  • A feature-ablation analysis separating execution history, failure text, and environment/context, addressing why one log-embedding study found no gain while other work reports value from history or failure symptoms (Wadströmer, 2025) (Gruber, 2023) (An, 2023).
  • Evaluation across both unseen future revisions and unseen projects, using natural prevalence rather than only balanced samples. This responds to documented concerns about shortcut labels, unrealistic distributions, and weak generalization (Gültekin, 2026) (Rahman, 2025).
  • A deployment-oriented endpoint: correctly identifying flaky failures without suppressing genuine fault-triggering failures, an important risk demonstrated in Chromium CI (Haben, 2023).

Avoid claiming “first-ever” until you have checked the full texts and related work of the closest studies—especially the 2026 CI-log preprint, the industrial history-based predictor, and the log-feature thesis. On the present evidence, novelty is strongest as the rigor and scope of the head-to-head evaluation.

Feasible empirical design

Recommended scope: start with one ecosystem (for example, projects with publicly retrievable GitHub CI histories) and a manageable set of languages/build systems. Expand only if comparable outcome histories and logs can be collected reliably.

  1. Construct a time-indexed dataset. For each test and CI run, preserve the code revision, result, duration, failure text/stack trace, and available environment/build metadata. Define a prediction cutoff: only information available before the target failure/run may enter the features. Label flakiness using repeated outcomes on the same revision/configuration where possible, supplemented by documented developer-confirmed fixes or adjudication; keep “flaky test” labels distinct from “this particular failure is flaky.”
  2. Compare matched feature sets. Train the same model families and tuning budget on source-only, CI-only, and combined features. Run ablations for history, failure text, and environment/context. Include simple baselines (for example, flip-rate and repeated-run rules) as well as one or more established source-code predictors.
  3. Prevent leakage. Use forward-in-time testing and project-disjoint testing, with related revisions or duplicate tests grouped so they cannot cross training/test boundaries. Report any residual project or label-selection constraints.
  4. Measure useful outcomes. Report precision-recall AUC (important under low flaky-test prevalence), recall at a prespecified false-positive/false-quarantine rate, precision, recall, MCC, calibration, and analysis/runtime cost. For the failure-level task, explicitly count genuine regressions incorrectly classified as flaky. Compare models with paired uncertainty estimates and report results per project and flakiness category, not just a pooled average.
  5. State feasibility limits. Public CI logs can be incomplete, inconsistent across providers, or unavailable for some runs; repeated execution is an imperfect reference standard for rare flakiness. These constraints should be documented and tested with sensitivity analyses rather than hidden by a balanced benchmark.

Candidate title: Beyond Source Code: A Leakage-Resistant, Multi-Project Evaluation of CI Execution Evidence for Flaky-Test Identification.

Bottom line: the research gap is not whether CI evidence can be used—prior work already uses execution histories, logs, and failure symptoms. It is whether specific, realistically available CI evidence adds generalizable and operationally safe value beyond code-only prediction under fair, leakage-resistant comparisons.

Search scope and limits

I could not run Scispace Deep Search from this session. I searched the available academic databases (Semantic Scholar, OpenAlex, and PubMed) using deep semantic retrieval; the result set contained 99 selected records, and the optional lexical concept-planning step failed while semantic retrieval continued. Paper content was restricted to abstracts, so the gap assessment is preliminary and does not establish exhaustive coverage or “first” priority. Several especially relevant records are recent preprints or a thesis; verify their publication status and inspect the closest full texts before finalizing a novelty claim.

Save
Can you summerize the gap and the novelty only

Research gap

Prior studies already use CI execution histories, test outcomes, durations, and failure symptoms to predict or triage flaky tests, so the gap is not simply “CI evidence has not been studied” (Gruber, 2023) (An, 2023). A recent study also finds that source code and CI logs together explain only some flaky-test causes, with further execution evidence needed for others (Gültekin, 2026). What remains insufficiently established is the incremental value of CI evidence over a matched source-code-only baseline when both are evaluated on future revisions and unseen projects, with realistic flaky-test prevalence and safeguards against leakage. This comparison matters because reported source-code prediction performance can be inflated by benchmark shortcuts and evaluation design (Gültekin, 2026), while one study found that its log representation actually reduced performance (Wadströmer, 2025).

Novelty

The defensible novelty is a controlled, leakage-resistant, multi-project evaluation of evidence modalities, rather than merely proposing another detector that uses CI logs. Compare source-code-only, CI-evidence-only, and combined models on the same tests and labels; ablate execution history, failure text, and environment/context features; and measure both test-level identification and failure-level risk of misclassifying genuine regressions as flaky. The contribution would establish which CI evidence adds generalizable predictive value, for which cases, and whether the gain is useful enough to justify its collection and runtime cost. Avoid claiming “first-ever” without checking full texts of the closest studies.

Save
can you explain simply

Gap

Researchers have tried both source code and CI data, but we still do not know clearly whether CI data helps identify flaky tests better than source code alone, especially on new projects and future test runs. Past results vary: some CI-based information helps, while one study found its log features did not improve predictions (Gruber, 2023) (Wadströmer, 2025).

Novelty

Compare three approaches fairly: source code only, CI data only, and both together. This would show whether CI evidence really improves identification, what kinds of CI data help most, and whether the improvement is useful in practice.

Save
are you sure this can be get as real gap and novelty?

Not completely. I should have described this as a possible gap, not a confirmed one.

A thesis already compared flaky-test prediction with and without log features, so that comparison alone is not new (Wadströmer, 2025). A recent preprint also examined test code and CI logs to explain flaky tests, although its reported result concerns identifying causes in a small set of cases—not a general head-to-head test of predictive performance (Gültekin, 2026).

A more specific possible contribution is to test whether CI evidence adds value beyond source code when both approaches use the same data and are evaluated on future runs and unseen projects. But I can’t confirm that this is genuinely novel from abstracts alone; the full methods and related work of the closest studies need checking. For now, call it a candidate novelty, not a guaranteed first.

Save
I need guaranteed gap and novelty

I can’t honestly guarantee a research gap or novelty claim. The evidence already shows overlap: one study compared prediction with and without log features (Wadströmer, 2025), and a recent preprint examined test code together with CI logs in flaky-test analysis (Gültekin, 2026). So the broad claim “CI evidence improves on source code” is not safe to present as new.

The most defensible candidate is narrower: a controlled test of whether CI evidence adds value over source code when both use the same data and are evaluated on future runs and unseen projects. But I cannot guarantee that no prior study has done this. The search available here was limited to abstracts and selected academic databases, so the closest papers’ full methods and references must be checked before making a novelty claim.

For a thesis or proposal, phrase this as a research question (“Does CI evidence add…?”), not as a guaranteed discovery or “first-ever” claim.

Save

Citation Lists

Martin Gruber; Michael Heine; Norbert Oster; Michæl Philippsen; Gordon Fraser · 2023 · 2023 IEEE Conference on Software Testing, Verification and Validation

Shanto Rahman, Saikat Dutta, August Shi · 2025 · Proc. ACM Program. Lang.

Ömer Oktay Gültekin, Alexander Berndt, Jonathan Bell, Thomas Bach, Sebastian Baltes · 2026 · arXiv

Suggested next steps

Run a sensitivity analysisTurn this into a reportAnalyze an uploaded PDFEdit the draftExport the extraction table
TRY:
History

Loading sources…

Q1
Abstract
Source 1: Practical Flaky Test Prediction using Common Code Evolution and Test History Data

Martin Gruber, Michael Heine, +3 · 2023 · 2023 IEEE Conference on Software Testing, Verification and Validation · 13 citations

10.1109/icst57152.2023.00028

Non-deterministically behaving test cases cause developers to lose trust in their regression test suites and to eventually ignore failures. Detecting flaky tests is therefore a crucial task in maintaining code quality, as it builds the necessary foundation for any form of systematic response to flakiness, such as test quarantining or automated debugging. Previous research has proposed various meth…

Source 2: Understanding and Improving Flaky Test Classification

Shanto Rahman, Saikat Dutta, +1 · 2025 · Proc. ACM Program. Lang. · 6 citations

10.1145/3763098

Regression testing is an essential part of software development, but it suffers from the presence of flaky tests – tests that pass and fail non-deterministically when run on the same code. These unpredictable failures waste developers’ time and often hide real bugs. Prior work showed that fine-tuned large language models (LLMs) can classify flaky tests into different categories with very high accu…

Source 3: How Far Are We from Detecting Flaky Tests? On the Limits of Code-Based Detection

Ömer Oktay Gültekin, Alexander Berndt, +3 · 2026 · arXiv

Flaky tests pass and fail on the same code version, weakening the signal of test results and disrupting continuous integration (CI) pipelines. Code-based flakiness detectors report strong benchmark results, yet their use in practice remains limited. We argue that the field is studying the wrong problem: Flakiness is not a static property of test code, which often lacks the information needed to de…

Source 4: The Importance of Discerning Flaky from Fault-triggering Test Failures: A Case Study on the Chromium CI

Guillaume Haben, Sarra Habchi, +3 · 2023 · arXiv · 6 citations

10.48550/arxiv.2302.10594

Flaky tests are tests that pass and fail on different executions of the same version of a program under test. They waste valuable developer time by making developers investigate false alerts (flaky test failures). To deal with this problem, many prediction methods that identify flaky tests have been proposed. While promising, the actual utility of these methods remains unclear since they have not…

Source 5: Flakify: A Black-Box, Language Model-Based Predictor for Flaky Tests

Sakina Fatima, Taher A. Ghaleb, +1 · 2022 · IEEE Transactions on Software Engineering · 73 citations

10.1109/tse.2022.3201209

Software testing assures that code changes do not adversely affect existing functionality. However, a test case can be flaky, i.e., passing and failing across executions, even for the same version of the source code. Flaky test cases introduce overhead to software development as they can lead to unnecessary attempts to debug production or testing code. Besides rerunning test cases multiple times,…

Source 6: Just-in-Time Flaky Test Detection via Abstracted Failure Symptom Matching

Gabin An, Juyeon Yoon, +3 · 2023 · arXiv

We report our experience of using failure symptoms, such as error messages or stack traces, to identify flaky test failures in a Continuous Integration (CI) pipeline for a large industrial software system, SAP HANA. Although failure symptoms are commonly used to identify similar failures, they have not previously been employed to detect flaky test failures. Our hypothesis is that flaky failures wi…

Source 7: Förbättra Detektionen av Testinstabilitet med Logbaserade egenskaper : En maskininlärningsmetod

Zackarias Wadströmer · 2025

Flaky tests can take a lot of time off the software development process since developers can not trust that their test result is deterministic unless they rerun the test many times. This has led to an increased interest in finding or predicting flaky tests before running even a single test. Studies show promising results using machine learning models where flakiness is mostly predicted correctly a…

Source 8: Peeler: Learning to Effectively Predict Flakiness without Running Tests

Yihao Qin, Shangwen Wang, +6 · 2022 · 2022 IEEE International Conference on Software Maintenance and Evolution · 13 citations

10.1109/icsme55016.2022.00031

Regression testing is a widely adopted approach to expose change-induced bugs as well as to verify the correctness/robustness of code in modern software development settings. Unfortunately, the occurrence of flaky tests leads to a significant increase in the cost of regression testing and eventually reduces the productivity of developers (i.e., their ability to find and fix real problems). State-o…

8 sources · 0 selected
1 / 1