Skip to content

Commit

Permalink
try to make test stable
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsbeck committed Oct 16, 2024
1 parent e67db20 commit 5a5b68d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion tests/golden/testdata/duration_matrix_time_dependent2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"start_time": "2023-01-01T12:03:00Z",
"end_time": "2023-01-01T12:10:00Z",
"scaling_factor": 1.5
"scaling_factor": 1.4
},
{
"start_time": "2023-01-01T12:12:00Z",
Expand Down
40 changes: 20 additions & 20 deletions tests/golden/testdata/duration_matrix_time_dependent2.json.golden
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@
"name": "1 * vehicles_duration + 1 * unplanned_penalty",
"objectives": [
{
"base": 1760,
"base": 1740,
"factor": 1,
"name": "vehicles_duration",
"value": 1760
"value": 1740
},
{
"factor": 1,
"name": "unplanned_penalty",
"value": 0
}
],
"value": 1760
"value": 1740
},
"unplanned": [],
"vehicles": [
Expand All @@ -108,11 +108,11 @@
"travel_duration": 0
},
{
"arrival_time": "2023-01-01T12:14:40Z",
"arrival_time": "2023-01-01T12:14:00Z",
"cumulative_travel_distance": 3994,
"cumulative_travel_duration": 880,
"end_time": "2023-01-01T12:14:40Z",
"start_time": "2023-01-01T12:14:40Z",
"cumulative_travel_duration": 840,
"end_time": "2023-01-01T12:14:00Z",
"start_time": "2023-01-01T12:14:00Z",
"stop": {
"id": "Kiyomizu-dera",
"location": {
Expand All @@ -121,14 +121,14 @@
}
},
"travel_distance": 3994,
"travel_duration": 880
"travel_duration": 840
},
{
"arrival_time": "2023-01-01T12:29:20Z",
"arrival_time": "2023-01-01T12:29:00Z",
"cumulative_travel_distance": 7274,
"cumulative_travel_duration": 1760,
"end_time": "2023-01-01T12:29:20Z",
"start_time": "2023-01-01T12:29:20Z",
"cumulative_travel_duration": 1740,
"end_time": "2023-01-01T12:29:00Z",
"start_time": "2023-01-01T12:29:00Z",
"stop": {
"id": "Fushimi Inari Taisha",
"location": {
Expand All @@ -137,12 +137,12 @@
}
},
"travel_distance": 3280,
"travel_duration": 880
"travel_duration": 900
}
],
"route_duration": 1760,
"route_duration": 1740,
"route_travel_distance": 7274,
"route_travel_duration": 1760
"route_travel_duration": 1740
}
]
}
Expand All @@ -151,16 +151,16 @@
"result": {
"custom": {
"activated_vehicles": 1,
"max_duration": 1760,
"max_duration": 1740,
"max_stops_in_vehicle": 3,
"max_travel_duration": 1760,
"min_duration": 1760,
"max_travel_duration": 1740,
"min_duration": 1740,
"min_stops_in_vehicle": 3,
"min_travel_duration": 1760,
"min_travel_duration": 1740,
"unplanned_stops": 0
},
"duration": 0.123,
"value": 1760
"value": 1740
},
"run": {
"duration": 0.123,
Expand Down

0 comments on commit 5a5b68d

Please sign in to comment.