Validation methodology
How the savings and safety numbers were produced, what was excluded, and where selection fell short.
Design
- Replay. For each project, 200 consecutive commits are each treated as the change introduced over the commit before it.
- Select. Blastradius selects tests for that change using an index built on the earlier commit.
- Compare with ground truth. A would-miss is a test that caught a real regression or an injected mutant but that selection chose not to run.
- Mutate. On the same run, bounded mutation validation injects synthetic faults into the head commit and checks whether selected tests catch them. A killing test passed on head, failed on the mutant, and stayed failed on confirmation. Counts are per mutant.
“Skipped” is a share of test executions in the replay, not measured CI wall-clock savings.
Historical replay
| Project | Pairs (excluded) | Would-miss | Executions selected | Skipped |
|---|---|---|---|---|
| apache/shenyu | 200 (0) | 0 | 153,142 / 527,508 | 71.0% |
| apache/httpcomponents-client | 200 (12) | 0 | 180,198 / 443,593 | 59.4% |
| jhy/jsoup | 200 (10) | 0 | 193,635 / 351,882 | 45.0% |
| apache/commons-io | 200 (12) | 0 | 439,393 / 1,178,122 | 62.7% |
| Aggregate | 61.4% |
Exclusions, stated plainly
- Excluded pairs are ones the harness could not measure; they count neither for nor against selection.
- httpcomponents-client: 11 pairs hit the build timeout and 1 hit a Surefire report with an XML-illegal character (since fixed).
TestTlsHandshakeTimeout#testTimeoutwas excluded as flaky under parallel load, which is what brings its would-miss to 0. - jsoup: all 10 exclusions exceeded the 40-minute mutation-build timeout.
- shenyu:
HttpClientPluginConfigurationTestwas excluded as flaky. - commons-io: an initially recorded would-miss on
URIOriginTest(a live-network fixture) did not reproduce in a plain build; the pair now fails under the validator harness for a cause not yet identified and is excluded, alongside 11 timeout pairs. The would-miss of 0 is therefore not a confirmed miss, but it is not a clean zero either.
Bounded mutation validation
| Project | Mutants (compilable) | Caught | Killing tests selected |
|---|---|---|---|
| shenyu | 872 (778) | 339 | 943 / 943 |
| httpcomponents-client | 916 (916) | 551 | 75,380 / 75,380 |
| jsoup | 940 (931) | 606 | 53,300 / 53,300 |
| commons-io | 901 (901) | 850 | 30,637 / 31,648 |
What fell short
- commons-io: 1,011 of 31,648 killing executions (3.2%) were skipped across 42 commit pairs, on the diff-targeted or whole-tree-fallback path. Every one of the 850 caught mutants still had at least one killing test selected, so this is partial under-selection, not a blind spot. It has not been re-verified at lower concurrency; treat it as provisional.
- jsoup: the recorded run first skipped 5,808 killing executions, 5,682 from 12
QueryParsermutations and 126 from twoNormalizermutations. After the bounded two-hop static-invocation rule was added, targeted replays of all 14 mutation identities selected all 16,642 killing executions. This is a string-dispatched-API case, the class of gap that remains hardest.
Known limits
- Reflection, generated calls, incomplete instrumentation, and static-invocation paths deeper than two edges are outside the evidence. Projects built around a string DSL (selector engines, expression languages, query parsers) should weigh this.
- Kotlin inline functions force a full run; custom
@file:JvmNamefacades are not mapped. - Results are specific to these four projects and windows. They do not prove universal safety.
- Keep a regular (recommended: daily) full-suite run as the backstop.
Validate on your own history
The validator harness replays a project’s own commits in shadow mode and reports would-miss cases before you adopt the plugin.
Full per-project analysis and footnotes: HISTORICAL_REPLAY_ANALYSIS.md · maturity assessment.