Hacker
Shotaro Takakura
@shotaro_takakura
Projects
FlagMedic
Flagsmith Experimentation HackathonNov 2026
Flagsmith's coding-agent setup prompt gets you from an idea to a running experiment in minutes. FlagMedic takes over from there: the part where experiments quietly go wrong, and the part nobody does afterwards. On every check it refreshes the experiment's results through the Flagsmith Experimentation API, reads the metrics and the warehouse connection, and reads your app's source. Five health checks (no exposures, zero conversions from an event-name mismatch, sample ratio mismatch, lost buffered events, no warehouse) block any verdict and point at the exact line that causes the problem. In our SRM demo, Flagsmith's results showed bold at a 99.8% chance to win while the split was 45.6/54.4 (p = 1.6e-6); FlagMedic said FIX and pointed at the early return before the exposure. When the experiment is healthy it says SHIP, STOP or CONTINUE, and a SHIP becomes a proposal a human must approve. On approval it calls Flagsmith's complete endpoint to serve the winner and opens a cleanup pull request that removes the flag read and the losing branch (PR #2 in the repo). Every proposal, rejection and approval is written to an audit log. Numbers from the demo runs: broken metrics caught on the first results refresh after traffic; 6 Flagsmith API calls per check with no LLM in the loop; 0 changes without human approval. Traffic in the demo is simulated; the experiments run on Flagsmith Cloud.