Hacker

Saransh Prabhu

@saranshift

Joined Nov 2026Software Engineer at Morgan StanleyIndia

Elsewhere

Projects

  • ToggleMart – Smart Flash Sale & A/B Testing Platform

    Flagsmith Experimentation HackathonNov 2026

    ToggleMart is a feature-flag-driven e-commerce platform that demonstrates how teams can manage live shopping experiences, run product experiments, and respond to operational incidents without requiring code deployments. The platform uses Flagsmith to control flash sales, discounts, regional and membership-based promotions, shipping benefits, payment methods and checkout availability. It also includes an AI-powered Operations Copilot that allows staff to manage feature flags using natural language. Staff can describe an operational problem or desired change, and the Copilot analyses the current Flagsmith configuration and proposes the smallest appropriate change. A human must review and approve the proposal before it is applied. Additionally, ToggleMart implements an A/B experiment to test whether adding delivery reassurance to a product-card CTA ("Add to cart · Ships today") increases add-to-cart conversions compared with the standard CTA. Each anonymous visitor receives a persistent identifier, allowing consistent experiment assignment and conversion tracking. The platform is designed for developers, product teams and operations teams who need safer feature rollouts, faster incident response and data-informed product decisions.### Hypothesis Adding delivery reassurance directly to the product-card CTA will increase add-to-cart conversions by reducing uncertainty around delivery expectations. Experiment and variants The experiment uses the Flagsmith multivariate feature flag `add_to_cart_cta`. - Control: "Add to cart" - Treatment: "Add to cart · Ships today" Traffic assignment Flagsmith handles experiment assignment. The application uses a persistent anonymous visitor ID so that visitors retain a consistent variant across visits. Traffic allocation is configured through the Flagsmith experiment rather than being hardcoded in the application. Metrics and events The primary metric is the add-to-cart conversion rate. - Exposure: experiment assignment/enrolment through the Flagsmith experimentation SDK. - Conversion: `add_to_cart` event sent through the Flagsmith SDK. - Both events use the same anonymous visitor identifier. Results The local diagnostic dashboard showed the following during a simulated traffic run: - Metric - Control - Treatment Visitors - 2,006 - 65 Add-to-cart events - 235 - 11 Observed conversion rate - 11.7% - 16.9% The treatment showed an observed relative difference of approximately +44.5%. The traffic simulator uses predefined conversion probabilities, so these figures demonstrate the assignment and event-tracking workflow rather than a real-world uplift. The local diagnostic allocation was also uneven, so the results should not be interpreted as a statistically validated comparison. Flagsmith Experiments is the authoritative source for experiment analysis. Learnings The implementation demonstrates how a product hypothesis can be translated into a feature-flag-controlled experiment, with persistent user assignment, exposure tracking and conversion measurement without changing the underlying application code for each variant.