Catalogue / meta-2020-probabilistic-flakiness-score

Facebook scores every regression test for flakiness with a Bayesian model fitted to results its continuous integration already produces

Facebook, 2020. Probabilistic Flakiness Score (PFS) for the regression test suite.

Organisation
Facebook
Evidence
Reported from production
Source
How do you test your tests?

Engineering at Meta, published 2020-12-10

Records

Decision#d1

Measure how flaky each test is as a probability, instead of classifying tests as flaky or reliable

Decision#d2

Compute the score from results that normal CI runs already produce, with no dedicated test runs

Decision#d3

Ticket the owner when a test's flakiness rises, and drop tests that stay flaky from change-based selection

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.