-
Notifications
You must be signed in to change notification settings - Fork 101
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
BlockTripsWithOverlappingStopTimesNotice
error not being caught
#1089
Comments
Thank you for your reporting a bug. The issue has been placed in triage, the MobilityData team will follow-up on it. |
Thanks for flagging this @rpedraza01 - From the first steps of the troubleshooting it appears that the root of the problem might be deeper than checking the rule's logic We might have to design additional tests to verify that validators were invoked. I'll check with @isabelle-dr and will get back to you shortly. |
Hi @rpedraza01! After testing the validator with your dataset, I found the problem. Currently, the validator uses the first and last stop times of each trip to compute the overlap intervals. If at least one arrival or departure time is missing for these stop times, the trip is excluded from the validation process. Specifically for your dataset, the problem is that the last stop time for each trip is missing both arrival and departure times, so the Since the specification is allowing missing arrival and departure times, we should be considering this use case. Here are some options we can consider:
These are ideas and should also be discussed with @isabelle-dr. She is currently out of the office, back on July 18. @rpedraza01 if you have other ideas or think any of these options would better solve your use case, please let us know :) |
Hi @maximearmstrong, just a quick note on your reply:
Currently the specification for stop_times
It also reads for
So my interpretation of the specification is that it does not allow missing arrival and departure times as in the case of the sample GTFS provided. It allows missing arrival/departure times when they are not the first and last stops of a trip. The trip |
Hi @dhersz, you're right. I missed that yesterday. In that case, we may need a new |
Closing, this is replaced by #1485 |
Bug report
Describe the bug
Trillium Solutions is building a UI for the gtfs-validator. During our QA process, we encountered a potential bug in which the validator tool doesn't catch overlapping blocks and the
BlockTripsWithOverlappingStopTimesNotice
rule doesn't get triggered. We've created a GTFS dataset with purposely "bad" data to test the validator.How we reproduce the bug
Steps to reproduce the behaviour:
(gtfs-validator-test-us.zip).
BlockTripsWithOverlappingStopTimesNotice
error but not find the error message.Expected behaviour
We would expect the
BlockTripsWithOverlappingStopTimesNotice
error message to appear with all necessary identifying data points to allow a user to make corrections to the dataset.Observed behaviour
BlockTripsWithOverlappingStopTimesNotice
doesn't appear to be working properly.Screenshots:
Image is from Trillium Solutions GTFS Manager software
There are six block overlaps that our own software is catching but gtfs-validator isn't.
We think investigating this possible bug at this file location would be a good start
main/src/test/java/org/mobilitydata/gtfsvalidator/validator/
and adding more test cases here.Environment versions
Please let me know if there's any other info y'all need.
The text was updated successfully, but these errors were encountered: