Skip to main content

Hacktoberfest Hack Day Chandigarh 2026

Hacktoberfest Hack Day Chandigarh 2026 is a 7-hour open-source AI hackathon organized by IEEE SSIT CUSB in collaboration with IEEE Computer Society CUSB. Build innovative AI-powered solutions, contribute to open source, and turn your ideas into real-world impact.

About the project

SUMMARY
SafeLayer is a crowd-sourced route-safety layer for maps. People report problems like dead streetlights, broken roads and isolated stretches by tap, voice note or short video. Gemma 4 turns these reports into structured data, and travellers see which route has fewer reported issues before they leave.

INSPIRATION
Navigation apps choose the fastest route, not the safest one. They don’t know that a lane goes dark after 8 pm or that a stretch is deserted at night. That knowledge lives with the people who use those roads every day, and women, late-night commuters, students and delivery workers pay the price for the gap. We wanted that knowledge to reach the people who need it, without turning a safety tool into a surveillance or stigma tool.

WHAT IT DOES
Anyone can report a concrete issue in seconds: tap a reason chip, add a voice note in Hindi, English or Hinglish, or record a short video. Gemma 4 reads the multimodal input and extracts a structured report (issue type, severity, time relevance, confidence). When someone plans a trip, SafeLayer compares route options, shows what to watch for along each one, and suggests an alternative with the trade-off made clear, such as “+3 min, fewer reported issues”. SafeLayer never says a route is “safe”. It is information, not a guarantee.

HOW WE BUILT IT

  • Gemma 4 extracts structured data from tap, voice and video reports. Output is validated against a strict schema, and low-confidence results go to verification instead of being published.
  • Street View + Places baseline: every street gets a starting estimate, so the app is useful before anyone reports. It is labelled “lamps present, working status unknown”, because a street light existing does not mean it works.
  • Trust layer: cross-modal consistency checks, a GPS presence check (so tap-only reports can be trusted without video), Beta-distribution reporter reliability, and collusion detection, including against AI-generated fake reports.
  • Time-aware risk model: each hazard has an hour-of-day profile and decay, so “dark after 8 pm” only counts at night and fixed problems fade away.
  • Safety-aware routing: alternative routes are re-ranked by reported issues at the user’s travel time.
  • Scout mode: a Strava-style layer where riders earn “routes scouted” and “km inspected” by verifying stretches. It rewards accuracy rather than volume, and reporting is locked while the vehicle is moving.
  • Civic loop: verified reports can be turned into a draft complaint to the municipal body.
  • Evaluation framework: synthetic benchmarks, plus a simulation approach with hidden ground truth, to stress-test the trust and routing layers.
  • Stack: Next.js, TypeScript, Gemma 4 (hosted or local via Ollama), MapLibre / Google Maps, OpenStreetMap.

RESPONSIBLE BY DESIGN
Reports are limited to concrete, observable issues, and the app never labels neighbourhoods or communities. Raw media is not retained, locations are fuzzed, there is no facial recognition, and every warning shows the reasons behind it. We built the trust layer on the assumption that video alone is no longer proof of anything.

CHALLENGES

  • Why would people contribute? Video is optional. One-tap reports are trusted through presence checks and corroboration, and scout mode rewards verified accuracy.
  • Cold start: the Street View baseline gives coverage before any reports exist, but it is daytime imagery, so we treat it only as a weak prior.
  • Fake and AI-generated reports: handled with consistency, reliability and collusion checks.
  • Low-end phones: processing is tiered from on-device, to server-side with media deleted after extraction, to tap-only.

WHAT WE LEARNED
A safety tool has to be designed for trust and privacy from the start, and honest evaluation matters more than impressive numbers.

WHAT’S NEXT
Fine-tuning Gemma on Hinglish and regional-language reports, differential-privacy noise on aggregated locations, a richer spatial model, and pilots with campuses, hostels and resident associations.

LIMITATIONS
Coverage depends on community contributions. Street View is daytime imagery and may be outdated. The current demo uses seeded data for a Central Delhi corridor. SafeLayer reports observations and cannot guarantee anyone’s safety.

Built with

next.jstypescriptgemmaollamamaplibreopenstreetmaptailwind-cssgitgithub

AI tools

Coded with

AntigravityClaude CodeGemma 4 26B A4BGemma 4 31BGoogle AI StudioOlder ClaudeGPT-5.5Older GPT

Prize Categories Entered

  • Deepmind Google

    Best Use of Gemma 4

    Submitted