CITYPULSE
Real-Time Civic Signal & Telemetry Dashboard for Jaipur


DATA INTEGRITY
Zero Synthetic Readings
VERIFICATION
Unit + Integration Suite
EVENT
AmiHacks PS-2
01 // THE OBJECTIVE
Built for AmiHacks Problem Statement 2 to solve fragmented urban data in Jaipur without faking telemetry. Every reading had to remain traceable to real timestamped feed records, explicitly flagging upstream outages instead of fabricating synthetic weather or sensor fallbacks.
02 // SYSTEM ARCHITECTURE
Engineered with Next.js, TypeScript, Supabase, Leaflet, GSAP, Motion, and Zod schema validation. Includes strict API failure contracts (reporting upstream weather/AQI failures as DEGRADED), normalized 3-hour rolling-window analysis, and a deterministic 3-day replay engine isolated from live storage.
Execution Pipeline
Timestamped Ingestion
Normalizes civic reports, transport updates, and AQI/weather feeds through strict Zod contracts.
Degraded-Safe Fallbacks
Provider failures surface explicit unavailable/degraded states—never synthetic readings.
Unified Map & Trend Sync
Leaflet map selections and report cards share identical timestamped records and 3-hour trend windows.
Deterministic Replay Mode
Three 6-moment replay days run the full analysis rules without polluting live Supabase storage.