Skip to content

Instantly share code, notes, and snippets.

@SirPolaris
Created February 15, 2026 18:00
Show Gist options
  • Select an option

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

Select an option

Save SirPolaris/b2b9159c5173482f65e743e2089f0171 to your computer and use it in GitHub Desktop.
Bus Stats Wishlist

Generations

  • Bus List
    • L1/L2/L4 seperation
  • Advance work to capture drops/service reductions

RT Data

  • Status Colour
    • late detected in the last 5min
    • on detour
    • has Official alerts
    • canceled detected in the last 30min, ect
  • Location Driving Map
    • Where should be, Where is
    • Delta distance triggers alarm
      • Compare against route for "offroading" alerts
      • Also indication its driving home, if not canceled
  • Avg Speed
  • Not moving detector/RIP bus detector

Static Route Characteristics

  • length_km
  • time_m
  • noOfStops
  • avgTimeBetweenStops_s
  • FirstBusTime
  • LastBusTime
  • AvgSpacing_m
  • numVariants
  • numDirections

Reliability & Punctuality

  • Overall + Time of Day
    • onTimeRate
    • earlyRate
    • lateRate
    • cancelRate
    • serviceChangeSince
      • This Week
      • This Month
      • This Quarter
      • This Year
      • Lifetime
    • ghostRate
    • reliabilityIndex / deivancyRate
    • avgDelay_s
    • missingBuses (needed vs fielded)
  • daysWithoutIssues.record
  • daysWithoutIssues.streak
  • totalReports
  • LastTimeWeGotStatusReport
  • AvgTimeBetweenReports

Passenger Load & Comfort

  • totalFullReports
  • avgFullness
  • timeTheBusRunsEmpty
  • ridersvskmServed
  • totalHStrandingCustomers
    • Global and Local
  • avgPrioritySeatingUsage
  • avgWheelchairUsage

Problem Hotspots

  • mostPlaguedTrip.time
  • mostPlaguedTrip.name
  • mostPlaguedTrip.location (can map segments)
  • mostAffectedStops[]
  • mostCannedTimes[]
  • mostReportedProblems[]
  • topDelayCauses[]
  • topStopsForDelays[]
  • topStopsForCrowding[]

Operational Efficiency

  • avgCycleTime
  • avgLayoverTime
  • avgDeadheadRatio
  • efficiencyScore
  • avgBusFielded

Trend Indicators

  • avgQuality
  • trend7d
  • trend30d
  • routeHealthScore
  • serviceConsistencyScore

Metadata / System Info

  • lastUpdated
  • dataCompleteness
  • rtCoverageRate
  • reportVolume
  • activeMobileUserCountbyTimeofDay

Mobile User Achivements

  • GPS amounts
  • Stranded hours
  • Events
    • Offroading
    • Flambe
    • Crash
    • "Given The Boot"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment