Skip to content

feat: 1929 duplicated element#1970

Merged
qcdyx merged 16 commits intomasterfrom
1930-flex-unknown_geo_json_element
Feb 7, 2025
Merged

feat: 1929 duplicated element#1970
qcdyx merged 16 commits intomasterfrom
1930-flex-unknown_geo_json_element

Conversation

@qcdyx
Copy link
Contributor

@qcdyx qcdyx commented Feb 5, 2025

Summary:

Closes #1929

Expected behavior:
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 Feb 5, 2025 that may be closed by this pull request
@qcdyx qcdyx changed the title feat: 1930 flex unknown geo json element feat: 1930 flex unknown geo json element +1929 duplicated element Feb 5, 2025
@emmambd emmambd requested review from tzujenchanmbd and removed request for tzujenchanmbd February 5, 2025 16:49
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2025

🚨 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/notice/GeoJsonDuplicatedElementNotice.java
  • src/main/java/org/mobilitydata/gtfsvalidator/notice/GeoJsonUnknownElementNotice.java
  • src/main/java/org/mobilitydata/gtfsvalidator/table/GeoJsonFileLoader.java
  • src/main/java/org/mobilitydata/gtfsvalidator/util/geojson/MapJsonTypeAdapter.java
  • src/main/java/org/mobilitydata/gtfsvalidator/util/geojson/UnknownJsonKeyException.java

Go to the Actions Dashboard to download the full Spotless output

@emmambd
Copy link
Contributor

emmambd commented Feb 5, 2025

@qcdyx I'm confused here - I thought the plan was to add the duplicated_element trigger to the malformed_geojson notice? Was it discovered that this isn't viable? cc @davidgamez

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

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

Dataset Notice Code
de-unknown-postauto-ag-gtfs-2053 geo_json_unknown_element
Dropped Errors (1 out of 1801 datasets, ~0%) ✅

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

Dataset Notice Code
de-unknown-postauto-ag-gtfs-2053 overlapping_zone_and_pickup_drop_off_window
New Warnings (0 out of 1801 datasets, ~0%) ✅

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1801 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.69 3.81 ⬆️+0.12
Median -- 1.34 1.40 ⬆️+0.06
Standard Deviation -- 10.81 11.04 ⬆️+0.23
Minimum in References Reports us-oregon-high-desert-point-gtfs-636 0.49 0.53 ⬆️+0.04
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 290.35 293.72 ⬆️+3.37
Minimum in Latest Reports us-massachusetts-massachusetts-area-express-max-gtfs-431 0.50 0.50 ⬆️+0.00
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 290.35 293.72 ⬆️+3.37
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 469.60 MiB 465.95 MiB ⬇️-3.66 MiB
Median -- 331.92 MiB 333.92 MiB ⬆️+2.00 MiB
Standard Deviation -- 791.86 MiB 786.13 MiB ⬇️-5.73 MiB
Minimum in References Reports ro-vrancea-consiliul-judetean-vrancea-gtfs-1984 38.44 MiB 40.05 MiB ⬆️+1.61 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.60 GiB 10.88 GiB ⬆️+294.82 MiB
Minimum in Latest Reports us-new-mexico-santa-fe-trails-gtfs-839 399.92 MiB 39.42 MiB ⬇️-360.50 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.60 GiB 10.88 GiB ⬆️+294.82 MiB

@qcdyx
Copy link
Contributor Author

qcdyx commented Feb 5, 2025

I understand the confusion. Initially, the plan was to have the duplicated_element trigger contribute to the malformed geojson notice. However, we discovered that with Gson, this approach isn’t viable. Gson follows standard JSON parsing rules, meaning that if there are duplicate keys in a JSON object, the last occurrence will simply overwrite any previous ones. It doesn’t throw an exception or flag an error for duplicated elements. Consequently, a duplicated element doesn’t trigger the MalformedJsonNotice as we might have expected. @emmambd

@emmambd
Copy link
Contributor

emmambd commented Feb 5, 2025

@qcdyx Clear! Thanks for explaining this.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2025

🚨 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/notice/GeoJsonDuplicatedElementNotice.java
  • src/main/java/org/mobilitydata/gtfsvalidator/notice/GeoJsonUnknownElementNotice.java
  • src/main/java/org/mobilitydata/gtfsvalidator/table/GeoJsonFileLoader.java
  • src/main/java/org/mobilitydata/gtfsvalidator/util/geojson/MapJsonTypeAdapter.java
  • src/main/java/org/mobilitydata/gtfsvalidator/util/geojson/UnknownJsonKeyException.java
  • src/test/java/org/mobilitydata/gtfsvalidator/util/geojson/GeoJsonTypeAdapterTest.java

Go to the Actions Dashboard to download the full Spotless output

@emmambd emmambd requested a review from tzujenchanmbd February 5, 2025 21:14
import org.mobilitydata.gtfsvalidator.annotation.GtfsValidationNotice;

/** Unknown elements in locations.geojson file. */
@GtfsValidationNotice(severity = ERROR)
Copy link
Member

Choose a reason for hiding this comment

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

As UnknownColumnNotice, this notice is INFO level.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

public GeoJsonUnknownElementNotice(String filename, String unknownElement, String message) {
this.filename = filename;
this.unknownElement = unknownElement;
this.message = message;
Copy link
Member

Choose a reason for hiding this comment

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

If we have the element, do we need the message?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added the message field to maintain consistency with GeoJsonDuplicatedElementNotice, but I can remove it if it's not necessary.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

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

Dataset Notice Code
de-unknown-postauto-ag-gtfs-2053 geo_json_unknown_element
Dropped Errors (1 out of 1801 datasets, ~0%) ✅

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

Dataset Notice Code
de-unknown-postauto-ag-gtfs-2053 overlapping_zone_and_pickup_drop_off_window
New Warnings (0 out of 1801 datasets, ~0%) ✅

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1801 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.66 3.76 ⬆️+0.10
Median -- 1.34 1.41 ⬆️+0.07
Standard Deviation -- 10.43 10.56 ⬆️+0.13
Minimum in References Reports us-california-city-of-wasco-gtfs-1788 0.50 0.55 ⬆️+0.05
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 279.24 284.88 ⬆️+5.64
Minimum in Latest Reports us-florida-citrus-county-transit-gtfs-630 0.50 0.50 ⬇️-0.00
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 279.24 284.88 ⬆️+5.64
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 471.99 MiB 471.96 MiB ⬇️-32.21 KiB
Median -- 331.92 MiB 335.92 MiB ⬆️+4.00 MiB
Standard Deviation -- 804.53 MiB 785.90 MiB ⬇️-18.62 MiB
Minimum in References Reports us-california-yubasutter-transit-gtfs-79 39.89 MiB 41.73 MiB ⬆️+1.84 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.99 GiB 10.62 GiB ⬇️-385.18 MiB
Minimum in Latest Reports ro-vrancea-consiliul-judetean-vrancea-gtfs-1984 70.48 MiB 40.05 MiB ⬇️-30.44 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.99 GiB 10.62 GiB ⬇️-385.18 MiB

qcdyx added 2 commits February 6, 2025 09:41
…ityData/gtfs-validator into 1930-flex-unknown_geo_json_element
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

🚨 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/notice/GeoJsonUnknownElementNotice.java
  • src/main/java/org/mobilitydata/gtfsvalidator/util/geojson/MapJsonTypeAdapter.java

Go to the Actions Dashboard to download the full Spotless output

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1809 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.63 3.76 ⬆️+0.13
Median -- 1.33 1.41 ⬆️+0.07
Standard Deviation -- 10.29 10.47 ⬆️+0.19
Minimum in References Reports us-california-city-of-wasco-gtfs-1788 0.49 0.52 ⬆️+0.04
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 277.51 282.42 ⬆️+4.92
Minimum in Latest Reports tr-kocaeli-metro-izmir-gtfs-1824 0.59 0.52 ⬇️-0.07
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 277.51 282.42 ⬆️+4.92
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 470.82 MiB 469.37 MiB ⬇️-1.45 MiB
Median -- 333.92 MiB 334.92 MiB ⬆️+1023.99 KiB
Standard Deviation -- 787.67 MiB 779.03 MiB ⬇️-8.64 MiB
Minimum in References Reports nz-south-island-ebus-gtfs-2329 40.13 MiB 40.10 MiB ⬇️-32.11 KiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.78 GiB 10.59 GiB ⬇️-191.43 MiB
Minimum in Latest Reports us-new-mexico-santa-fe-trails-gtfs-839 403.92 MiB 39.38 MiB ⬇️-364.54 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.78 GiB 10.59 GiB ⬇️-191.43 MiB

@qcdyx qcdyx changed the title feat: 1930 flex unknown geo json element +1929 duplicated element feat: 1929 duplicated element Feb 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

🚨 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/table/GeoJsonFileLoader.java

Go to the Actions Dashboard to download the full Spotless output

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

🚨 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/table/GeoJsonFileLoader.java

Go to the Actions Dashboard to download the full Spotless output

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1809 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.64 3.74 ⬆️+0.10
Median -- 1.33 1.40 ⬆️+0.07
Standard Deviation -- 10.36 10.37 ⬆️+0.01
Minimum in References Reports us-california-flex-v2-developer-test-feed-1-gtfs-1817 0.50 0.55 ⬆️+0.05
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 280.02 276.80 ⬇️-3.22
Minimum in Latest Reports us-california-flex-v2-developer-test-feed-3-gtfs-1819 0.55 0.46 ⬇️-0.09
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 280.02 276.80 ⬇️-3.22
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 462.92 MiB 470.34 MiB ⬆️+7.42 MiB
Median -- 332.93 MiB 333.92 MiB ⬆️+1010.91 KiB
Standard Deviation -- 730.19 MiB 783.38 MiB ⬆️+53.20 MiB
Minimum in References Reports us-virginia-star-transit-gtfs-819 40.08 MiB 415.92 MiB ⬆️+375.85 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 11.02 GiB 10.66 GiB ⬇️-373.41 MiB
Minimum in Latest Reports ro-vrancea-consiliul-judetean-vrancea-gtfs-1984 69.24 MiB 38.28 MiB ⬇️-30.96 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 11.02 GiB 10.66 GiB ⬇️-373.41 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1809 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.63 3.72 ⬆️+0.09
Median -- 1.34 1.39 ⬆️+0.05
Standard Deviation -- 10.31 10.42 ⬆️+0.11
Minimum in References Reports us-oregon-high-desert-point-gtfs-636 0.46 0.47 ⬆️+0.02
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 280.13 282.95 ⬆️+2.82
Minimum in Latest Reports us-oregon-hut-airport-shuttle-gtfs-635 0.53 0.46 ⬇️-0.07
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 280.13 282.95 ⬆️+2.82
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 470.59 MiB 464.72 MiB ⬇️-5.88 MiB
Median -- 331.92 MiB 333.92 MiB ⬆️+2.00 MiB
Standard Deviation -- 785.20 MiB 779.38 MiB ⬇️-5.82 MiB
Minimum in References Reports us-mississipi-jtran-gtfs-155 39.23 MiB 403.92 MiB ⬆️+364.69 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.62 GiB 11.04 GiB ⬆️+436.72 MiB
Minimum in Latest Reports us-iowa-cedar-rapids-transit-gtfs-198 43.86 MiB 40.20 MiB ⬇️-3.66 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.62 GiB 11.04 GiB ⬆️+436.72 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1809 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.69 3.76 ⬆️+0.07
Median -- 1.35 1.41 ⬆️+0.05
Standard Deviation -- 10.67 10.69 ⬆️+0.03
Minimum in References Reports us-california-catalina-express-gtfs-299 0.48 0.66 ⬆️+0.18
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 287.30 290.67 ⬆️+3.37
Minimum in Latest Reports ar-buenos-aires-subterraneos-de-buenos-aires-subte-gtfs-6 0.54 0.50 ⬇️-0.04
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 287.30 290.67 ⬆️+3.37
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 469.19 MiB 460.87 MiB ⬇️-8.32 MiB
Median -- 333.92 MiB 331.92 MiB ⬇️-2.00 MiB
Standard Deviation -- 793.04 MiB 754.74 MiB ⬇️-38.30 MiB
Minimum in References Reports us-colorado-via-mobility-gtfs-180 39.17 MiB 395.92 MiB ⬆️+356.75 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.62 GiB 10.61 GiB ⬇️-17.69 MiB
Minimum in Latest Reports mexico-jalisco-direccion-general-de-transporte-publico-de-puerto-vallarta-gtfs-2034 387.92 MiB 38.60 MiB ⬇️-349.33 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.62 GiB 10.61 GiB ⬇️-17.69 MiB


/** Unknown elements in locations.geojson file. */
@GtfsValidationNotice(severity = INFO)
public class GeoJsonUnknownElementNotice extends ValidationNotice {
Copy link
Member

Choose a reason for hiding this comment

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

Please remove this class if it won't be part of the implementation in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed.

@@ -0,0 +1,19 @@
package org.mobilitydata.gtfsvalidator.util.geojson;

public class UnknownJsonKeyException extends RuntimeException {
Copy link
Member

Choose a reason for hiding this comment

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

Please remove this class if it won't be part of the implementation in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2025

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1809 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.64 3.79 ⬆️+0.15
Median -- 1.34 1.42 ⬆️+0.08
Standard Deviation -- 10.36 10.45 ⬆️+0.09
Minimum in References Reports us-california-flex-v2-developer-test-feed-3-gtfs-1819 0.47 0.73 ⬆️+0.26
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 277.79 280.92 ⬆️+3.13
Minimum in Latest Reports us-california-city-of-wasco-gtfs-1788 0.47 0.47 ⬆️+0.00
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 277.79 280.92 ⬆️+3.13
📜 Memory Consumption
Metric Dataset ID Reference (s) Latest (s) Difference (s)
Average -- 466.22 MiB 471.19 MiB ⬆️+4.98 MiB
Median -- 331.94 MiB 335.92 MiB ⬆️+3.98 MiB
Standard Deviation -- 770.55 MiB 770.16 MiB ⬇️-400.87 KiB
Minimum in References Reports mexico-jalisco-direccion-general-de-transporte-publico-de-puerto-vallarta-gtfs-2034 36.39 MiB 403.92 MiB ⬆️+367.53 MiB
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.90 GiB 10.74 GiB ⬇️-160.49 MiB
Minimum in Latest Reports ro-vrancea-consiliul-judetean-vrancea-gtfs-1984 415.92 MiB 38.25 MiB ⬇️-377.67 MiB
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 10.90 GiB 10.74 GiB ⬇️-160.49 MiB

@qcdyx qcdyx merged commit 426d638 into master Feb 7, 2025
134 checks passed
@qcdyx qcdyx deleted the 1930-flex-unknown_geo_json_element branch February 7, 2025 16:27
sylvansson pushed a commit to sylvansson/gtfs-validator that referenced this pull request Feb 11, 2025
* add json map type adapter and catched JsonSyntaxException

Co-authored-by: David Gamez Diaz <1192523+davidgamez@users.noreply.github.com>
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.

Flex: unknown_geo_json_element Flex: duplicated_element

3 participants