Skip to content

Instantly share code, notes, and snippets.

@SirPolaris
Created February 27, 2026 13:44
Show Gist options
  • Select an option

  • Save SirPolaris/0caae1dfba1793d4822efac1b7073f00 to your computer and use it in GitHub Desktop.

Select an option

Save SirPolaris/0caae1dfba1793d4822efac1b7073f00 to your computer and use it in GitHub Desktop.

The goal to capture a weighted health, that reflects the likely hood of frustration and overall desirability

Which means it needs to track events (late, early, cancelled, missing full - frustration) but thoes events should be scored/weighted by the situation. Below is the brainstormed idea for metrics:

Tracking:

  • Time of day weighted (rush hour is more important)
  • Last or only of the day, cancelation punishment
  • Frequency (how often, and if this is a enduring problem) weighted
  • Daily and weekly consecutive weight (pos/neg - back to backs, and every day same hour missing) but moderated by total wait time (1+ waits are punishing)
  • Fullness weight (Overcrowding or fine)
  • Bonus points if the reader is down (free rides)

Not going to track:

  • Modifier for if there is "other options" (ie. Many busses go downtown/to a station), because that biases the formula and its not true for all patrons
  • Quality of the ride, as buses change
    • Could track on a "trip/time" level when most often the anti-social ride the buses, vs battle hardened regulars.
    • Adding a "quaity modifyer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment