Skip to content

Commit

Permalink
Push updated snapshots maybeee
Browse files Browse the repository at this point in the history
  • Loading branch information
npaun committed May 8, 2024
1 parent ee342d2 commit 4bb101b
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 29 deletions.
19 changes: 9 additions & 10 deletions tests/test_multi_day_blocks/expected_linear/calendar.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
fri,0,0,0,0,1,0,0,20210101,20211231
fri-sat,0,0,0,0,1,1,0,20210101,20211231
fri-sat-sun,0,0,0,0,1,1,1,20210101,20211231
mon,1,0,0,0,0,0,0,20210101,20211231
mon-wed,1,0,1,0,0,0,0,20210101,20211231
mon-tues-wed-thurs,1,1,1,1,0,0,0,20210101,20211231
mon-tues-wed-thurs-fri-sat-sun,1,1,1,1,1,1,1,20210101,20211231
mon-tues-thurs-fri-sat,1,1,0,1,1,1,0,20210101,20211231
mon-tues-wed-thurs,1,1,1,1,0,0,0,20210101,20211231
mon-tues-wed-thurs-fri-sat,1,1,1,1,1,1,0,20210101,20211231
wed,0,0,1,0,0,0,0,20210101,20211231
fri,0,0,0,0,1,0,0,20210101,20211231
fri-sat-sun,0,0,0,0,1,1,1,20210101,20211231
fri-sat,0,0,0,0,1,1,0,20210101,20211231
mon-tues-wed-thurs-fri-sat-sun,1,1,1,1,1,1,1,20210101,20211231
mon-wed,1,0,1,0,0,0,0,20210101,20211231
saturday,0,0,0,0,0,1,0,20240506,20240521
sun,0,0,0,0,0,0,1,20210101,20211231
sat,0,0,0,0,0,1,0,20210101,20211231
weekday,1,1,1,1,1,0,0,20240506,20240521
sunday,0,0,0,0,0,0,1,20240506,20240521
saturday,0,0,0,0,0,1,0,20240506,20240521
wed,0,0,1,0,0,0,0,20210101,20211231
weekday,1,1,1,1,1,0,0,20240506,20240521
12 changes: 12 additions & 0 deletions tests/test_multi_day_blocks/expected_linear/calendar_dates.txt
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
service_id,date,exception_type
b2t:service_0,20240510,1
b2t:service_0,20240517,1
b2t:service_1,20240506,1
b2t:service_1,20240507,1
b2t:service_1,20240508,1
b2t:service_1,20240509,1
b2t:service_1,20240513,1
b2t:service_1,20240514,1
b2t:service_1,20240515,1
b2t:service_1,20240516,1
b2t:service_1,20240520,1
b2t:service_1,20240521,1
38 changes: 25 additions & 13 deletions tests/test_multi_day_blocks/expected_linear/stop_times.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
trip_id,stop_sequence,stop_id,arrival_time,departure_time
trip_1,0,junction,06:00:00,06:00:00,
trip_1,1,slocan-park,24:15:15,24:15:15
trip_2,0,slocan-park,24:17:15,24:17:15
trip_2,1,junction,29:55:00,29:55:00
trip_2a,0,slocan-park,00:17:15,00:17:15
trip_2a,1,junction,04:00:00,04:00:00
trip_3,0,junction,04:01:00,04:01:00
trip_3,1,slocan-park,24:15:15,24:15:15
trip_4,1,slocan-park,24:17:15,24:17:15
trip_4,2,junction,24:19:15,24:19:15
trip_5,1,junction,05:00:00,05:00:00
trip_5,2,slocan-park,06:00:00,06:00:00
trip_id,stop_sequence,stop_id,arrival_time,departure_time,start_pickup_drop_off_window,end_pickup_drop_off_window,pickup_type,drop_off_type,mean_duration_factor,mean_duration_offset,safe_duration_factor,safe_duration_offset
trip_0_b2t:if_b2t:service_0,0,slocan-park,05:50:00,05:50:00,,,0,0,,,,
trip_0_b2t:if_b2t:service_0,1,junction,05:51:15,05:51:15,,,0,0,,,,
trip_0_b2t:if_b2t:service_1,0,slocan-park,05:50:00,05:50:00,,,0,0,,,,
trip_0_b2t:if_b2t:service_1,1,junction,05:51:15,05:51:15,,,0,0,,,,
trip_0b_b2t:if_b2t:service_0,0,junction,05:52:00,05:52:00,,,0,0,,,,
trip_0b_b2t:if_b2t:service_0,1,slocan-park,05:59:15,05:59:15,,,0,0,,,,
trip_0b_b2t:if_b2t:service_1,0,junction,05:52:00,05:52:00,,,0,0,,,,
trip_0b_b2t:if_b2t:service_1,1,slocan-park,05:59:15,05:59:15,,,0,0,,,,
trip_1_b2t:if_b2t:service_0,0,slocan-park,06:00:00,06:00:00,,,0,0,,,,
trip_1_b2t:if_b2t:service_0,1,junction,24:15:15,24:15:15,,,0,0,,,,
trip_1_b2t:if_b2t:service_1,0,slocan-park,06:00:00,06:00:00,,,0,0,,,,
trip_1_b2t:if_b2t:service_1,1,junction,24:15:15,24:15:15,,,0,0,,,,
trip_2_b2t:if_b2t:service_0,0,junction,24:15:30,24:15:30,,,0,0,,,,
trip_2_b2t:if_b2t:service_0,1,slocan-park,28:59:00,28:59:00,,,0,0,,,,
trip_2_b2t:if_b2t:service_1,0,junction,24:15:30,24:15:30,,,0,0,,,,
trip_2_b2t:if_b2t:service_1,1,slocan-park,28:59:00,28:59:00,,,0,0,,,,
trip_2a,0,slocan-park,05:00:00,05:00:00,,,0,0,,,,
trip_2a,1,junction,05:01:00,05:01:00,,,0,0,,,,
trip_3,0,junction,05:02:00,05:02:00,,,0,0,,,,
trip_3,1,slocan-park,24:15:15,24:15:15,,,0,0,,,,
trip_4,1,slocan-park,24:17:15,24:17:15,,,0,0,,,,
trip_4,2,junction,24:19:15,24:19:15,,,0,0,,,,
trip_5,1,junction,05:59:00,05:59:00,,,0,0,,,,
trip_5,2,slocan-park,06:00:00,06:00:00,,,0,0,,,,
10 changes: 10 additions & 0 deletions tests/test_multi_day_blocks/expected_linear/transfers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from_trip_id,to_trip_id,transfer_type
trip_0_b2t:if_b2t:service_0,trip_0b_b2t:if_b2t:service_0,5
trip_0_b2t:if_b2t:service_1,trip_0b_b2t:if_b2t:service_1,5
trip_0b_b2t:if_b2t:service_0,trip_1_b2t:if_b2t:service_0,5
trip_0b_b2t:if_b2t:service_1,trip_1_b2t:if_b2t:service_1,5
trip_1_b2t:if_b2t:service_0,trip_2_b2t:if_b2t:service_0,5
trip_1_b2t:if_b2t:service_1,trip_2_b2t:if_b2t:service_1,5
trip_2_b2t:if_b2t:service_0,trip_2a,5
trip_2a,trip_3,5
trip_3,trip_4,5
18 changes: 12 additions & 6 deletions tests/test_multi_day_blocks/expected_linear/trips.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
route_id,trip_id,service_id,block_id
red,trip_1,weekday,1
red,trip_2,weekday,1
red,trip_2a,sat,1
red,trip_3,sat,
red,trip_4,sat,1
red,trip_5,sun,1
red,trip_0_b2t:if_b2t:service_0,b2t:service_0,1
red,trip_0_b2t:if_b2t:service_1,b2t:service_1,1
red,trip_0b_b2t:if_b2t:service_0,b2t:service_0,1
red,trip_0b_b2t:if_b2t:service_1,b2t:service_1,1
red,trip_1_b2t:if_b2t:service_0,b2t:service_0,1
red,trip_1_b2t:if_b2t:service_1,b2t:service_1,1
red,trip_2_b2t:if_b2t:service_0,b2t:service_0,1
red,trip_2_b2t:if_b2t:service_1,b2t:service_1,1
red,trip_2a,saturday,1
red,trip_3,saturday,1
red,trip_4,saturday,1
red,trip_5,sunday,1

0 comments on commit 4bb101b

Please sign in to comment.