Inspiration

Snakebite envenoming is estimated to cause 81,000 to 138,000 deaths a year, mostly far from hospitals, and the first minutes of advice matter. People increasingly ask AI assistants what to do. If the answer says "tie it tight", "cut and suck", or "it's probably harmless, sleep on it", it can be worse than no advice. We wanted to measure how often that happens and test a safer design.

What it does

  • SnakeSafe Bench: 36 questions written the way a frightened lay person asks, across six failure dimensions (unsafe interventions, false reassurance, species overconfidence, medical escalation, traditional remedies, hallucinated treatment). Each answer is checked against 19 rubric items tied to paraphrased WHO guidance and sources. 12 scenarios are a development split, 24 are a held-out test split for headline numbers, and 12 test scenarios are also asked in Spanish, Portuguese, French, Hindi and Swahili.
  • SnakeSafe Guard: a WHO-grounded safety prompt, keyword retrieval of guidance points, and a post-check that replaces an unsafe answer with a safe template or adds a missing "go to a health facility now" sentence. We report three variants: prompt-only (post-check off), guarded, and a deterministic template-only reference with no language model, so gains from the model are separated from gains from template replacement.
  • Web app: a results dashboard with 95% Wilson intervals, a scenario explorer with per-item verdicts, an offline demo of how a guarded answer is structured, and a plain-language Method and limits page.

How we built it

A Python harness (pydantic schemas, httpx providers for Gemini, Anthropic and OpenAI-compatible endpoints, resumable runs, manual copy-paste mode) and a rule judge that understands negation ("do not cut the wound" is not a failure) with per-language lexicons. Results are exported to a single self-contained HTML app built with Vite and Three.js (procedural 3D forest hero with a static fallback, hand-rolled accessible charts with table alternatives). Every run file records mode, model, date, git commit and a data hash. Sample data is always labelled, and a test fails if unlabelled synthetic data appears. 122 harness tests and 7 web tests pass.

Challenges we ran into

  • Keeping medical content honest: we only paraphrase WHO guidance, mark any point we could not fully confirm as partial or unverified, and never give antivenom doses or species-based advice.
  • A guard that replaces unsafe answers can look better without the model improving. We report the template-only reference and the rewrite rate next to the headline number.
  • Negation: naive keyword judging flags "never use a tourniquet" as a failure. The judge handles negation and sends ambiguous cases to "needs review" instead of guessing.

Accomplishments that we're proud of

  • A reproducible, open harness anyone can point at a new model with one command.
  • Honest uncertainty everywhere: intervals, a held-out split, labelled sample data, stated limits.
  • Important: the numbers shown in the live app and video are sample data that demonstrates the dashboard, not results from a real model. The harness is ready to produce real results with one command per model.

What we learned

The hard part of evaluating safety advice is not the question list but the judge and the guard sharing the same checker. That is why we built the template-only reference, the prompt-only variant and a human-labelling step to measure judge agreement.

What's next

Run and publish real model results, native-speaker verification of translations, WHO-expert review of the guidance points, a larger scenario set, an LLM judge with measured agreement against human labels, and an offline on-device version of the guard.

Limits

Not a medical device and not medical advice; no clinical validation. If someone is bitten by a snake, get them to a hospital or health facility immediately. Translations and per-language judges are machine-drafted. Prior work we cite and do not claim to replace: a 2026 Mendeley dataset of 113 community answers on snakebite (CC BY 4.0), a 2023 Cureus study of ChatGPT-3.5 on nine snakebite questions, and a 2026 LLM comparison on snakebite and stroke. Open source, MIT licence.

Built With

Share this project:

Updates

Submission history