Skip to main content

SheShield

Social Impact & Women Safety Navigation
Google Maps finds the fastest route. SafePath finds the route with the least risk exposure, explains the tradeoff, and lets the user choose their detour limit.


Key Features

  • Fastest vs. Safest Route Comparison: Side-by-side polyline routing, safety scores (0–100), distance, and time deltas.
  • Explainable Factors: Real-time visibility into street lighting, proximity to open havens/transit/police, and historic incident exposure.
  • Detour Allowance Slider: User-tunable slider (0% to 50% extra distance) allowing personal control over the safety-distance tradeoff.
  • Time-of-Day Dynamics: Dynamic scoring with dedicated Day Mode (well-lit) and official OpenFreeMap Night Mode (lighting penalty active).
  • Crowdsourced Unsafe Spot Reporting: Direct nearest-segment penalty with immediate live map rescoring.
  • Curated Demo Presets: 1-click test scenarios for rapid pitch evaluations.
  • Incident CSV Ingestion: Support for uploading custom crime/incident point datasets.

Architecture & Tech Stack

  • Frontend: React 19, TypeScript, Vite, Tailwind CSS, MapLibre GL, OpenFreeMap vector basemaps (Dark & Positron styles, zero API key required).
  • Backend: Python 3.12, FastAPI, NetworkX, OSMnx, GeoPandas, Shapely, Scikit-learn.
  • Data Source: Chicago Open Data Portal (Socrata API) + OpenStreetMap (OSM) infrastructure.
  • Routing Engine: Constrained Multi-Candidate shortest paths (Yen’s K-Shortest Paths) with composite safety score optimization.

Quickstart (Local Development)

Prerequisites

  • Node.js >= 20
  • Python >= 3.12 (managed via mise or system)

Run Both Services Concurrently

./run_dev.sh

Run with Docker Compose

docker compose up --build

Built with

gemmageminipythonhtmltailwindcssreactvitefastapidockertypescriptjsongithubgithubcopilotgitgemini-apigoogle-geminidigitaloceannode.js

AI tools

Coded withAntigravityGitHub CopilotOpenCodeClineGemini 3.8 FlashGemma 4 31B

Prize Categories Entered

  • Deepmind Google

    Best Use of Gemma 4

    Submitted
  • DigitalOcean

    Best Open-Source AI Project

    Submitted