-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validation zhuzh-up: headway value checks (#146)
* refactor link length over 1km * tidy up graph connectivity validation * refactor length and zero value checks * add checks for negative, infinite and fractional link attribute values * fix to work with dictionary / nested attributes * module rename, tidy up * update logging to match the rest * fix imports in tests * leave first trip dep diffs as nans, let them be ignored in stats * address PR comments: Part 1: readability and conditions toolbox dataclass * address PR comments: Part 2: chop up existing tests for validation report * add condition for none values * expose trips to dataframe and headway stats methods to Route and Service objects * make vehicle definitions a stronger fail/pass condition, report as invalid stage on schedule level * shuffle vehicle checks * add headway stats to route level validation and check for zero values * add tests for headway in validation report * rename test file
- Loading branch information
Showing
5 changed files
with
364 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.