Hacker

SWARIT Srivastava

@swarit371

Joined Nov 2026Student at LnmiitIndia

Elsewhere

Projects

  • AdhereLab

    Flagsmith Experimentation HackathonNov 2026

    AdhereLab is a Telegram companion that reminds patients to take their daily medication, and runs experiments on its own wording to find out which kind of reminder actually gets people to take it. The problem: about half of patients with long-term conditions don't take their medication as prescribed (WHO). Reminder apps help, but they send everyone the same message, written once by guesswork, and nobody tests which words work. Who would use it: patients on long-term treatment (tuberculosis, diabetes, hypertension), and the clinics or health programmes that support them. How it works: a patient runs /start on Telegram and answers a few questions (medicine, condition, someone they stay healthy for, what keeps them going, reminder time). Every day the bot sends a reminder with a TAKEN button. For each reminder, a Flagsmith multivariate flag decides the framing: loss ("skipping today increases your risk of…"), family ("taking it keeps you healthy for [name]"), or streak ("you're on a 7-day streak, protect it"). Confirming within 60 minutes is sent to Flagsmith as a conversion event, and Flagsmith Experimentation picks the winner. After the experiment we rolled out by segment instead of one global winner, and let each patient override the segment: their stated motivation and a "Not for me" button become Flagsmith traits, and a guardrail segment makes sure someone who names no loved one never gets a family message. All targeting lives in Flagsmith; the bot only reports traits. Health details (medicine, condition, names) stay on our server and are never sent to Flagsmith. Stack: Python, FastAPI, python-telegram-bot, Flagsmith Python SDK, SQLite, plus a 500-patient simulator that drives traffic through the same API path as real users. Repo: https://github.com/Swarit371/AdhereLab