Skip to content

Conversation

@cka-y
Copy link
Contributor

@cka-y cka-y commented Feb 28, 2025

Summary:
Closes #1977
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)

@emmambd emmambd requested a review from Sergiodero February 28, 2025 16:47
@github-actions
Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

Details of new errors due to code change, which is less than the provided threshold of 1%.

Dataset Notice Code
us-colorado-bent-county-transportation-gtfs-2157 missing_prior_notice_last_time
us-colorado-continuum-gtfs-2165 missing_prior_notice_last_time
us-colorado-la-junta-transit-gtfs-2170 missing_prior_notice_last_time
us-colorado-mountain-express-gtfs-2294 missing_prior_notice_last_time
us-colorado-mountain-metro-transit-gtfs-2292 missing_prior_notice_last_time
Dropped Errors (6 out of 1824 datasets, ~0%) ✅

Details of new errors due to code change, which is less than the provided threshold of 1%.

Dataset Notice Code
us-colorado-bent-county-transportation-gtfs-2157 missing_prior_day_booking_field_value
us-colorado-continuum-gtfs-2165 missing_prior_day_booking_field_value
us-colorado-la-junta-transit-gtfs-2170 missing_prior_day_booking_field_value
us-colorado-mountain-express-gtfs-2294 missing_prior_day_booking_field_value
us-colorado-mountain-metro-transit-gtfs-2292 missing_prior_day_booking_field_value
us-california-el-segundo-transportation-gtfs-458 missing_required_column
New Warnings (0 out of 1824 datasets, ~0%) ✅

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1824 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.76 3.85 ⬆️+0.10
Median -- 1.35 1.42 ⬆️+0.07
Standard Deviation -- 11.37 11.28 ⬇️-0.09
Minimum in References Reports us-massachusetts-massachusetts-area-express-max-gtfs-431 0.48 0.55 ⬆️+0.07
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 317.14 308.26 ⬇️-8.88
Minimum in Latest Reports us-florida-citrus-county-transit-gtfs-630 0.52 0.50 ⬇️-0.03
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 317.14 308.26 ⬇️-8.88
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 470.63 MiB 456.69 MiB ⬇️-13.94 MiB
Median -- 335.92 MiB 335.92 MiB ⬇️0 bytes
Standard Deviation -- 788.10 MiB 738.13 MiB ⬇️-49.97 MiB
Minimum in References Reports ro-vrancea-consiliul-judetean-vrancea-gtfs-1984 38.05 MiB 39.74 MiB ⬆️+1.69 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 11.26 GiB 11.11 GiB ⬇️-154.32 MiB
Minimum in Latest Reports us-south-dakota-sioux-area-metro-sam-gtfs-192 415.92 MiB 38.51 MiB ⬇️-377.41 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 11.26 GiB 11.11 GiB ⬇️-154.32 MiB

Copy link
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love to see the replacement notice feature being expanded! I add a minor ask before approval.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

Details of new errors due to code change, which is less than the provided threshold of 1%.

Dataset Notice Code
us-colorado-bent-county-transportation-gtfs-2157 missing_prior_notice_last_time
us-colorado-continuum-gtfs-2165 missing_prior_notice_last_time
us-colorado-la-junta-transit-gtfs-2170 missing_prior_notice_last_time
us-colorado-mountain-express-gtfs-2294 missing_prior_notice_last_time
us-colorado-mountain-metro-transit-gtfs-2292 missing_prior_notice_last_time
Dropped Errors (5 out of 1824 datasets, ~0%) ✅

Details of new errors due to code change, which is less than the provided threshold of 1%.

Dataset Notice Code
us-colorado-bent-county-transportation-gtfs-2157 missing_prior_day_booking_field_value
us-colorado-continuum-gtfs-2165 missing_prior_day_booking_field_value
us-colorado-la-junta-transit-gtfs-2170 missing_prior_day_booking_field_value
us-colorado-mountain-express-gtfs-2294 missing_prior_day_booking_field_value
us-colorado-mountain-metro-transit-gtfs-2292 missing_prior_day_booking_field_value
New Warnings (0 out of 1824 datasets, ~0%) ✅

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1824 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.74 3.84 ⬆️+0.10
Median -- 1.35 1.43 ⬆️+0.08
Standard Deviation -- 10.89 10.90 ⬆️+0.02
Minimum in References Reports ph-unknown-hm-transport-inc-and-robinsons-malls-gtfs-1105 0.47 0.60 ⬆️+0.13
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 279.97 278.05 ⬇️-1.92
Minimum in Latest Reports us-oregon-hut-airport-shuttle-gtfs-635 0.48 0.47 ⬇️-0.00
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 279.97 278.05 ⬇️-1.92
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 476.72 MiB 467.81 MiB ⬇️-8.91 MiB
Median -- 335.92 MiB 335.92 MiB ⬇️0 bytes
Standard Deviation -- 828.37 MiB 794.97 MiB ⬇️-33.39 MiB
Minimum in References Reports us-california-redding-area-bus-authority-raba-gtfs-114 38.51 MiB 44.94 MiB ⬆️+6.43 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.66 GiB 10.92 GiB ⬆️+270.91 MiB
Minimum in Latest Reports ro-vrancea-consiliul-judetean-vrancea-gtfs-1984 68.84 MiB 38.13 MiB ⬇️-30.71 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.66 GiB 10.92 GiB ⬆️+270.91 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

Details of new errors due to code change, which is less than the provided threshold of 1%.

Dataset Notice Code
us-colorado-bent-county-transportation-gtfs-2157 missing_prior_notice_last_time
us-colorado-continuum-gtfs-2165 missing_prior_notice_last_time
us-colorado-la-junta-transit-gtfs-2170 missing_prior_notice_last_time
us-colorado-mountain-express-gtfs-2294 missing_prior_notice_last_time
us-colorado-mountain-metro-transit-gtfs-2292 missing_prior_notice_last_time
Dropped Errors (5 out of 1824 datasets, ~0%) ✅

Details of new errors due to code change, which is less than the provided threshold of 1%.

Dataset Notice Code
us-colorado-bent-county-transportation-gtfs-2157 missing_prior_day_booking_field_value
us-colorado-continuum-gtfs-2165 missing_prior_day_booking_field_value
us-colorado-la-junta-transit-gtfs-2170 missing_prior_day_booking_field_value
us-colorado-mountain-express-gtfs-2294 missing_prior_day_booking_field_value
us-colorado-mountain-metro-transit-gtfs-2292 missing_prior_day_booking_field_value
New Warnings (0 out of 1824 datasets, ~0%) ✅

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1824 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.75 3.84 ⬆️+0.10
Median -- 1.38 1.46 ⬆️+0.08
Standard Deviation -- 10.92 10.99 ⬆️+0.08
Minimum in References Reports us-oregon-hut-airport-shuttle-gtfs-635 0.48 0.51 ⬆️+0.04
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 290.84 289.10 ⬇️-1.74
Minimum in Latest Reports us-oregon-hut-airport-shuttle-gtfs-635 0.48 0.51 ⬆️+0.04
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 290.84 289.10 ⬇️-1.74
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 460.25 MiB 472.14 MiB ⬆️+11.89 MiB
Median -- 335.92 MiB 335.92 MiB ⬇️0 bytes
Standard Deviation -- 740.07 MiB 797.71 MiB ⬆️+57.64 MiB
Minimum in References Reports us-new-mexico-santa-fe-trails-gtfs-839 39.16 MiB 39.17 MiB ⬆️+4.05 KiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.62 GiB 10.80 GiB ⬆️+183.34 MiB
Minimum in Latest Reports us-florida-bay-town-trolley-gtfs-337 43.69 MiB 38.26 MiB ⬇️-5.43 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.62 GiB 10.80 GiB ⬆️+183.34 MiB

Copy link

@Sergiodero Sergiodero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to change the notice description to the following (for additional clarity):

prior_notice_last_day is required when booking_type=2 (prior day booking) is specified in booking_rules.txt.

Other than that LGTM!

@davidgamez davidgamez merged commit 03cd4dd into master Mar 4, 2025
136 checks passed
@davidgamez davidgamez deleted the feat/1977 branch March 4, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate out missing_prior_day_booking_field_value

4 participants