An A/B test
of A/B tests.
Each tile is one Claude Code run on a real open-source app. Flagsmith gave it its own set-up prompt or the same prompt plus Twoheads, and 40 browser visitors decided whether the A/B test it built can be trusted.
Flagsmith's prompt: 9 of 51 trustworthy, 17 made-up winners. Plus Twoheads: 24 of 56, 0 made-up winners. Flagsmith: 95.7% chance to win, shipped.
What one verify step changed.
107 runs of Claude Code on five real open-source apps. Flagsmith assigned the arm of every run and computed the result; the plan was fixed before the first run.
9 of 51 with Flagsmith's set-up prompt; 24 of 56 with the same prompt plus Twoheads.
Without Twoheads, a third of the runs left a decided "winner" on the Flagsmith dashboard that came only from simulated traffic.
chance that the Twoheads step wins (lift +143%, 95% interval -20% to +306%). The pre-registered rule says ship, and a person approved it.
Both browser-only apps failed in both arms: Flagsmith's browser SDK holds events for 10 seconds and drops them when a visitor leaves sooner. How we found that.
How a tile gets its colour.
Every run is a unit in a Flagsmith Cloud experiment (#482, environment claude-code).
Assign
Flagsmith picks the arm through the flag setup_protocol. official is Flagsmith's own coding-agent set-up prompt, verbatim. verify is the same prompt plus the Twoheads skill.
Build
Claude Code, headless in a container, sets up an A/B test in a real open-source app against its own self-hosted Flagsmith, with nobody there to answer its questions.
express-todos · flaskr · next-turso · react-landing · vue-todomvcguardrails agent_tokens · agent_minutes
Judge
A hidden oracle sends 40 browser visitors through the changed app and checks each one against what Flagsmith stored, then reports the run's outcome back to Flagsmith.
metric run_trustworthy · each dot in a tile is one visitor