REPLAYStatic copy of a recorded run (data/replay-cloud.jsonl), played to the end through this checkout's contract service and saved as pages; not live. Flagsmith is not contacted: every number is Flagsmith's own, as recorded. Signing and the owner's tap need the running service, so they are read-only here. All recorded runs
Skip to content
ULYSSES Stop contracts for Flagsmith experiments Data source: Lab simulation

Two ships · the same 100 A/A experiments, sailed twice · lab simulation on Flagsmith’s own stats code

The agent can’t peek its way to a ship

Every variation here does nothing. Each red ship is a change that would have gone live anyway.

Unbound agent: ships at the first “Winning”

Stops the first time Flagsmith shows over 95% (ships it) or under 5% (keeps control).

95% “Winning”: the unbound agent ships here
12 of 100 shipped a do-nothing variation

Over 10,000 voyages: 13.4%

30 stopped early and kept control · 58 reached the planned end without shipping

Agent under a signed Ulysses contract

Acts on the same Flagsmith number, only where its signed boundary allows.

signed boundary: the contract ships only past it
3 of 100 shipped a do-nothing variation

Over 10,000 voyages: 3.0% at the same strictness · 1.3% at the contract’s default

5 stopped early and kept control · 92 reached the planned end without shipping

How this is drawn

Each line is one simulated A/A experiment: 30 looks of 100 synthetic identities per arm, base rate 10%, both arms identical, scored by Flagsmith stats.py v2.295.2 sha256 97c5ebfca7c8, unmodified. The vertical axis is Flagsmith’s chance to win at each look, on a normal (z) scale. These are runs 1 to 100 of seed 62944, the opening runs of the 10,000-run table below.

Left: stop at the first look over 95% (ship) or under 5% (keep control), a two-sided 10% rule read 30 times. Right: the Ulysses contract at alpha 0.1, the same two-sided 10% level, boundary spent over the signed looks; the contract’s default is alpha 0.05. Red ships are false Winning calls; grey dots are false Losing calls, which keep control and ship nothing.

Data: data/paths-offline.json (committed copy), written by uv run ulysses calibrate offline --flagsmith-src ../_shared/reference/flagsmith. The 100-run counts are counted from the runs; the 10,000-run rates are read from offline.json.

A/A calibration · both arms identical, so every shipped winner is a false one

How often does an A/A test ship a winner that does nothing?

Flagsmith's docs read a chance to win over 95% as Winning. Read once, at a planned end, that is a sound call at the 10% level. Acted on at the first refresh where it appears, the same label ships variations that do nothing more often. A contract signed in advance acts on the same Flagsmith number, only at its signed boundaries. Every figure below is read from the calibration scripts' own output on this machine.

Live self-hosted Flagsmith: synthetic identities Lab simulation: Flagsmith's own stats code on simulated units
LAB SIMULATION · Offline engine calibration on simulated synthetic units (not user traffic)

10,000 runs · 30 looks · 100 per arm per look · base rate 10% · seed 62944, 101, 202, 303, 404 · Flagsmith stats.py v2.295.2 sha256 97c5ebfca7c8

Read from data/offline.json, the committed output of the command below; rerun it to replace it.

False winners shipped: the variation does nothing, and the rule ships it
RuleRunsCountRate (95% interval)
Ship at the first look over 95% 10,000 1,337 13.4%12.7–14.1%
Ship if over 95% at the planned final look 10,000 389 3.9%3.5–4.3%
Ship only when the signed contract fires (alpha 0.1) same 10% level as the 95% / 5% labels 10,000 300 3.0%2.7–3.4%
Ship only when the signed contract fires (alpha 0.05) 10,000 134 1.3%1.1–1.6%
Any false call, winner or loser: a false Losing keeps control and ships nothing, so it is counted separately here
RuleRunsCountRate (95% interval)
Act at the first look over 95% (Winning) or under 5% (Losing) 10,000 4,466 44.7%43.7–45.6%
Read once, at the planned final look 10,000 982 9.8%9.3–10.4%
Act only when the signed contract fires (alpha 0.1) same 10% level as the 95% / 5% labels300 false wins · 710 false losses 10,000 1,010 10.1%9.5–10.7%
Act only when the signed contract fires (alpha 0.05)134 false wins · 401 false losses 10,000 535 5.3%4.9–5.8%
Look 30 of 30
Show

first-look rule calls so far 42 · contract calls 6

first look over 95% or under 5% (the first-look rule acts here) crossed a signed ring (the contract acts here) never left 5%–95%The drawing and its counter show the 100 exported runs; the tables count all 10,000.
Inspect fans each run onto its own plane through the mast; Read folds them flat into the 2D chart.

Recompute: uv run ulysses calibrate offline --flagsmith-src ../_shared/reference/flagsmith