
Full-stack web app · live transit data
TransitPulse
The same recorded feed powers a live map, historical replay, reliability reports and clearly labelled route-change estimates.
Analytics for Route 004: stop reliability, delay over time, and bus spacing against the timetable.
- Role
- System designer
- Timeline
- 2026
- Status
- Complete · runs locally
Screenshots
One recorded feed, four views
The recorder polls Edmonton’s GTFS-Realtime feed every 30 seconds and stores observations in PostgreSQL with PostGIS. The live map, historical replay, reliability reports and route-change estimates all use that same recorded history, so gaps and duplicate updates have to be handled once at ingestion rather than hidden later in the interface.
Technical highlights
Fixing a sixfold frequency error
Mixing directions and treating repeated updates as arrivals made a 15-minute route appear to run every 2.5 minutes. Those two fixes brought the measured median to 15 min 2 s against a published 15.
Rejecting a weak model
A neural network failed on unseen cities, so I rejected it. Across eight agencies, leave-one-agency-out testing put ridge regression at about 3.36 km/h error. For small changes, it beats a no-change guess by only 0.5 to 2.3%. I label those estimates low confidence.
Stopping duplicate observations
The feed repeats updates. Each observation is hashed with its timetable import, a database constraint rejects duplicates, and a test confirms the behaviour.
Technologies
Python · FastAPI · SQLAlchemy · PostgreSQL + PostGIS · scikit-learn · pytest · Next.js · React · TypeScript · MapLibre GL · GitHub Actions · GTFS-Realtime
Links and credits
- Source on GitHub for TransitPulse (opens in a new tab)github.com
- Project site for TransitPulse (opens in a new tab)usw344.github.io
It runs locally against its own database and Edmonton's live feed, so there's no hosted demo. The project site walks through each mode.
Transit data: Edmonton Transit Service open data. Map imagery in the screenshots: © CARTO, © OpenStreetMap contributors.


