The first is a trip which ends at stop 72 (Studio Arts Building). Bojangles' logic is meant to exclude this, which we achieve by grabbing the row after every row which we think is a departure via remembering the index of the row we think is the departure. Then we iterate through the pairs of rows we grabbed and throw out pairs whose trip IDs do not match.
The following two lines occur in
stop_times.txt
(line numbers included):The first is a trip which ends at stop 72 (Studio Arts Building). Bojangles' logic is meant to exclude this, which we achieve by grabbing the row after every row which we think is a departure via remembering the index of the row we think is the departure. Then we iterate through the pairs of rows we grabbed and throw out pairs whose trip IDs do not match.
This is incorrect, because in cases like this it throws out a perfectly legitimate departure, causing things like https://github.com/umts/pvta-avail/issues/860.