Hacker
Laksh Goyal
@lgoyal6
Projects
Flagsmith Warehouse Parity
Flagsmith Experimentation HackathonNov 2026
Warehouse Parity is a read-only command-line tool for teams moving an active Flagsmith experiment from PostgreSQL to ClickHouse. Before switching, an engineer gives it the experiment ID and read-only access to both warehouses. The tool reads the experiment and metric definitions from Flagsmith, compares the exposure and metric events over the same time window, and runs Flagsmith’s own per-variant metric queries on both sides. The result is PASS, HOLD, or INCONCLUSIVE. A HOLD report identifies the missing or extra event type, or the variant and metric whose calculation differs. It gives the exact cutoff to reuse after a repair, so the team can check the same window again before switching warehouses. I tested it with a Flagsmith experiment that routed synthetic users to two GMI Cloud models. The checker caught one missing latency event in the staging backfill. After the repair, all 36 events and both metric aggregates matched. In a separate staging test, it caught a malformed sample that made the two warehouses calculate different results from identical event rows.