REPLAYStatic copy of a recorded run (data/replay-autonomy.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

What peeking costs your team · lab simulation on Flagsmith’s own stats code

What peeking costs your team

Some of the changes a team tests do nothing at all. An agent that ships the first time Flagsmith says Winning still ships some of those. Put in your own numbers. Every rate below is counted from simulated A/A experiments scored by Flagsmith’s stats.py; none of it is typed in.

Each read the agent could act on. Only counts the simulation measured.

%

Your estimate, not a measurement. 50% is a round middle value.

Rollout, clean-up and upkeep of a change once it ships.

0.10 is as strict as reading 95%/5% once.

A team running 20 experiments a quarter with an agent that ships at the first Winning ships about 1.3 do-nothing changes a quarter; under a contract about 0.13.

10 of your experiments a quarter test a variation that does nothing; reading Flagsmith’s label at every look ships 10 times as many of them as the contract does.

Agent ships at the first “Winning”

Stops the first time Flagsmith shows over 95% (ships) or under 5% (keeps control), at any of the 30 reads.

1.34 do-nothing changes shipped a quarter

95% interval 1.27–1.41 · 5.3 a year · 4.0 engineer-days a quarter (16.0 a year)

False-Winning rate 13.4% (12.7%–14.1%), 1,337 of 10,000 simulated A/A experiments · data/offline.json, 10,000 runs

Agent under a signed Ulysses contract

Same Flagsmith number, same reads; ships only past the boundary signed for 30 looks at alpha 0.05.

0.13 do-nothing changes shipped a quarter

95% interval 0.11–0.16 · 0.5 a year · 0.4 engineer-days a quarter (1.6 a year)

False-Winning rate 1.3% (1.1%–1.6%), 134 of 10,000 simulated A/A experiments · data/offline.json, 10,000 runs

one do-nothing experiment, over a year of four quarters shipped anyway; a part-filled hull is the fraction of one expected ship

How the number is made

do-nothing ships a quarter = experiments a quarter × share that do nothing × false-Winning rate
first Winning:  20 × 50% × 13.4% = 1.34   (interval: same product over 12.7%–14.1%)
contract:       20 × 50% × 1.3% = 0.13   (interval: same product over 1.1%–1.6%)
engineer-days   = ships × 3 days per change

The interval is the 95% Wilson interval of the measured rate carried through the product. It covers the uncertainty in the rate only; the count in any one quarter also varies around its expectation.

Measured false-Winning rates

LooksFirst Winning95% intervalRunsContract, alpha 0.0595% intervalRuns
13.9%3.5%–4.3%389 of 10,0003.0%1.0%–8.5%3 of 100
25.0%2.2%–11.2%5 of 1003.0%1.0%–8.5%3 of 100
38.0%4.1%–15.0%8 of 1003.0%1.0%–8.5%3 of 100
58.0%4.1%–15.0%8 of 1003.0%1.0%–8.5%3 of 100
69.0%4.8%–16.2%9 of 1003.0%1.0%–8.5%3 of 100
109.0%4.8%–16.2%9 of 1003.0%1.0%–8.5%3 of 100
1511.0%6.3%–18.6%11 of 1003.0%1.0%–8.5%3 of 100
3013.4%12.7%–14.1%1,337 of 10,0001.3%1.1%–1.6%134 of 10,000

Source. Simulated A/A experiments, both arms at a 10% conversion rate, 30 looks of 100 synthetic identities per arm (3,000 per arm at the end), scored by Flagsmith stats.py v2.295.2 sha256 97c5ebfca7c8, unmodified. Not user traffic. 30 looks: all 10,000 runs of data/offline.json. One look, first Winning: the same 10,000 runs read once at the end. Every other row: the 100 runs of data/paths-offline.json (seed 62944) read at every 30/K-th look, with a contract drafted for K looks and scored by the service’s own decision.evaluate; recounted into data/cost-rates.json by uv run ulysses cost --recount. Both data files were written by uv run ulysses calibrate offline --flagsmith-src ../_shared/reference/flagsmith.

Assumptions. A variation that does nothing behaves like these A/A runs; your traffic, base rate and sample sizes differ, and the rates move with them. Looks are evenly spaced. Look counts that do not divide 30 are not offered because nothing measured them.

Left out. Experiments with a real effect: with a +25% relative lift and 30 looks, the contract at alpha 0.05 calls the win in 79.3% of 10,000 runs against 91.0% for first Winning, which also calls 5.0% of them the wrong way (data/offline.json). False Losing calls keep control and ship nothing, so they are not counted as cost here.

Same numbers on the command line: uv run ulysses cost --experiments 20 --looks 30 --null-share 50% --days 3 --alpha 0.05