-
Notifications
You must be signed in to change notification settings - Fork 12
Validation metrics #52
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
Closed
sdrewc
wants to merge
38
commits into
osplanning-data-standards:master
from
sdrewc:validation_metrics
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
c655124
Reflect change in fare...ft file name & path
ddorinson 2b42f81
Fix table formatting
lmz af7f971
Replace fare_class, fare_rules_ft, misc cleanup
ddorinson 3ea6fde
Add link to fare_rules.md file
ddorinson b9a643f
More cleanup to match v.0.3.0
ddorinson 6505736
Cleanup table formatting and code fragments
ddorinson a167e0d
Final set of changes to match v.0.3.0 spec
ddorinson 13358c4
Fixed wiki URL
ddorinson 20883f5
Add file link; fix typos
ddorinson 1414662
Fix table formatting
ddorinson f4751ea
Fix table formatting, layout
ddorinson e91737b
Fix table formatting, layout
ddorinson 54ebc3d
One more layout fix
ddorinson 736232a
Fix table formatting, layout
ddorinson 10349ad
Merge pull request #39 from ddorinson/patch-1
e-lo 122c0e7
Update vehicles_ft.md
sdrewc 5ca49bc
Create vehicles_ft.md
sdrewc 54e779c
Merge pull request #1 from sdrewc/sdrewc-patch-1
sdrewc b934130
accel, decel, max_speed
sdrewc e55703c
minor formatting changes
sdrewc 2b8675d
Create vehicles_ft.md
sdrewc 1b32a0d
Create vehicles_ft.md
sdrewc cf438ca
Add percent_using_farebox and formatting fixes
sdrewc 0572d65
Add percent_using_farebox
sdrewc f094137
add max_speed, accel and decel back in.
sdrewc 2f8f2ea
Add number_loading_areas
sdrewc fd8f743
Add TCQSM parameter text
sdrewc 7388d47
Add TCQSM parameter text
sdrewc eb8c75e
Add TCQSM parameter text and dwell_formula
sdrewc c99732c
Add TCQSM parameter text
sdrewc 7bf329e
Merge branch 'master' into sdrewc-patch-1
sdrewc 1836221
Merge pull request #2 from sdrewc/sdrewc-patch-1
sdrewc 6efc5ae
Merge branch 'queued' into master
e-lo 2525738
Merge remote-tracking branch 'upstream/master'
sdrewc 96cff46
Add route_stats_ft.txt to hold route-level statistics for a date and …
sdrewc 86908e2
Add more statistics
sdrewc f346ee6
Add fields to upstream files to support calculating statistics in rou…
sdrewc e3f976b
Fix formatting
sdrewc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add route_stats_ft.txt to hold route-level statistics for a date and …
…time range and set of days. Signed-off-by: Drew <drew.cooper@sfcta.org>
- Loading branch information
commit 96cff46c8f82517df680f48fb60f458ad907643a
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| ## Additional Transit Route Information | ||
|
|
||
| * Filename MUST be `routes_stats_ft.txt` | ||
| * File MUST contain a record for every transit route (i.e. the Muni 14 Local) | ||
| * File MUST be a valid CSV file. | ||
| * The first line of each file MUST contain case-sensitive field names. | ||
| * Field names MUST NOT contain tabs, carriage returns or new lines. | ||
|
|
||
| File MUST contain ONE the following TWO sets of required attributes: | ||
|
|
||
| **Option One**: | ||
| Required Attributes | Description | ||
| ---------- | ------------- | ||
| `route_id` | ID that uniquely identifies a route. | ||
| `start_date` | Start date in YYYYMMDD for which route statistics are calculated. | ||
| `end_date` | End date in YYYYMMDD for which route statistics are calculated. | ||
| `start_time` | Start time in HH:MM:SS for which route statistics are calculated. | ||
| `end_time` | End time in HH:MM:SS for which route statistics are calculated. | ||
| `monday` | 0 or 1. A binary value indicating whether route statistics include Mondays. | ||
| `tuesday` | 0 or 1. A binary value indicating whether route statistics include Tuesdays. | ||
| `wednesday` | 0 or 1. A binary value indicating whether route statistics include Wednesdays. | ||
| `thursday` | 0 or 1. A binary value indicating whether route statistics include Thursdays. | ||
| `friday` | 0 or 1. A binary value indicating whether route statistics include Fridays. | ||
| `saturday` | 0 or 1. A binary value indicating whether route statistics include Saturdays. | ||
| `sunday` | 0 or 1. A binary value indicating whether route statistics include Sundays. | ||
|
|
||
| **Option Two**: | ||
| Required Attributes | Description | ||
| ---------- | ------------- | ||
| `service_id` | ID that uniquely identifies a service span in `calendar.txt`. | ||
| `start_time` | Start time in HH:MM:SS for which route statistics are calculated. | ||
| `end_time` | End time in HH:MM:SS for which route statistics are calculated. | ||
|
|
||
| File MAY contain the following attributes: | ||
|
|
||
| Optional Attributes | Description | ||
| ---------- | ------------- | ||
| `schedule_time` | Integer, mean number of minutes from scheduled `arrival_time` at first stop to scheduled `departure_time` at last stop | ||
| `actual_time` | Integer, mean number of minutes from actual `arrival_time` at first stop to actual `departure_time` at last stop. | ||
| `semi_std_dev` | Float, semi-standard deviation between scheduled and actual route run time. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest
avg_observed_runtime