Hacker
Shivam Sharma
@sharmashivam23
Elsewhere
Projects
Verdict - AI-Powered Experiment Management & Decision Engine | Flagsmith
Flagsmith Experimentation HackathonNov 2026
I built Verdict, an AI agent that runs A/B tests in Flagsmith, plus a referee that decides whether the result can be trusted. The problem Flagsmith can split visitors between two versions of something, like a button that says "Checkout" or "Buy now", and count who clicks. What it can't tell a team is when they're allowed to believe the numbers. These are the mistakes teams make: Checking too early. Looking at a test again and again, and stopping at the first good-looking number, raises the false-alarm rate from 1% to roughly 5%. Broken traffic splits. If visitors weren't split evenly, the result means nothing, and nobody notices. Weak wins get shipped. A high win percentage can still hide a result that could be zero. Dead code stays. After the winner ships, the code for the losing version stays in the repo forever. What Verdict does Sets up the test. You tell the agent what to test in plain English. It creates the flag, the metric and the experiment in Flagsmith. Gives one clear verdict. The referee returns SHIP, KEEP RUNNING, INCONCLUSIVE or INVALID. Each answer comes with a checklist of what passed, what failed and what is still uncertain. Uses plain code to decide. The verdict comes from deterministic code, not the AI. The language model only explains it and can't override it. Double-checks Flagsmith's number. It recalculates the win probability independently and blocks shipping if the two disagree. Catches broken splits. It runs its own check for uneven traffic splits. Asks before it acts. Anything that writes to Flagsmith or GitHub needs approval. Shipping a winner needs a typed confirmation, and the agent refuses to ship unless the referee says SHIP. Cleans up after the win. Once a winner ships, the agent opens a GitHub pull request that removes the losing code. Pull request #1 in the repo was made this way by a real run and passed CI. Helps connect your site. It generates the code to paste into your website and checks that events are arriving. Keeps your keys yours. You can sign in with GitHub or continue as a guest. Each person uses their own keys.