All docs
docs / use petri
Health scorecard
The health scorecard: the diagnostics mature platforms run, on Flagsmith data, plus novelty.
Before you read a result, check it can be trusted. Mature experimentation platforms run a standard set of diagnostics on every experiment: traffic-split checks at α = 0.001, missing data per arm, data freshness. Petri runs the same set on Flagsmith's data, and adds checks that only Petri can do.
| Check | Fail / warn when | Why it matters |
|---|---|---|
| Traffic split | χ² test against the configured split, p < 0.001 (Petri's own when Flagsmith reports none, Flagsmith#9128) | A broken split means the arms aren't comparable |
| Arms match the variants | A phantom arm, or a variant without a key | Exposures sent with the wrong value split users off |
| Every arm records conversions | An arm with > 50 users and 0 conversions while others convert | Its events aren't sent or don't join the exposure |
| Event storage | No warehouse connection | Events are rejected outright |
| Measurement continuity | Any Petri Watch alert | An arm stopped enrolling or converting mid-run |
| Treatment unchanged | Drift from petri.lock.json (PETRI013) |
The results mix two treatments |
| Results are fresh | Warn after 2 h, fail after 6 h since Flagsmith computed them | You'd be reading stale numbers |
| Stable effect (novelty) | The leading arm's lift in the second half of the run is under half the first half's, z > 2.5 (log-ratio test) | An early lift that fades is novelty, not a lasting effect |
It shows as one line in the experiment's tree (Health: 6 pass · 1 warn, the checks in the tooltip), as a table in the results panel and in petri-check report, on every petri-check experiments line, and in the MCP tool petri_experiments.
Not included, because Flagsmith's results don't carry the data:
- CUPED and pre-experiment bias, which need per-user history;
- per-dimension imbalance;
- crossover users.
docs/health.mdView or edit on GitHub →