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

locations.geojson POC phase2: End-to-end partial support of json data #1810

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

Conversation

jcpitre
Copy link
Contributor

@jcpitre jcpitre commented Sep 4, 2024

Summary:

Builds on the poc written by @davidgamez (#1805), related to locations.geojson

What it does:

  • Add the necessary classes to process locations.geojson (Classes with Geojson in the name)
  • Read parts of the file
  • Add a sample validator (GtfsGeojsonFeatureUniqueLocationIdValidator) and notice (UniqueLocationIdViolationNotice)

Not covered:

  • Reading and processing geometry data.
  • Processing the other files from Flex
  • Adding other validators or notices apart from the sample one.

To be done:

  • Add tests
  • Comments

This is NOT ready to merge yet.

I modified an existing dataset that has flex data to create an error where the id of a feature in locations.geojson is the same as an id in stops.txt.
browncounty-mn-us--flex-v2-broken.zip

Here is a capture of the sample notice in the report:
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)

@jcpitre jcpitre added the do not merge This PR needs more work/discussion or is not meant to be merged label Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

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

github-actions bot commented Sep 4, 2024

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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.90 3.97 ⬆️+0.07
Median -- 1.37 1.44 ⬆️+0.07
Standard Deviation -- 11.14 11.09 ⬇️-0.05
Minimum in References Reports us-california-catalina-express-gtfs-299 0.50 0.57 ⬆️+0.07
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 320.06 317.04 ⬇️-3.02
Minimum in Latest Reports us-california-santa-clarita-transit-gtfs-812 0.56 0.55 ⬇️-0.01
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 320.06 317.04 ⬇️-3.02

@jcpitre jcpitre changed the title Poc/json files phase2: Modifications from #1805 locations.geojson phase2: Modifications from #1805 Sep 4, 2024
@jcpitre jcpitre requested a review from qcdyx September 4, 2024 13:42
Copy link
Contributor

github-actions bot commented Sep 4, 2024

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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.92 4.02 ⬆️+0.10
Median -- 1.38 1.44 ⬆️+0.05
Standard Deviation -- 11.40 11.37 ⬇️-0.03
Minimum in References Reports us-california-flex-v2-developer-test-feed-3-gtfs-1819 0.50 0.59 ⬆️+0.10
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 331.99 327.84 ⬇️-4.15
Minimum in Latest Reports us-massachusetts-massachusetts-area-express-max-gtfs-431 0.60 0.57 ⬇️-0.03
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 331.99 327.84 ⬇️-4.15

@jcpitre jcpitre changed the title locations.geojson phase2: Modifications from #1805 locations.geojson POC phase2: End-to-end partial support of json data Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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.91 4.00 ⬆️+0.09
Median -- 1.37 1.42 ⬆️+0.05
Standard Deviation -- 10.99 11.10 ⬆️+0.11
Minimum in References Reports us-california-flex-v2-developer-test-feed-3-gtfs-1819 0.49 0.57 ⬆️+0.07
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 312.22 316.36 ⬆️+4.14
Minimum in Latest Reports us-california-flex-v2-developer-test-feed-2-gtfs-1818 0.51 0.53 ⬆️+0.02
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 312.22 316.36 ⬆️+4.14

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add class comments to help understanding the purpose of this abstract class?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added class comments.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, class comment could be useful.

Copy link
Contributor Author

@jcpitre jcpitre Sep 4, 2024

Choose a reason for hiding this comment

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

Added class comments.

Copy link
Contributor

Choose a reason for hiding this comment

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

What's the benefit of pulling TableStatus out from GtfsTableContainer? Just curious, coz nothing is changed in this enum class.

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 would say it's not essential but it's not bad to have a file dedicated to one enum.

Copy link
Contributor

github-actions bot commented Sep 4, 2024

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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.95 4.01 ⬆️+0.06
Median -- 1.38 1.44 ⬆️+0.05
Standard Deviation -- 11.42 11.26 ⬇️-0.16
Minimum in References Reports us-california-santa-clarita-transit-gtfs-812 0.53 0.69 ⬆️+0.16
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 328.59 320.34 ⬇️-8.26
Minimum in Latest Reports us-massachusetts-massachusetts-area-express-max-gtfs-431 0.57 0.54 ⬇️-0.03
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 328.59 320.34 ⬇️-8.26

Copy link
Contributor

github-actions bot commented Sep 4, 2024

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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.91 3.98 ⬆️+0.07
Median -- 1.38 1.42 ⬆️+0.05
Standard Deviation -- 11.20 11.39 ⬆️+0.19
Minimum in References Reports us-florida-citrus-county-transit-gtfs-630 0.50 0.53 ⬆️+0.03
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 321.01 329.04 ⬆️+8.02
Minimum in Latest Reports us-florida-citrus-county-transit-gtfs-630 0.50 0.53 ⬆️+0.03
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 321.01 329.04 ⬆️+8.02

@emmambd
Copy link
Contributor

emmambd commented Sep 5, 2024

@jcpitre I wouldn't want to release with it in the present state (meaning #1749 would block release, which it already does), but I'm okay with that. False positives are the main focus of this release, not negatives.

@emmambd
Copy link
Contributor

emmambd commented Sep 9, 2024

@jcpitre I tested duplicate_key with this PR using
flex.zip to try to generate a duplicate_key notice.

It worked! But I realized that we don't have the csvRowNumber lines...because it's not a csv.
Screenshot 2024-09-09 at 3 30 34 PM

Do we have a plan or need to discuss how to modify these rowNumber columns for generic notices that can affect either a geojson file or a csv file? cc @davidgamez

@emmambd
Copy link
Contributor

emmambd commented Sep 16, 2024

@emmambd Try to break/generate other generic notices since we weren't expecting duplicate_key!

Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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 -- 4.13 4.22 ⬆️+0.09
Median -- 1.41 1.52 ⬆️+0.11
Standard Deviation -- 12.17 11.86 ⬇️-0.31
Minimum in References Reports au-tasmania-merseylink-gtfs-1251 0.54 0.73 ⬆️+0.19
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 298.34 300.01 ⬆️+1.67
Minimum in Latest Reports us-california-city-of-wasco-gtfs-1788 0.63 0.50 ⬇️-0.12
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 298.34 300.01 ⬆️+1.67

Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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 -- 4.08 4.16 ⬆️+0.08
Median -- 1.43 1.49 ⬆️+0.06
Standard Deviation -- 11.67 11.68 ⬆️+0.01
Minimum in References Reports us-oregon-high-desert-point-gtfs-636 0.51 0.54 ⬆️+0.03
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 290.01 290.06 ⬆️+0.05
Minimum in Latest Reports us-florida-citrus-county-transit-gtfs-630 0.51 0.53 ⬆️+0.02
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 290.01 290.06 ⬆️+0.05

@emmambd emmambd linked an issue Sep 24, 2024 that may be closed by this pull request
Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1575 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 -- 4.08 4.15 ⬆️+0.07
Median -- 1.46 1.50 ⬆️+0.03
Standard Deviation -- 11.47 11.64 ⬆️+0.17
Minimum in References Reports us-oregon-hut-airport-shuttle-gtfs-635 0.49 0.58 ⬆️+0.09
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 291.65 296.27 ⬆️+4.63
Minimum in Latest Reports us-california-city-of-wasco-gtfs-1788 0.59 0.53 ⬇️-0.06
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 291.65 296.27 ⬆️+4.63

import org.mobilitydata.gtfsvalidator.validator.SingleEntityValidator;
import org.mobilitydata.gtfsvalidator.validator.ValidatorProvider;
import org.mobilitydata.gtfsvalidator.validator.ValidatorUtil;

public final class AnyTableLoader {
/** This class loads csv files specifically. */
public final class AnyTableLoader extends TableLoader {
Copy link
Member

Choose a reason for hiding this comment

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

[suggestion]: rename this class as CsvFileLoader and the parent FileLoader. The loader for JSON files is already named JsonFileLoader.

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


/**
* This class is the parent of the containers holding table (csv) entities and containers holding
* geojson entities
Copy link
Member

Choose a reason for hiding this comment

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

[suggestion]: change this term to a more generic one:

Suggested change
* geojson entities
* JSON entities


/**
* Container for a whole parsed GTFS feed with all its tables.
*
* <p>The tables are kept as {@code GtfsTableContainer} instances.
* <p>The tables are kept as {@code GtfsContainer} instances.
Copy link
Member

Choose a reason for hiding this comment

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

[doc]:

Suggested change
* <p>The tables are kept as {@code GtfsContainer} instances.
* <p>The tables are kept as {@code GtfsEntityContainer} instances.

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

@@ -7,35 +7,18 @@
import org.mobilitydata.gtfsvalidator.notice.NoticeContainer;
import org.mobilitydata.gtfsvalidator.parsing.CsvHeader;

public abstract class GtfsTableDescriptor<T extends GtfsEntity> {
public abstract class GtfsTableDescriptor<T extends GtfsEntity> extends GtfsFileDescriptor<T> {
Copy link
Member

Choose a reason for hiding this comment

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

[suggestion]: rename this class to GtfsCsvFileDescriptor.

Copy link
Contributor Author

@jcpitre jcpitre Sep 26, 2024

Choose a reason for hiding this comment

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

To be logical all TableDescriptor (e.g. CurrentcyAmountTableDescriptor) should also be renamed, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is becoming a massive change. To do things properly I would need to change any reference from Table to File. (e.g. TableLoader becomes FileLoader).
I am thinking of not doing this and having a dedicated PR for that change.

severity = ERROR,
files = @GtfsValidationNotice.FileRefs(GtfsLocationsSchema.class),
sections = @SectionRefs(FILE_REQUIREMENTS))
public class GeojsonDuplicateKeyNotice 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.

As discussed, we can create this notice more generic renaming it to `JsonDuplicateKeyNotice, adding it the field name, field value and removing references to the featureId.

import org.mobilitydata.gtfsvalidator.notice.NoticeContainer;
import org.mobilitydata.gtfsvalidator.validator.ValidatorProvider;

public class JsonFileLoader extends TableLoader {
Copy link
Member

Choose a reason for hiding this comment

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

This looks no generic enough to name it as JsonFileLoader. I suggest to rename it to GeoJsonFileLoader or make the implementation generic enough to cover any JSON descriptor.

Comment on lines 82 to 83
} catch (Exception e) {
System.out.println("Error: " + e);
Copy link
Member

Choose a reason for hiding this comment

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

👁️ Don't forget to revert these changes before merge if they were added to debug. If there are no other changes in this class other than formatting, I suggestion to revert all changes to reduce noise in this already large 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.

This try catch was added by you. Was it only for debugging?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it was due to an exception regarding the null tables, but that is not the case now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted

import org.mobilitydata.gtfsvalidator.validator.ValidatorLoaderException;

@RunWith(JUnit4.class)
public class CurrencyAmountSchemaTest {
Copy link
Member

Choose a reason for hiding this comment

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

👁️ revert these changes before merge.

import org.mobilitydata.gtfsvalidator.validator.ValidatorLoaderException;

@RunWith(Parameterized.class)
public class MixedCaseSchemaTest {
Copy link
Member

Choose a reason for hiding this comment

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

👁️ revert there changes before merge.

table
.map(gtfsTableContainer -> loadUniqueCount(gtfsTableContainer, clazz, idExtractor))
.orElse(0));
table.map(GtfsContainer -> loadUniqueCount(GtfsContainer, clazz, idExtractor)).orElse(0));
Copy link
Member

Choose a reason for hiding this comment

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

rename parameter to:

Suggested change
table.map(GtfsContainer -> loadUniqueCount(GtfsContainer, clazz, idExtractor)).orElse(0));
table.map(gtfsContainer -> loadUniqueCount(gtfsContainer, clazz, idExtractor)).orElse(0));

Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1588 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 -- 4.06 4.12 ⬆️+0.05
Median -- 1.44 1.46 ⬆️+0.03
Standard Deviation -- 11.62 11.49 ⬇️-0.13
Minimum in References Reports us-massachusetts-massachusetts-area-express-max-gtfs-431 0.50 0.55 ⬆️+0.04
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 296.98 289.08 ⬇️-7.89
Minimum in Latest Reports au-tasmania-merseylink-gtfs-1251 0.54 0.54 ⬆️+0.01
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 296.98 289.08 ⬇️-7.89

Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1588 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 -- 4.06 4.15 ⬆️+0.09
Median -- 1.44 1.47 ⬆️+0.03
Standard Deviation -- 11.60 11.92 ⬆️+0.32
Minimum in References Reports us-california-city-of-wasco-gtfs-1788 0.50 0.57 ⬆️+0.08
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 291.41 310.11 ⬆️+18.71
Minimum in Latest Reports us-florida-citrus-county-transit-gtfs-630 0.62 0.53 ⬇️-0.09
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 291.41 310.11 ⬆️+18.71

@jcpitre
Copy link
Contributor Author

jcpitre commented Sep 27, 2024

@emmambd This PR is ready for a bit of QA

Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1588 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 -- 4.10 4.20 ⬆️+0.09
Median -- 1.44 1.52 ⬆️+0.08
Standard Deviation -- 11.65 11.80 ⬆️+0.15
Minimum in References Reports us-california-flex-v2-developer-test-feed-3-gtfs-1819 0.52 0.53 ⬆️+0.01
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 297.94 301.44 ⬆️+3.51
Minimum in Latest Reports ph-unknown-hm-transport-inc-and-robinsons-malls-gtfs-1105 0.61 0.53 ⬇️-0.07
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 297.94 301.44 ⬆️+3.51

Copy link
Contributor

📝 Acceptance Test Report

📋 Summary

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

📊 Notices Comparison

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

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

No changes were detected due to the code change.

🛡️ Corruption Check

0 out of 1588 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 -- 4.09 4.14 ⬆️+0.06
Median -- 1.43 1.49 ⬆️+0.06
Standard Deviation -- 11.73 11.53 ⬇️-0.21
Minimum in References Reports ph-unknown-hm-transport-inc-and-robinsons-malls-gtfs-1105 0.50 0.64 ⬆️+0.14
Maximum in Reference Reports gb-unknown-uk-aggregate-feed-gtfs-2014 306.40 291.63 ⬇️-14.77
Minimum in Latest Reports us-california-flex-v2-developer-test-feed-2-gtfs-1818 0.50 0.54 ⬆️+0.04
Maximum in Latest Reports gb-unknown-uk-aggregate-feed-gtfs-2014 306.40 291.63 ⬇️-14.77

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.

Flex: Add location group stops schema Flex: Add locations.geojson schema
4 participants