RoutePulsers

Optimize Faster. Move Better.

Wild BugsShipped October 15, 2026#general
Visit Repo
RoutePulsers banner

About

## The problem it solves

RoutePulse is an intelligent campus transportation optimization system designed to make shuttle operations more efficient, reliable, and adaptable. It combines arrival-time prediction, passenger-demand estimation, route and vehicle optimization, and discrete-event simulation to help transportation operators make better decisions.

The system estimates shuttle arrival times, anticipates demand at different stops, and recommends feasible changes to departure times, vehicle assignments, and service schedules. It also identifies operational issues such as capacity violations, potential missed connections, and vehicle scheduling conflicts.

A simulation engine allows operators to compare the existing transportation plan against an optimized plan under normal conditions and disruptions, such as demand spikes, traffic delays, and vehicle breakdowns. This makes it possible to evaluate decisions before applying them in a real-world environment.

By combining predictive insights with constraint-aware optimization and measurable performance evaluation, RoutePulse aims to reduce passenger waiting times, improve vehicle utilization, serve demand more effectively, and make campus transportation more reliable.

Our goal: Move campus transportation from reactive scheduling to data-driven, proactive decision-making.

## Challenges we ran into

Key Issue: Unreliable Run Retrieval in the Operations Dashboard

The most significant issue encountered during the Operations Dashboard integration was the unreliability of GET /api/v1/runs/{run_id}. The backend currently lacks a persistent storage layer, and completed simulation results are stored in a process-local dictionary in backend/app/simulation/store.py:13. As a result, each simulation run is accessible only within the memory of the Uvicorn process that created it.

This limitation manifested in three key scenarios:

Dashboard Refresh and State Loss: After executing a scenario and noting its run_id, users could reload the dashboard or return to it later, only to find that the subsequent request to retrieve the run returned 404 {"detail": "unknown run_id: ..."}. Development Server Restarts: During development, Vite hot reloads and backend restarts could invalidate previously cached run references, making existing simulation results inaccessible. Multi-Worker Deployment Risks: When running the backend with multiple Uvicorn workers or behind a load balancer, a run created by one process would not be available to other processes because each maintains its own in-memory store. Current Workaround

To address this limitation, the dashboard now treats the complete SimulationResult returned synchronously by POST /scenarios/{id}/run and /evaluate as the primary source of truth. The result can be persisted on the client side when necessary, eliminating the need to retrieve it again using run_id.

The GET /api/v1/runs/{run_id} endpoint is retained as a convenience for retrieving results within the same session, rather than serving as the dashboard's primary mechanism for accessing simulation data.

Recommended Long-Term Solution

As noted in the store's docstring, the long-term solution is to replace the in-memory _RUNS dictionary with a durable storage mechanism, such as SQLite, Redis, or a JSON file.

This change can remain isolated to the three existing functions in backend/app/simulation/store.py — save_run, get_run, and clear (lines 16–28). By preserving the existing interface, the persistence layer can be replaced without requiring significant changes to the rest of the simulation code.

Implementing durable storage would ensure that simulation results remain available across dashboard refreshes, backend restarts, and multi-worker deployments, making run retrieval more reliable and predictable.

Screenshots

RoutePulsers screenshot 1RoutePulsers screenshot 2RoutePulsers screenshot 3RoutePulsers screenshot 4

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.