Hacker
Yash Padiya
@er.yp
Elsewhere
Stack
- TypeScript
- JavaScript
- Python
- C#
- Java
- Next.js
- Go
- PostgreSQL
- SQL
Projects
RankWars
Flagsmith Experimentation HackathonNov 2026
RankWars is a product-search API that runs a real, measurable A/B experiment on search ranking. Text-only relevance search can't distinguish between dozens of products with near-identical names -the one a shopper actually wants might land at position 8, where almost nobody clicks. RankWars tests whether blending relevance with popularity and rating fixes that, using Flagsmith Experimentation to run it as a genuine controlled experiment rather than a guess. Any team deciding between two ranking/recommendation strategies without wanting to gut-check it. A Flagsmith multivariate flag (search_ranking) decides per-user which algorithm serves their search -plain Postgres full-text relevance, or relevance blended with sales popularity and rating. Every search calls getExperimentFlag (recording an exposure), every result click reports back as a conversion. The variant is hidden from the user so it can't bias their behavior, and results are cross-checked against the app's own Postgres logs so we're not just trusting one dashboard.