dystonse / dystonse-gtfs-data

Read gtfs and gtfs-realtime data, write them into a database, perform and export analyses and make predictions based on them.
9 stars 2 forks source link

Different percentage for the same boarding, even with the same times #7

Open lenaschimmel opened 4 years ago

lenaschimmel commented 4 years ago

For some trips, the stop page shows a percentage, and the matching trip page shows another percentage. Of course, this might be the case when issue #6 occurs, but it also happens independently.

For example, this trip has the same timing information on both pages, but different percentages:

Stop page:

Bildschirmfoto 2020-08-24 um 20 31 18

Trip page:

Bildschirmfoto 2020-08-24 um 20 35 38
lenaschimmel commented 4 years ago

Some notes:

lenaschimmel commented 4 years ago

As indicated by the previous comment, for transfers without an actual walk, the bug was caused by the 0m-pseudo-walk.

For actual walks, trip_page and stop_page use wildly different distances (e.g. 211m vs. 485m), and hence different walk times and probabilities.

This is a larger issue and needs redesign of our multi-stop handling. See #22 for this.