Explain a test's flakiness score
flake.explainGet a detailed score breakdown for a single test, showing each factor that contributes to flakiness and the detector's explanation.
Instructions
Returns the score of one test with every component that contributed to it (flip rate, rerun recovery, failure-message entropy, confidence interval, correlations with runner and hour) and the explanation flake-detector gives. Test ids look like com.acme.CheckoutTest#appliesCoupon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository root to run in; defaults to TOOLKIT_REPO | |
| testId | Yes | Test id as class#method, for example com.acme.CheckoutTest#appliesCoupon |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| runs | Yes | ||
| score | Yes | ||
| failures | No | ||
| flipRate | No | ||
| wilsonLow | No | ||
| components | No | ||
| wilsonHigh | No | ||
| explanation | No | ||
| quarantined | No | ||
| hourCorrelation | No | ||
| rerunRecoveryRate | No | ||
| runnerCorrelation | No | ||
| failureMessageEntropy | No |