Hacker

Aryan Sanganti

@aryan.sanganti

Joined Oct 2026Student at NAIndia

Projects

  • FlagLens — Explain Feature Flag Decisions Before Changing Them

    Flagsmith Experimentation HackathonNov 2026

    We built FlagLens, an investigation and release-preflight workspace inside self-hosted Flagsmith. It answers a question developers and support teams regularly face: “Why does this customer receive a different feature experience?” A flag’s environment default alone cannot explain the outcome when identity overrides, targeting traits, segment rules and percentage rollouts interact. FlagLens evaluates a selected flag in the affected customer’s context using Flagsmith’s existing evaluation engine. It brings the returned result, deciding configuration and supporting evidence into one investigation. Developers can preview a proposed change, compare current and proposed outcomes, and check expectations across a selected cohort before making a configuration change. Our demo makes the problem concrete. Two beta customers visit a shop, but only one receives the new checkout. FlagLens identifies the affected customer’s identity override and previews what happens when that override is ignored. A human can then review the evidence and make the actual change through Flagsmith. The workspace also supports importing runtime observations, comparing them with a fresh server evaluation, and saving private investigation snapshots for later review. In a recorded local benchmark covering three flags and three identities, explanation requests matched the existing engine reference in all 90 samples. Median explanation latency was 16.22 ms, compared with 54.61 ms for five sequential API reads collecting detailed evidence. These are local request measurements; we have not measured human investigation time savings.