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

feat: 1776 add flex features to list #1780

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

qcdyx
Copy link
Contributor

@qcdyx qcdyx commented Jun 17, 2024

Summary:

Closes #1776

Expected behavior:
I discovered that the primary reason most of the stop_times.txt files in flex feeds are unparsable is the absence of the required stop_id field. So to test flex features, I commented @required annotation in the GtfsStopTimesSchema and generated the following report. We need to discuss the logic behind the requirement of the stop_id field for non-flex feeds vs. flex feeds.
(I cannot find a flex feed that meets Deviated Fixed Route criteria)

image
Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with gradle test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@qcdyx qcdyx linked an issue Jun 17, 2024 that may be closed by this pull request
Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

✅ The rule acceptance has passed for commit bcde487
Download the full acceptance test report here (report will disappear after 90 days).

📊 Notices Comparison

New Errors (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

Dropped Errors (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

New Warnings (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

Dropped Warnings (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1524 sources (~0 %) are corrupted.

⏱️ Performance Assessment

📈 Validation Time

Assess the performance in terms of seconds taken for the validation process.

Time Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 3.97 4.12 ⬆️+0.14
Median -- 1.35 1.45 ⬆️+0.10
Standard Deviation -- 11.13 11.30 ⬆️+0.18
Minimum in References Reports us-massachusetts-massachusetts-area-express-max-gtfs-431 0.51 0.60 ⬆️+0.09
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 291.99 296.16 ⬆️+4.17
Minimum in Latest Reports us-michigan-detroit-people-mover-gtfs-417 0.52 0.54 ⬆️+0.02
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 291.99 296.16 ⬆️+4.17

@emmambd
Copy link
Contributor

emmambd commented Jun 17, 2024

I think we have to wait to review/merge this until some other schemas are added and tested, e.g #1750

@emmambd
Copy link
Contributor

emmambd commented Jun 17, 2024

stop_id being required changes as part of #1749

@emmambd emmambd added the do not merge This PR needs more work/discussion or is not meant to be merged label Jun 17, 2024
@emmambd emmambd linked an issue Jun 17, 2024 that may be closed by this pull request
@davidgamez
Copy link
Member

I think we have to wait to review/merge this until some other schemas are added and tested, e.g #1750

I agree, even if we merge flex features won't be visible until the conditional requirement is added to the schema.

web/client/static/RULES.md Outdated Show resolved Hide resolved
…/FeedMetadata.java

Co-authored-by: cka-y <60586858+cka-y@users.noreply.github.com>
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

✅ The rule acceptance has passed for commit 15a7c4f
Download the full acceptance test report here (report will disappear after 90 days).

📊 Notices Comparison

New Errors (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

Dropped Errors (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

New Warnings (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

Dropped Warnings (0 out of 1524 datasets, ~0%) ✅

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1524 sources (~0 %) are corrupted.

⏱️ Performance Assessment

📈 Validation Time

Assess the performance in terms of seconds taken for the validation process.

Time Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 3.93 4.05 ⬆️+0.13
Median -- 1.37 1.45 ⬆️+0.08
Standard Deviation -- 10.75 10.93 ⬆️+0.18
Minimum in References Reports ph-unknown-hm-transport-inc-and-robinsons-malls-gtfs-1105 0.49 0.58 ⬆️+0.09
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 279.53 286.13 ⬆️+6.60
Minimum in Latest Reports us-california-city-of-wasco-gtfs-1788 0.56 0.53 ⬇️-0.03
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 279.53 286.13 ⬆️+6.60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge This PR needs more work/discussion or is not meant to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Flex features to list Flex: Add booking rule schema
5 participants