Conversation
|
✅ Rule acceptance tests passed. |
|
❌ Invalid acceptance test. |
|
❌ Invalid acceptance test. |
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java
Outdated
Show resolved
Hide resolved
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java
Show resolved
Hide resolved
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java
Show resolved
Hide resolved
emmambd
left a comment
There was a problem hiding this comment.
Notice description + name minor revisions.
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java
Outdated
Show resolved
Hide resolved
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java
Outdated
Show resolved
Hide resolved
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java
Outdated
Show resolved
Hide resolved
main/src/main/java/org/mobilitydata/gtfsvalidator/validator/TripAndShapeDistanceValidator.java
Outdated
Show resolved
Hide resolved
|
❌ Invalid acceptance test. |
|
❌ Invalid acceptance test. |
|
❌ Invalid acceptance test. |
Summary:
Resolves #1613 and #1611 by implementing a distance threshold for the
trip_distance_exceeds_shape_distancenotice.Expected Behavior:
trip_distance_exceeds_shape_distance, triggering anERRORfor distancestrip_distance_exceeds_shape_distance_below_threshold, withWARNINGseverity for distancesERRORlevel notices such asdecreasing_or_equal_stop_time_distanceanddecreasing_shape_distance.Empirical Performance Comparison:$n$ as the number of trips, $m$ as the number of stop-times, and $k$ as the number of shapes, the complexity in the worst-case scenario:
Considering
masterbranch isfeat/1613) isStatistical Performance Comparison:

The performance improvements are depicted in the graph below. The datasets analyzed are from our catalog, with zipped file sizes of at least 1MB. Sizes have been normalized for a more meaningful comparison of slopes. The performance slope of the feature branch is significantly lower, decreasing from approximately 37 to approximately 25, indicating enhanced efficiency.
Please make sure these boxes are checked before submitting your pull request - thanks!
gradle testto make sure you didn't break anything