Hacker News new | ask | show | jobs
by arjie 40 days ago
Haha, Bay Area agencies are truly amazing. When a driver (negligently, in my opinion, considering that she lied about what happened) derailed a muni train, I asked for what actions were taken as a result and the only thing that was provided was that a hearing was performed.

I don’t mind waiting but I think I’d prefer paying for faster results. BART took half a year to respond to how they calculate on-time rating but they did finally give me the answer. It had some interesting properties (canceling trains leads to higher on-time performance if trains are late) and I wrote it up here: https://wiki.roshangeorge.dev/w/BART_On-Time_Metric

2 comments

I’ve often wonder if cancelling trains (and busses) would make them on time more in practice too, by queuing theory. If you just let them run late, that starts to compounds until you get a Bernoulli distribution (exponential arrival delays) as the system becomes unstable. If canceling a train means the next one can run actually on time, then the system is forced back towards stability with predictable reliable times. Sure you had to miss one slot, but in the alternative scheme where everyone is late, you miss every slot — and average wait times are doubled in an exponential process compared to a periodic system that sometimes skips an entire train intentionally.
Only if the expected ridership of each train is less than half full: otherwise the people still have the accumulating delay because they can’t get on a train that’s full even if it’s on time.
Even so, it'd be better to lose a small fraction of trains than make them all late, since have 2x trains at 2x intervals operates at much lower efficiency (with the first train being over capacity, taking much longer for people to get off and on, and the second train half empty -- unloading feels almost quadratic in the size of the stack of people to push and pop). Of course, yes, that assumes you can ensure it's only a small fraction of trains being skipped and that each train is big enough and scheduled frequently enough to move the expected passengers. Those seem like different problems to solve though, once the trains aren't allowed to run late.
Great work!