TRACK 05A1Liner notes
PharmStable is a web app for a small but stubborn question: when a drug sits past its expiry date, is it actually gone? Most stockpiles get binned on the assumption that an expired pill is a dead pill, but stability is a sliding scale, not a switch. PharmStable scores residual bioactivity on a 0 to 100 heuristic, factoring in time past expiry, storage temperature, humidity, light exposure, container integrity, and formulation, then hands the result back as one of three plain verdicts: Likely Active, Possibly Degraded, or Likely Inactive.
On top of the stability score sits a discovery layer powered by the Anthropic API. Once a drug has been analysed, Claude suggests analog compounds, structural modifications, related drugs, and repurposing candidates, each one tied back to the specific degradation pathways the heuristic just flagged. The brief was never to replace clinical validation, it was to give a researcher or a curious pharmacist a fast first pass before they reach for the bin or the literature.
Built on Next.js, TypeScript, and Tailwind, with Supabase doing auth and history so every analysis is saved to your account, and the Anthropic API kept server-side so no keys leak to the client. The bit I'm fondest of is the verdict gauge: a single semi-circular arc that fills green, amber, or red as the score lands, with the degradation factor breakdown sitting underneath it. One glance and you know what the model thinks, and one scroll and you know why.
A2Credits
- Next.js
- TypeScript
- Tailwind
- Anthropic API