Tube League Table · methodology v0.3
How the numbers are made
Every line is scored two ways: what TfL's status feed declared, and what TfL's arrival boards showed. This page sets out the rules behind both, and where they are weak.
Two views of the same railway
- TfL says Declared view: the Disruption Index. What TfL's status feed said about the line, minute by minute, weighted by how severe the status was and when it happened.
- Boards show Measured view: waiting time. How long passengers waited at a fixed set of stations, inferred from the arrival boards and compared with the timetable.
Across the Tube League Table pages, numbers from the status feed are marked TfL says and numbers from the arrival boards are marked Boards show.
A collector reads TfL's live API every minute and keeps every response, failed ones included. A minute with no data is missing, never Good Service and never a delay: it leaves both the top and the bottom of every score. Completeness, the share of a line's scheduled minutes that were observed, sits beside every score.
The Disruption Index
For each line and each London minute inside its scheduled hours, the pipeline takes the status TfL declared. When several apply at once, the highest weight wins. Each minute's severity weight is multiplied by its time weight:
Disruption Index =
100 × Σ (severity weight × time weight)
÷ Σ (time weight)That is the time-weighted average severity, from 0 (Good Service in every scored minute) to 800 (suspended in every scored minute). Lower is better. A peak minute counts twice on both sides of the division, so a line with more peak service isn't favoured, and a disrupted peak moves the average twice as far as an off-peak minute.
| TfL status | Weight |
|---|---|
| Good Service | 0 |
| Minor Delays | 1 |
| Special Service | 1 |
| Reduced Service | 1.5 |
| Severe Delays | 3 |
| Part Suspended | 5 |
| Suspended | 8 |
| Bus Service | 5 unplanned, 0 planned |
| Planned Closure, Part Closure | left out (engineering works) |
| Service Closed | left out |
| When | Weight |
|---|---|
| Weekday 07:00 to 10:00 and 16:00 to 19:00 | 2 |
| Other weekday service | 1 |
| Saturday and Sunday, including Night Tube | 0.75 |
TfL sometimes files planned engineering works as Suspended, Part Suspended or Severe Delays instead of Planned Closure or Part Closure. Such an entry counts as engineering works, like a closure, and leaves the score when TfL files it as planned work or its reason text says so. Works that overrun still count. A message that also reports an unplanned disruption is scored as usual. This rule is not yet settled, so the numbers it moves are provisional.
An unknown status code fails a test and stops the build; it is never given a default weight. Engineering works are left out of the score and reported on their own.
Ranking, and when a line isn't ranked
Lines are ranked by Disruption Index, lowest first; ties go to the higher Good Service share, and lines still level share a rank. A line is ranked only if it ran at least half its scheduled hours. Otherwise it keeps its index but shows as Not ranked: engineering works. Lines with thin data are still ranked, marked provisional, with the reason beside them, and never named in the headline.
Waiting time from the arrival boards
TfL doesn't publish when trains actually arrived. Its boards show predictions, and an arrival is inferred from how a train's predictions end: last seen within 120 seconds of the platform, then gone from the next poll. A prediction TfL lists with no direction takes the direction the same train or its platform shows; end stations and terminating trains are never filled. The rules are written twice, in SQL and in a Python reference, and tested against each other row for row.
The gaps between inferred arrivals at a station are compared with the timetable's gaps. Excess wait is the average wait a passenger arriving at random actually had, minus the wait the timetable implies. A long gap is a gap more than twice the longest scheduled gap in that hour.
Trains on the boards divides the trains the boards showed by the trains the timetable lists. It is measured at stations along each line; end stations (termini) are left out. At some of them TfL lists departing trains with no direction, so they would barely count, and at others it lists the same train on two platforms, so it would count twice. The boards may leave trains out, so it is a lower bound on what ran, not a count of cancellations.
The Honesty Gap counts the hours when TfL declared Good Service while the boards showed a long gap. An hour counts only when the line was Good Service for the whole hour and at least two of its core and branch measurement stations (not termini), in the same direction, each had a long gap ending in that hour, with Good Service declared across the whole of each gap. Lioness, Windrush and Liberty have fewer than two such stations, so their Honesty Gap cannot be checked, and is left blank rather than shown as 0. The gaps are measured from TfL's arrival boards, which list about 85% of timetabled trains; if the rest ran, some gaps exist only on the boards.
The quality gate
An hour of inferred arrivals is used only when the inference agrees with the boards: for each line, station, direction and hour, inferred trains must be between 80% and 120% of the trains seen on the boards. At five trains an hour, ±20% is one train. The build fails when too many hours are out of band, but it then skips only the measured tables; the declared league is built from status data alone and always publishes.
A line-week's measured numbers are published only when its own week passes as well. Otherwise the table says why:
| Shown | When |
|---|---|
| Not measured | DLR, tram, Waterloo & City and Suffragette are not measured at all |
| Not measured: shared boards | Circle and Hammersmith & City: the boards misfile trains on their shared section |
| Not enough reliable data this week | no hour passed the gate, the line's own gate failed or couldn't judge it, or under half its hours were measured |
| Measured view not yet updated for this week | the measured tables were not rebuilt after a failed gate |
TfL publishes no timetable for the Elizabeth line or the Overground, so they are measured against estimated frequencies, set to the lower of two sources. They are shown but not ranked on waiting time, and their trains-on-boards share can exceed 100%.
Thresholds
| Rule | Value |
|---|---|
| Provisional: share of scheduled minutes observed | under 90% |
| Provisional: share of scheduled minutes under closures | 25% or more |
| Not ranked: share of scheduled hours the line ran | under 50% |
| Quality gate band: inferred trains ÷ trains on the boards, per station-hour | 80% to 120% |
| Quality gate, whole build: judged core-station hours out of band, last 7 days | at most 30% |
| A line-week's own gate: judged core and branch station-hours out of band | at most 30% |
| Measured numbers published: share of scheduled station-direction-hours measured | at least 50% |
| Long gap: a headway longer than the longest scheduled gap that hour | more than 2× |
Known limits
- The declared view is TfL's word. It measures what TfL said, not what ran. That is why the measured view exists.
- Boards are not a train register. A train the boards never showed counts against the line in this measure, whether or not it ran.
- Held trains. Where sightings can't be linked by vehicle id, a train held outside a platform can count more than once. That shortens gaps exactly when there is a delay, so the measured view leans towards hiding delay, not inventing it.
- Flat weights for partial suspensions. Part Suspended scores 5 whether one station or half the line is shut.
- No passenger weighting. A minute on the Central line counts the same as a minute on the Waterloo & City.
- One-minute resolution. A disruption shorter than the gap between polls can be missed.
- No outside check yet. Once three four-week periods exist, the ranking will be compared with TfL's own share of scheduled trips operated.
The figures are offered under CC BY 4.0. Powered by TfL Open Data.