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

Hear the sirens · you are the agent · simulation in your browser

Hear the sirens

A shop is testing a new checkout button against the old one. Visitors arrive in batches, and after each batch Flagsmith’s scoreboard updates its chance that the new button wins. You are the agent. Peek as often as you like, and ship whenever you are sure.

The course so far: Flagsmith’s chance to win at each look, on a normal scale. Violet dashes: 95%, where Flagsmith says “Winning”.
How this works

Simulation in your browser. Each voyage is 20 looks of 200 simulated visitors per button. Every visitor buys with probability 10%, on both buttons. Nothing here touches Flagsmith or real traffic.

Flagsmith’s number. The chance to win is computed the way Flagsmith’s api/experimentation/stats.py computes it: relative lift of the new button over the old, a delta-method standard error from both arms’ spread, and chance to win = Φ(lift / SE). It is a normal approximation, as in Flagsmith. Until each button has 50 visitors and 5 purchases Flagsmith shows “collecting data”; over 95% is “Winning”.

The contract. The boundary is the Lan-DeMets O’Brien-Fleming boundary at two-sided alpha 0.05 over 20 equally spaced looks, the contract’s default. It was computed on the server by ulysses/boundary.py and is embedded in this page; the browser does not derive it. The agent compares Flagsmith’s number with it at each look: over the boundary it ships, under the mirror image it keeps control, and at the last look without a crossing it keeps control.

The signed boundary at each look (every look counted)
look1234567891011121314151617181920
ships overno stop>99.99%>99.99%>99.99%>99.99%>99.99%99.99%99.97%99.93%99.88%99.80%99.71%99.59%99.45%99.30%99.13%98.94%98.74%98.53%98.31%