Closed qcdyx closed 2 months ago
This contribution does not follow the conventions set by the Google Java style guide. Please run the following command line at the root of the project to fix formatting errors: ./gradlew goJF
.
✅ The rule acceptance has passed for commit 9b2eb12812cb0155a938c7da0890a88578f5db94 Download the full acceptance test report here (report will disappear after 90 days).
Details of new errors due to code change, which is less than the provided threshold of 1%.
| Dataset | Notice Code | |---------|-------------| | us-district-of-columbia-washington-wmata-gtfs-1847 | bidirectional_exit_gates |No changes were detected due to the code change.
No changes were detected due to the code change.
No changes were detected due to the code change.
0 out of 1575 sources (~0 %) are corrupted.
Assess the performance in terms of seconds taken for the validation process.
| Time Metric | Dataset ID | Reference (s) | Latest (s) | Difference (s) | |-----------------------------|-------------------|----------------|----------------|----------------| | Average | -- | 3.90 | 4.02 | ⬆️+0.12 | | Median | -- | 1.34 | 1.43 | ⬆️+0.08 | | Standard Deviation | -- | 11.41 | 11.40 | ⬇️-0.01 | | Minimum in References Reports | us-florida-citrus-county-transit-gtfs-630 | 0.50 | 0.65 | ⬆️+0.15 | | Maximum in Reference Reports | gb-unknown-uk-aggregate-feed-gtfs-2014 | 328.46 | 324.10 | ⬇️-4.36 | | Minimum in Latest Reports | us-california-city-of-wasco-gtfs-1788 | 0.53 | 0.53 | ⬆️+0.00 | | Maximum in Latest Reports | gb-unknown-uk-aggregate-feed-gtfs-2014 | 328.46 | 324.10 | ⬇️-4.36 |1) As mentioned via Slack, the rule should be bidirectional_exit_gate
not bidirectional_exit_gates
2) Will pathways.txt
be a part of the References in https://gtfs-validator.mobilitydata.org/rules.html?
bidirectional_exit_gate
✅ The rule acceptance has passed for commit 519e19954d961075baed9bd2fae3d54ace5a9546 Download the full acceptance test report here (report will disappear after 90 days).
Details of new errors due to code change, which is less than the provided threshold of 1%.
| Dataset | Notice Code | |---------|-------------| | us-district-of-columbia-washington-wmata-gtfs-1847 | bidirectional_exit_gate |No changes were detected due to the code change.
No changes were detected due to the code change.
No changes were detected due to the code change.
0 out of 1575 sources (~0 %) are corrupted.
Assess the performance in terms of seconds taken for the validation process.
| Time Metric | Dataset ID | Reference (s) | Latest (s) | Difference (s) | |-----------------------------|-------------------|----------------|----------------|----------------| | Average | -- | 3.91 | 4.00 | ⬆️+0.09 | | Median | -- | 1.37 | 1.44 | ⬆️+0.07 | | Standard Deviation | -- | 11.32 | 11.38 | ⬆️+0.06 | | Minimum in References Reports | us-oregon-hut-airport-shuttle-gtfs-635 | 0.50 | 0.62 | ⬆️+0.12 | | Maximum in Reference Reports | gb-unknown-uk-aggregate-feed-gtfs-2014 | 328.10 | 328.42 | ⬆️+0.33 | | Minimum in Latest Reports | us-oregon-high-desert-point-gtfs-636 | 0.50 | 0.49 | ⬇️-0.01 | | Maximum in Latest Reports | gb-unknown-uk-aggregate-feed-gtfs-2014 | 328.10 | 328.42 | ⬆️+0.33 |@emmambd regarding question 2, yes, the new rule should appear in the rules.html. Based on https://github.com/MobilityData/gtfs-validator/pull/1517 and https://github.com/MobilityData/gtfs-validator/pull/1522, as long as comments are written for BidirectionalExitGateNotice class, a description for the new rule (birectional_exit_gate) should be included in the rules.html.
@qcdyx Can you share a screenshot of what the specific notice looks like? I wanted to make sure pathways.txt
was linked in the references.
Summary:
Closes #1786 added new validation rule: bidirectional_exit_gateway
Expected behavior: When a entry in Pathway.txt has pathway mode 7 and is bidirectional, an error bidirectional_exit_gateway is generated.
Please make sure these boxes are checked before submitting your pull request - thanks!
gradle test
to make sure you didn't break anything