Hacker

Caleb John Daniel Balakumar

@lecaleb23

Joined Aug 2026Student at Chennai Institute of TechnologyIndia

Elsewhere

Projects

  • flagsmith-experiment-closeout

    Flagsmith Experimentation HackathonNov 2026

    An Agent Skill that closes out a Flagsmith A/B experiment from start to finish. Flagsmith's own agent prompt gets an experiment running; this skill handles the part where teams usually go wrong: reading the results correctly, deciding, rolling out the winner, and removing the flag before it turns into tech debt. Who uses it: any team running Flagsmith Experimentation with a coding agent (Claude Code or any Agent Skills compatible agent). You say "close out the checkout experiment" and the agent follows the skill: 1. context: reads the bound project and environment, warns if it looks like production 2. list: finds the running experiment 3. verdict: refreshes results and applies four gates: sample ratio mismatch, data floor (50 identities / 5 conversions per arm), winner (95% chance AND the credible interval clears zero), and guardrails 4. shows a decision card and waits for an exact approval token 5. ship: completes the experiment through Flagsmith and serves the winner to 100% 6. verify + record: checks the live flag weights and writes a markdown decision record with the evidence and rollback command 7. cleanup-plan: lists every line of code still using the flag, plus the CLI commands to delete losing variations and archive the flag While building it I found a gap: for experiments created through the API, Flagsmith returns srm_p_value null because its SRM check only reads default weights. The skill computes the same chi-squared test itself from the experiment's configured split, so a broken traffic split is blocked even when Flagsmith is silent. Verified on a live Flagsmith Cloud experiment (#634, 1,500 users): the skill's numbers match the dashboard exactly. 40 offline tests run in GitHub Actions on Ubuntu, Windows and Python 3.9.