> cat sappy.md
sappy
Hackathon project: real-time deterioration alerts for nurses, built to cut alert fatigue — fewer, better alerts.



1 / 3
nurse dashboard: beds sorted by open alerts, each one tiered and timed.
> about
Sappy watches simulated inpatient vitals in real time and alerts nurses when a patient looks like they’re deteriorating, with alerts tiered by severity. The problem is alert fatigue, so the goal was fewer, better alerts: in the demo, one patient slides into early sepsis while another has a single SpO2 dip from a loose probe that the agent deliberately does not escalate. We built for the privacy-first track, so only pseudonymized data is stored and no third-party AI service sees patient data.
what i built
- NEWS2 scoring — the severity engine that turns each vitals reading into a clinical NEWS2 score, plus the persistence rule that decides when a score is worth an alert.
- Real-time alert worker — a service on Render that polls the Supabase vitals table every second, scores only the rows that changed, and writes tiered alerts that stream to the nurse dashboard over Realtime. It resets a patient when the simulator clock rewinds, and fixes band-edge “wobble” by re-alerting only after 8 readings below the last alerted tier.
- Tests — alert-worker tests against a fake Supabase client (no network), and data-shape, loader and simulator tests for the pipeline.
- Nurse dashboard polish — matched the React web app to the team’s Figma palette and tightened the patients, activity and alerts pages for the demo.