Skip to content

feat: 2050 add notice for pathways to stop with stop access1 - #2104

Merged
qcdyx merged 11 commits into
masterfrom
2050-add-notice-for-pathways-to-stop-with-stop_access1
Feb 24, 2026
Merged

feat: 2050 add notice for pathways to stop with stop access1#2104
qcdyx merged 11 commits into
masterfrom
2050-add-notice-for-pathways-to-stop-with-stop_access1

Conversation

@qcdyx

@qcdyx qcdyx commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Summary:

Closes #2050

Expected behavior:

Explain and/or show screenshots for how you expect the pull request to work in your testing (in case other devices exhibit different behavior).

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 Feb 19, 2026 that may be closed by this pull request
@qcdyx
qcdyx marked this pull request as ready for review February 19, 2026 20:36
@qcdyx
qcdyx requested a review from skalexch February 19, 2026 20:38
@github-actions

Copy link
Copy Markdown
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

16 out of 1003 sources (~2 %) are corrupted.
Dataset Ref Report Exists Ref Report Readable Latest Report Exists Latest Report Readable
mdb-1114
mdb-1123
mdb-1332
mdb-1808
mdb-1953
mdb-227
mdb-383
mdb-55
mdb-606
mdb-609
mdb-655
mdb-780
mdb-789
mdb-806
mdb-9
mdb-907

⏱️ 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 -- 6.08 6.22 ⬆️+0.14
Median -- 1.57 1.80 ⬆️+0.23
Standard Deviation -- 29.27 27.01 ⬇️-2.26
Minimum in References Reports mdb-1788 0.41 0.42 ⬆️+0.01
Maximum in Reference Reports mdb-2014 829.36 748.35 ⬇️-81.01
Minimum in Latest Reports mdb-1788 0.41 0.42 ⬆️+0.01
Maximum in Latest Reports mdb-2014 829.36 748.35 ⬇️-81.01
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 557.95 MiB 576.93 MiB ⬆️+18.97 MiB
Median -- 327.62 MiB 331.96 MiB ⬆️+4.34 MiB
Standard Deviation -- 973.24 MiB 1.01 GiB ⬆️+58.90 MiB
Minimum in References Reports mdb-1984 38.16 MiB 67.72 MiB ⬆️+29.56 MiB
Maximum in Reference Reports mdb-2393 8.52 GiB 8.78 GiB ⬆️+268.09 MiB
Minimum in Latest Reports mdb-61 41.71 MiB 40.42 MiB ⬇️-1.29 MiB
Maximum in Latest Reports mdb-2393 8.52 GiB 8.78 GiB ⬆️+268.09 MiB

@skalexch skalexch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good logic-wise. I agree with @jcpitre's suggestions for optimization.

… of github.com:MobilityData/gtfs-validator into 2050-add-notice-for-pathways-to-stop-with-stop_access1
@github-actions

Copy link
Copy Markdown
Contributor

🚨 Code Formatting Issue 🚨

This contribution does not follow the conventions set by the Google Java Style Guide.

Please run the following command at the root of the project to fix formatting errors:

./gradlew spotlessApply
🗂️ Affected files
  • src/main/java/org/mobilitydata/gtfsvalidator/validator/PathwayStopAccessValidator.java

Go to the Actions Dashboard to download the full Spotless output

@github-actions

Copy link
Copy Markdown
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

16 out of 1003 sources (~2 %) are corrupted.
Dataset Ref Report Exists Ref Report Readable Latest Report Exists Latest Report Readable
mdb-1114
mdb-1123
mdb-1332
mdb-1808
mdb-1953
mdb-227
mdb-383
mdb-55
mdb-606
mdb-609
mdb-655
mdb-780
mdb-789
mdb-806
mdb-9
mdb-907

⏱️ 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 -- 5.51 5.78 ⬆️+0.26
Median -- 1.62 1.85 ⬆️+0.22
Standard Deviation -- 21.75 21.64 ⬇️-0.12
Minimum in References Reports mdb-6 0.43 0.47 ⬆️+0.05
Maximum in Reference Reports mdb-2014 591.34 589.46 ⬇️-1.88
Minimum in Latest Reports mdb-6 0.43 0.47 ⬆️+0.05
Maximum in Latest Reports mdb-2014 591.34 589.46 ⬇️-1.88
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 571.05 MiB 578.84 MiB ⬆️+7.79 MiB
Median -- 327.93 MiB 327.97 MiB ⬆️+45.88 KiB
Standard Deviation -- 1001.76 MiB 1.01 GiB ⬆️+27.82 MiB
Minimum in References Reports mdb-77 39.27 MiB 411.93 MiB ⬆️+372.66 MiB
Maximum in Reference Reports mdb-2014 8.51 GiB 8.47 GiB ⬇️-46.02 MiB
Minimum in Latest Reports mdb-2297 43.33 MiB 39.52 MiB ⬇️-3.81 MiB
Maximum in Latest Reports mdb-2014 8.51 GiB 8.47 GiB ⬇️-46.02 MiB

@github-actions

Copy link
Copy Markdown
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

16 out of 1003 sources (~2 %) are corrupted.
Dataset Ref Report Exists Ref Report Readable Latest Report Exists Latest Report Readable
mdb-1114
mdb-1123
mdb-1332
mdb-1808
mdb-1953
mdb-227
mdb-383
mdb-55
mdb-606
mdb-609
mdb-655
mdb-780
mdb-789
mdb-806
mdb-9
mdb-907

⏱️ 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 -- 5.34 5.64 ⬆️+0.30
Median -- 1.58 1.79 ⬆️+0.22
Standard Deviation -- 21.19 22.27 ⬆️+1.08
Minimum in References Reports mdb-518 0.48 0.51 ⬆️+0.04
Maximum in Reference Reports mdb-2014 574.45 614.54 ⬆️+40.10
Minimum in Latest Reports mdb-518 0.48 0.51 ⬆️+0.04
Maximum in Latest Reports mdb-2014 574.45 614.54 ⬆️+40.10
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 545.77 MiB 563.63 MiB ⬆️+17.86 MiB
Median -- 325.93 MiB 327.39 MiB ⬆️+1.46 MiB
Standard Deviation -- 933.75 MiB 972.99 MiB ⬆️+39.23 MiB
Minimum in References Reports mdb-1984 38.20 MiB 71.22 MiB ⬆️+33.02 MiB
Maximum in Reference Reports mdb-2014 8.47 GiB 8.48 GiB ⬆️+6.58 MiB
Minimum in Latest Reports mdb-61 39.99 MiB 41.71 MiB ⬆️+1.72 MiB
Maximum in Latest Reports mdb-2014 8.47 GiB 8.48 GiB ⬆️+6.58 MiB

@Override
public boolean shouldCallValidate() {
return stopTable.hasColumn(STOP_ACCESS_FIELD_NAME)
&& stopTable.hasColumn(PLATFORM_CODE_FIELD_NAME);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You can still validate if there is no platform code, no?
It's just that it there will be no platform code in the notice, but the rest of the info is valid.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed

@github-actions

Copy link
Copy Markdown
Contributor

🚨 Code Formatting Issue 🚨

This contribution does not follow the conventions set by the Google Java Style Guide.

Please run the following command at the root of the project to fix formatting errors:

./gradlew spotlessApply
🗂️ Affected files
  • src/main/java/org/mobilitydata/gtfsvalidator/validator/PathwayStopAccessValidator.java

Go to the Actions Dashboard to download the full Spotless output

@github-actions

Copy link
Copy Markdown
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

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

Dataset Notice Code
mdb-2014 csv_parsing_failed
Dropped Errors (0 out of 987 datasets, ~0%) ✅

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

16 out of 1003 sources (~2 %) are corrupted.
Dataset Ref Report Exists Ref Report Readable Latest Report Exists Latest Report Readable
mdb-1114
mdb-1123
mdb-1332
mdb-1808
mdb-1953
mdb-227
mdb-383
mdb-55
mdb-606
mdb-609
mdb-655
mdb-780
mdb-789
mdb-806
mdb-9
mdb-907

⏱️ 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 -- 5.48 5.51 ⬆️+0.04
Median -- 1.62 1.69 ⬆️+0.07
Standard Deviation -- 22.48 21.06 ⬇️-1.42
Minimum in References Reports mdb-1788 0.46 0.49 ⬆️+0.03
Maximum in Reference Reports mdb-2014 617.45 565.16 ⬇️-52.29
Minimum in Latest Reports mdb-1817 0.49 0.47 ⬇️-0.02
Maximum in Latest Reports mdb-2014 617.45 565.16 ⬇️-52.29
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 583.67 MiB 564.72 MiB ⬇️-18.95 MiB
Median -- 323.93 MiB 327.93 MiB ⬆️+4.00 MiB
Standard Deviation -- 1.04 GiB 993.61 MiB ⬇️-67.30 MiB
Minimum in References Reports mdb-86 40.85 MiB 56.39 MiB ⬆️+15.54 MiB
Maximum in Reference Reports mdb-2014 8.48 GiB 8.23 GiB ⬇️-256.55 MiB
Minimum in Latest Reports mdb-79 44.34 MiB 39.70 MiB ⬇️-4.64 MiB
Maximum in Latest Reports mdb-2014 8.48 GiB 8.23 GiB ⬇️-256.55 MiB

@jcpitre jcpitre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@github-actions

Copy link
Copy Markdown
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

16 out of 1003 sources (~2 %) are corrupted.
Dataset Ref Report Exists Ref Report Readable Latest Report Exists Latest Report Readable
mdb-1114
mdb-1123
mdb-1332
mdb-1808
mdb-1953
mdb-227
mdb-383
mdb-55
mdb-606
mdb-609
mdb-655
mdb-780
mdb-789
mdb-806
mdb-9
mdb-907

⏱️ 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 -- 5.53 5.69 ⬆️+0.16
Median -- 1.56 1.73 ⬆️+0.18
Standard Deviation -- 25.57 23.22 ⬇️-2.35
Minimum in References Reports mdb-1105 0.46 0.60 ⬆️+0.14
Maximum in Reference Reports mdb-2014 726.83 643.17 ⬇️-83.66
Minimum in Latest Reports mdb-518 0.51 0.50 ⬇️-0.01
Maximum in Latest Reports mdb-2014 726.83 643.17 ⬇️-83.66
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 580.35 MiB 574.98 MiB ⬇️-5.37 MiB
Median -- 325.39 MiB 325.57 MiB ⬆️+183.14 KiB
Standard Deviation -- 1.04 GiB 1.01 GiB ⬇️-30.50 MiB
Minimum in References Reports mdb-1984 38.19 MiB 70.91 MiB ⬆️+32.72 MiB
Maximum in Reference Reports mdb-2393 8.91 GiB 9.20 GiB ⬆️+299.08 MiB
Minimum in Latest Reports mdb-2794 403.93 MiB 39.45 MiB ⬇️-364.48 MiB
Maximum in Latest Reports mdb-2393 8.91 GiB 9.20 GiB ⬆️+299.08 MiB

@github-actions

Copy link
Copy Markdown
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

16 out of 1003 sources (~2 %) are corrupted.
Dataset Ref Report Exists Ref Report Readable Latest Report Exists Latest Report Readable
mdb-1114
mdb-1123
mdb-1332
mdb-1808
mdb-1953
mdb-227
mdb-383
mdb-55
mdb-606
mdb-609
mdb-655
mdb-780
mdb-789
mdb-806
mdb-9
mdb-907

⏱️ 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 -- 5.46 5.71 ⬆️+0.25
Median -- 1.54 1.89 ⬆️+0.35
Standard Deviation -- 21.98 21.46 ⬇️-0.52
Minimum in References Reports mdb-769 0.46 0.76 ⬆️+0.30
Maximum in Reference Reports mdb-2014 593.75 575.95 ⬇️-17.79
Minimum in Latest Reports mdb-1788 0.48 0.48 ⬇️-0.00
Maximum in Latest Reports mdb-2014 593.75 575.95 ⬇️-17.79
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 562.05 MiB 576.15 MiB ⬆️+14.09 MiB
Median -- 327.93 MiB 327.93 MiB ⬇️0 bytes
Standard Deviation -- 977.27 MiB 1.01 GiB ⬆️+56.63 MiB
Minimum in References Reports mdb-35 40.08 MiB 367.93 MiB ⬆️+327.84 MiB
Maximum in Reference Reports mdb-2393 8.97 GiB 8.68 GiB ⬇️-292.92 MiB
Minimum in Latest Reports mdb-77 407.93 MiB 39.30 MiB ⬇️-368.62 MiB
Maximum in Latest Reports mdb-2393 8.97 GiB 8.68 GiB ⬇️-292.92 MiB

…thwayStopAccessValidator.java

Co-authored-by: David Gamez <1192523+davidgamez@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

16 out of 1003 sources (~2 %) are corrupted.
Dataset Ref Report Exists Ref Report Readable Latest Report Exists Latest Report Readable
mdb-1114
mdb-1123
mdb-1332
mdb-1808
mdb-1953
mdb-227
mdb-383
mdb-55
mdb-606
mdb-609
mdb-655
mdb-780
mdb-789
mdb-806
mdb-9
mdb-907

⏱️ 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 -- 5.57 5.71 ⬆️+0.14
Median -- 1.58 1.91 ⬆️+0.33
Standard Deviation -- 24.18 20.16 ⬇️-4.02
Minimum in References Reports mdb-906 0.41 0.60 ⬆️+0.18
Maximum in Reference Reports mdb-2014 668.16 518.61 ⬇️-149.56
Minimum in Latest Reports mdb-1788 0.52 0.51 ⬇️-0.01
Maximum in Latest Reports mdb-2014 668.16 518.61 ⬇️-149.56
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 566.98 MiB 565.96 MiB ⬇️-1.02 MiB
Median -- 327.68 MiB 327.93 MiB ⬆️+251.70 KiB
Standard Deviation -- 1.01 GiB 1010.03 MiB ⬇️-25.01 MiB
Minimum in References Reports mdb-2034 38.39 MiB 395.93 MiB ⬆️+357.53 MiB
Maximum in Reference Reports mdb-2393 8.86 GiB 7.67 GiB ⬇️-1.19 GiB
Minimum in Latest Reports mdb-77 46.16 MiB 39.30 MiB ⬇️-6.86 MiB
Maximum in Latest Reports mdb-2014 8.56 GiB 8.60 GiB ⬆️+36.66 MiB

@qcdyx
qcdyx merged commit 21c40e1 into master Feb 24, 2026
107 checks passed
@qcdyx
qcdyx deleted the 2050-add-notice-for-pathways-to-stop-with-stop_access1 branch February 24, 2026 15:09
@jcpitre

jcpitre commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Used this chatgpt generated dataset on the staging web validator and it worked well. Moving to Done
2050_test.zip

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.

Add notice for pathways to stop with stop_access=1

4 participants