Hacker
Yashasvi Thakur
@yashasvithakurdtu
Projects
Marshal
Flagsmith Experimentation HackathonNov 2026
Marshal makes a self-hosted Flagsmith experiment steer itself. An A/B test keeps sending half the users to the worse version until someone looks, and looking every day breaks the statistics: Flagsmith's own interval, read after every round, calls about 1 in 5 no-effect tests a winner or loser. Marshal sits beside self-hosted Flagsmith. It reads a running experiment straight from Flagsmith's events table with its own SQL (matching all 10 numbers on Flagsmith's scorecard), decides with an always-valid interval that stays valid however often you look and stays called once called, and moves traffic toward the likely winner through Flagsmith's own rollout endpoint, with a floor, a holdback and guardrails. When a variant hurts a guardrail metric it can cut it to 0% in one write. When the result is in, marshal gate gives CI one verdict as an exit code, and marshal ship completes the experiment through Flagsmith, keeping any segment where the winner is credibly worse on control with a segment override. marshal plan says before you start whether the experiment can finish at your traffic, and on which day. Who would use it: teams running Flagsmith Experimentation on their own infrastructure who want fewer users on the losing variant, honest early calls, and a safe, gated ship. Evidence: 500 simulated experiments per scenario: +9% conversions at a real +50% lift, +5% when the new version is a bad release, 1.2% wrong calls on no-effect tests against about 20% for Flagsmith's interval read every round. Live on self-hosted Flagsmith: the split moved 50 -> 82% and the treatment was called a winner (+24.8%, always-valid [+0.6%, +52.9%], about 49 more conversions than a fixed split); ship --by device kept android (-52.7%, a credible loser) on control, and afterwards 20/20 new android users got control and 60/60 others the winner; the instant stop cut a variant that quadrupled checkout errors to 0% about a second after it noticed, and 30/30 new users were back on control.