Hacker

Avanish Kasar

@avanishkasar

Joined Sep 2026Google Developers Group Organizer at Mumbai UniversityIndia

Projects

  • Verdict: an Agent Skill that takes a Flagsmith A/B test from hypothesis to shipped winner

    Flagsmith Experimentation HackathonNov 2026

    Coding agents can already flip a feature flag. The hard part of experimentation is the decision: is the result real, who signs off, and who deletes the losing code afterwards? Teams ship on lucky early streaks, miss broken traffic splits, and leave dead `if (variant)` branches in the code forever. Verdict is an Agent Skill (Agent Skills spec) plus a small engine, fsx, built on the Flagsmith CLI. It takes an agent through the whole experiment: write the hypothesis → create the multivariate flag, keyed variants, metric and experiment → instrument the code with getExperimentFlag and trackEvent → read Flagsmith's Bayesian results → apply a written decision rule (SRM check, minimum sample, chance-to-win ≥ 95% and credible-interval lower bound > 0) → stop for human approval → ship the winner through the experiment's own `complete` endpoint → delete the losing code path and open a PR (the real one it opened: https://github.com/avanishkasar/flagsmith-verdict/pull/2). Every write is snapshotted and logged to an audit ledger with its undo command. `kill` and `rollback` are one command each. I ran it end to end on a real signup-form experiment (3 vs 6 fields).