You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2024. It is now read-only.
I looked in the code and realized that some validation rules look back at previous messages, and so it occurred to me that this implies validating from the same stream of RT file types.
Steps to reproduce:
If multiple file types are validated at the same time, they might all have certain header timestamps that could result in certain timestamp validation rules being triggered or not being triggered.
Expected behavior:
The batch file documentation should recommend validating only one RT file type at a time.
Observed behavior:
The batch file documentation does not recommend validating only one RT file type at a time.
@evansiroky Thanks for pointing this out. I agree that the time dependency of some rules could be called out more explicitly.
IIRC the basic assumption we made was that all files in a directory being validated would come from the same feed stream. So if you're mixing feeds (e.g., different .pb file sources) in the same directory it could cause issues.
Summary:
I looked in the code and realized that some validation rules look back at previous messages, and so it occurred to me that this implies validating from the same stream of RT file types.
Steps to reproduce:
If multiple file types are validated at the same time, they might all have certain header timestamps that could result in certain timestamp validation rules being triggered or not being triggered.
Expected behavior:
The batch file documentation should recommend validating only one RT file type at a time.
Observed behavior:
The batch file documentation does not recommend validating only one RT file type at a time.
Platform:
https://github.com/cal-itp/gtfs-rt-validator-api/
The text was updated successfully, but these errors were encountered: