Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Rule Proposal: Feed-wide threshold of TripUpdate records having missing/stale timestamp #163

Open
evansiroky opened this issue Aug 4, 2022 · 0 comments
Labels
GTFS(-rt) best practice clarification GTFS RT Best Practices Used for issues or pull requests related to GTFS RT Best Practices new rule

Comments

@evansiroky
Copy link

Summary:

A warning should be raised whenever a feed-wide threshold has been met among all TripUpdate entities that have a missing or stale timestamp.

Steps to reproduce:

Given a TripUpdate dataset
When the validator has scanned each individual TripUpdate record and detects that a certain feed-wide threshold of those records have a timestamp that is missing or stale
Then the validator should flag the TripUpdate feed in question for having a feed-wide problem of missing or stale timestamps being set

Expected behavior:

The GTFS-Realtime Best Practices state:

Data within a GTFS Realtime feed should not be older than 90 seconds for Trip Updates and Vehicle Positions and not older than 10 minutes for Service Alerts.

The GTFS Validator should flag an error whenever a certain percent of TripUpdate records do not have a timestamp value added or one that is added but is far enough in the past that it is stale.

Observed behavior:

Timestamps are currently only checked at the feed-level.

etc

  • This will need some definition of what percent of TripUpdate records would need a missing/stale timestamp in order to be flagged.
@holly-g holly-g moved this from New Requests to Prioritized Backlog (sorted) in Data Services: External Contributions Sep 30, 2022
@holly-g holly-g moved this from Prioritized Backlog (sorted) to Blocked in Data Services: External Contributions Oct 5, 2022
@holly-g holly-g moved this from Blocked to Prioritized Backlog (sorted) in Data Services: External Contributions Feb 2, 2023
@e-lo e-lo added new rule GTFS RT Best Practices Used for issues or pull requests related to GTFS RT Best Practices GTFS(-rt) best practice clarification labels Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GTFS(-rt) best practice clarification GTFS RT Best Practices Used for issues or pull requests related to GTFS RT Best Practices new rule
Projects
None yet
Development

No branches or pull requests

2 participants