Hacker

Rehaan Khan

@rak2315

Joined Sep 2026Student at JSS University, NoidaIndia

Projects

  • GAVEL

    Flagsmith Experimentation HackathonNov 2026

    GAVEL won't let you ship a winner Flagsmith's own data can't back. The problem: on Flagsmith 2.295 the completion dialog pre-selects the leading variant, and the sample ratio mismatch (SRM) check, which tells you the traffic split is broken, returns no value for an experiment set up the usual way. Creating an experiment sets the flag's default variant weights to 0, and the check reads its expected split from them. In our reproduction an experiment read 97.06% chance to win with srm_p_value null and no warning. So the leader gets pre-selected and nothing has checked the split it came from. What GAVEL does: it watches every running experiment, reads Flagsmith's results, and runs a stopping policy written in plain English, checked in a fixed order. It refuses an experiment whose split check fails or is missing, or that has too few users, and a refusal has no Approve button. When it refuses because the weights are 0, it names the cause and shows the one Flagsmith CLI command that fixes it (it never runs it). When the data is sound and a variant crosses the threshold, it proposes the exact Flagsmith call (complete with a rollout decision) and how to reverse it. A named person approves in the console, from the CLI, or by commenting /approve on the GitHub issue GAVEL opens. GAVEL then completes the experiment, confirms by reading Flagsmith back, and opens a pull request that deletes the losing code. Its own write power sits behind a Flagsmith flag a person can turn off. Who uses it: a team running Flagsmith experiments that wants each winner shipped quickly, but only on data Flagsmith itself can vouch for, with a human approving every change. No model decides anything: the policy is evaluated by plain code, and every number on screen is labelled with the Flagsmith call it came from. Judges can see a recorded real run with no setup: make judge (README).