Experimentation diagnostics and deploy gate report
checkout_button
Flagsmith dashboard claim
Winning
99.7% chance to win · +13.3% lift
Recomputed by Second Opinion's replica of Flagsmith's delta method. The repository records the same values from a live Flagsmith results API for this scenario.
Second Opinion decision
VETO: DON'T SHIP
EXIT 20
Block the rollout. One veto outweighs any number of passing layers.
Vetoed at L4: platform=mobile conversion is down 16.2%
95% interval −26.4% to −4.5%, p = 0.0076, 6,000 identities per arm. Desktop is up 40.2%, so the overall +13.3% hides the mobile loss. This is hidden segment harm, often loosely called Simpson's paradox. See the segment table.
Seven diagnostic layers
L1Sample Ratio MismatchIs traffic split the way the flag says?PASS
Observed counts match the configured 50/50 split exactly.
| Variant | Expected | Observed |
|---|---|---|
| control | 12,000 | 12,000 |
| treatment | 12,000 | 12,000 |
Chi-squared = 0.00, df = 1, p = 1.0000. A veto needs p < 0.001; p < 0.01 warns.
L2Primary Effect & Bayesian RiskDoes the primary metric (purchase) improve overall?PASS
| Variant | Identities | Conversions | Rate |
|---|---|---|---|
| control | 12,000 | 969 | 8.08% |
| treatment | 12,000 | 1,098 | 9.15% |
| Measure | Value |
|---|---|
| Relative lift (95% credible interval) | +13.3% (+4.3%, +23.0%) |
| Chance to win (Bayesian) | 99.8% |
| Two-proportion z-test | z = 2.97, p = 0.0030 |
| Expected loss if treatment ships | 0.00016 percentage points |
The aggregate result is a genuine win. The problem only appears when users are split by platform (L4).
L3Guardrail ProtectionDid a metric you must not damage get worse?NOT CONFIGURED
The hidden-harm scenario defines no guardrail metrics, so nothing was tested. The engine records this as a pass with the message “No guardrail metrics configured.”
Reference: separate guardrail fixture (not part of this verdict)
| Metric | Control | Treatment | Change | Tolerance | P(harm > tolerance) |
|---|---|---|---|---|---|
| refund_requested | 1.83% | 3.33% | +81.8% | 10% | 99.9% |
That run ends in DON'T SHIP. A veto needs P(harm > tolerance) ≥ 90%; ≥ 70% warns.
L4Subgroup HarmIs any segment worse off while the average looks good?VETO
Mobile users convert less on the treatment. Desktop gains are large enough to hide it in the average.
| platform | Control | Treatment | Lift | 95% interval | p-value |
|---|---|---|---|---|---|
| desktop | 506 / 6,000 (8.43%) | 710 / 6,000 (11.83%) | +40.2% | +25.8% to +56.3% | 6.8 × 10⁻¹⁰ |
| mobile | 463 / 6,000 (7.72%) | 388 / 6,000 (6.47%) | −16.2% | −26.4% to −4.5% | 0.0076 |
Relative lift with 95% interval. The vertical line is zero.
Veto rule: negative lift with the 95% interval entirely below zero, or chance to win ≤ 5% (mobile: 0.4%), with at least 200 identities per arm. Platform mix is balanced across arms (p = 1.0000). Both segments also pass Benjamini–Hochberg at q = 0.10.
L5Novelty DecayDoes the Day 1 lift survive on Days 2–3?SKIPPED
Not evaluated: the control arm has 0 conversions in the later window, below the minimum of 10.
Reference: separate novelty fixture (not part of this verdict)
| Window | Control | Treatment | Lift | Chance to win |
|---|---|---|---|---|
| Day 1 | 5.40% | 9.86% | +82.7% | 100.0% |
| Days 2–3 | 3.30% | 3.36% | +2.0% | 56.0% |
That run ends in DON'T SHIP.
L6Sequential Stopping (mSPRT)Is it safe to stop, even after repeated peeking?HOLD
| Measure | Value | Needed to stop |
|---|---|---|
| Always-valid p-value | 0.0716 | ≤ 0.05 |
| Likelihood ratio | 13.97 | ≥ 20 |
| Expected loss (proportion) | 0.0000016 | ≤ 0.001 |
The ordinary p-value in L2 (0.0030) looks decisive. The always-valid one does not yet. On its own this would give HOLD (exit 10); the L4 veto takes precedence.
L7Event Data QualityCan the event stream be trusted?PASS
| Check | Result |
|---|---|
| Total events / conversion events | 26,067 / 2,067 |
| Duplicate events | 0 |
| Event-name casing or whitespace mismatches | 0 |
| Conversions without a prior exposure | 0 |
| Identities exposed to more than one variant | 0 |