Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Update E022 - Split out same times from decreasing times #365

Open
barbeau opened this issue Feb 12, 2020 · 0 comments
Open

Update E022 - Split out same times from decreasing times #365

barbeau opened this issue Feb 12, 2020 · 0 comments
Labels
enhancement your-first-pr Issues that are a good place to start contributing to the project
Milestone

Comments

@barbeau
Copy link
Member

barbeau commented Feb 12, 2020

Summary:

E022 rule currently flags two cases:

  1. Prediction time is the same across stops
  2. Prediction time decreases across stops

After talking to a few agencies, it looks like the first can occur in systems that don't have a high precision of scheduled arrival/departure times in static GTFS stop_times.txt. So, if they have the same scheduled times across several stops, and the RT system is schedule deviation-based, it will also predict the same RT arrival/departure times across stops. So agencies may want to ignore this in certain cases (although ideally the system would provide better predictions).

The second case is always an RT error - the bus should never travel backwards in time when moving between stops.

So, we should split out these two cases into different rules.

Question - do we downgrade the first case to a warning? Maybe we make E022 specific to traveling backwards in time, and add a warning for the first case?

Also, let's rename the rule to make it easier to understand (e.g., predictions vs stop_time_update).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement your-first-pr Issues that are a good place to start contributing to the project
Projects
None yet
Development

No branches or pull requests

1 participant