Skip to content

Include line suspensions & general alerts in RR status #20

Open
@sopwerdna

Description

@sopwerdna

In general, the status for RR depends on cumulative lateness of trains, and the status for city transit/buses depends on line cancellations. There are sometimes edge cases for the SEPTA system where an RR line is entirely suspended, but therefore has no late trains and does not count towards the level of fucked-ness. I'd like to propose somehow factoring that into the RR status, possibly from the other SEPTA alert API. This could also go the other way, factoring in cumulative lateness of buses on a route towards the bus network status, but I'm less sure of how to go about doing that. Could perhaps be done w/ the Transitview API but seems a bit harder to determine if any given route is meaningfully delayed, since we effectively get perfect service if (for example) all buses on a route with a 15 minute headway are exactly 15 minutes late.

I think the first part of my suggestion (factoring in some modifier to the fucked-ness if any RR lines are totally suspended) is pretty simple, and I plan to have a stab at it in a PR in the near future. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions