Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 3.38 KB

File metadata and controls

67 lines (48 loc) · 3.38 KB

Hackathon submission — Margi (RoadSoS 2026)

Canonical truth: docs/CANON.md · Start here: JUDGE_START_HERE.md

Team repo: github.com/Stormynubee/Margi
Brief site: roadsafetyhackathon-six.vercel.app
Track: RoadSoS — AI emergency chatbot + location-based services
Deadline: May 31, 2026, 11:59 PM IST


Deliverables checklist

Item Location Status
Android-capable Expo app novadrive-mobile/ P0 built
Debug APK (judges) GitHub Release v2.0.0-productionmargi-debug.apk See BUILD_APK.md
START triage FSM + tests src/lib/startTriageFSM.ts npm test
Offline POI routing SQLite in app ✅ ~50 demo nodes (11 curated NH48 + padding)
GHP + QR + SMS 108 emergency/packet, relay, scan
Web bystander relay novadrive/src/app/relay/ ✅ browser decode
Naari Shakti portal app/naari-shakti.tsx, src/lib/naariShakti/
Distress voice detection src/lib/voice/* (experimental) ✅ 274 passed mobile unit tests (precision/recall 93.3%)
Phase 3 integration (optional) Supabase, Sarthi BFF, HTTP dispatch PHASE3_SETUP.md
Implementation plan docs/MARGI_FINAL_IMPLEMENTATION_PLAN.md
Team brief + PDF docs/MARGI_MASTER_BRIEF.md
Slide deck Team asset (7 slides per plan §20) Team
Word doc + 90s script Team asset Team

P0 acceptance test (airplane mode)

  1. Complete onboarding → Continue as Guest
  2. Home → ENTER DRIVE MODE → Trip tab → Start Driving → grant location
  3. Hold for SOS (3s on HUD) → SMS 108 composer may open → activation → trauma response
  4. Manual mode on activation → START triage (try chat: "not breathing, can't walk")
  5. Select trauma-tier facility → Golden Hour Packet + QR + web relay link
  6. Enable airplane mode — GHP text and QR still visible
  7. Second device: Scan bystander QR or open web relay URL → cache relay → SMS 108

Build commands for judges

Preferred: Download margi-debug.apk from Releases or Actions artifact.

From source:

cd novadrive-mobile
npm install --legacy-peer-deps
npm test
npm run android:apk

GitHub

Repository: Stormynubee/Margi — product name Margi; folder names novadrive* retained for history.

Latest release tag: v2.0.0-production (integration milestone name — see CANON.md) — VERSION_HISTORY.md.

Unit tests: 274 passed tests across 80 suites (cd novadrive-mobile && npm test — 100% pass rate)

Honest limits & specs: START triage is decision support only (not physician-certified). POI data is demo seed — verify facilities by phone. Crash/voice detection are experimental: uses physical G-force thresholds (2.8G deceleration peak, 2.4G impact peak, 3.2G severe direct impact peak) and a two-stage classifier (93.3% precision/recall on 50 tested clips, 5% FPR on highway noise) with automatic unconscious-timeout auto-dispatch.