-
Notifications
You must be signed in to change notification settings - Fork 38
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
Google Feed Validator (Near) Parity #236
Conversation
Check that timepoints have times and that a stop time without pickup/drop off is a timepoint (otherwise it has no purpose) re #167
Codecov Report
@@ Coverage Diff @@
## dev #236 +/- ##
============================================
+ Coverage 60.06% 60.43% +0.36%
- Complexity 904 927 +23
============================================
Files 145 147 +2
Lines 7435 7483 +48
Branches 877 885 +8
============================================
+ Hits 4466 4522 +56
+ Misses 2645 2634 -11
- Partials 324 327 +3
Continue to review full report at Codecov.
|
src/main/java/com/conveyal/gtfs/validator/FrequencyValidator.java
Outdated
Show resolved
Hide resolved
src/main/java/com/conveyal/gtfs/validator/FrequencyValidator.java
Outdated
Show resolved
Hide resolved
src/test/resources/fake-agency-overlapping-trips/frequencies.txt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good, just some minor comments about the frequency checks and recommendations for improving the tests.
Thanks, @evansiroky. Just addressed the comments. |
// -- diagrams courtesy of esiroky -- | ||
// A wraps B. | ||
// A: |---------| | ||
// B: ___|--|____ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha, nice. :)
🎉 This PR is included in version 4.3.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Checklist
dev
before they can be merged tomaster
)Description
Brings the validator library into (near) parity with the Google Feed Validator (re #167). The only thing remaining is better shape validation and some encoding/line ending stuff. This PR:
This also refactors how ErrorExpectations are handled so it partially addresses #233.