-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: reproduce new allowance search space discontinuity test in reg…
…ression test
- Loading branch information
Showing
1 changed file
with
94 additions
and
0 deletions.
There are no files selected for viewing
94 changes: 94 additions & 0 deletions
94
tests/tests/regression_tests_data/search_space_discontinuity_3.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"error_type": "SCHEDULE", | ||
"code": 500, | ||
"error": "{\"status\":500,\"type\":\"allowance_convergence\",\"context\":{\"trace\":[{\"index\":1}],\"url\":\"http://localhost:8080/standalone_simulation\"},\"message\":\"Failed to converge when computing allowances because of a discontinuity in the search space\"}", | ||
"infra_name": "small_infra", | ||
"path_payload": { | ||
"infra": 5, | ||
"name": "foo", | ||
"steps": [ | ||
{ | ||
"duration": 201.26315724275267, | ||
"waypoints": [ | ||
{ | ||
"track_section": "TC0", | ||
"offset": 552.2236003214992 | ||
} | ||
] | ||
}, | ||
{ | ||
"duration": 438.6125451117886, | ||
"waypoints": [ | ||
{ | ||
"track_section": "TC0", | ||
"offset": 71.51179397666198 | ||
} | ||
] | ||
}, | ||
{ | ||
"duration": 905.27207511261, | ||
"waypoints": [ | ||
{ | ||
"track_section": "TA6", | ||
"offset": 982.414023681425 | ||
} | ||
] | ||
}, | ||
{ | ||
"duration": 1, | ||
"waypoints": [ | ||
{ | ||
"track_section": "TA0", | ||
"offset": 1375.331921836674 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"schedule_payload": { | ||
"timetable": 357, | ||
"path": 6918, | ||
"schedules": [ | ||
{ | ||
"train_name": "foo", | ||
"labels": [], | ||
"departure_time": 25812, | ||
"allowances": [ | ||
{ | ||
"allowance_type": "standard", | ||
"default_value": { | ||
"value_type": "time_per_distance", | ||
"minutes": 6.5231844502540675 | ||
}, | ||
"ranges": [ | ||
{ | ||
"begin_position": 0, | ||
"end_position": 7321.423229665372, | ||
"value": { | ||
"value_type": "time", | ||
"seconds": 24.50736878607825 | ||
} | ||
} | ||
], | ||
"capacity_speed_limit": 4.032742864899781, | ||
"distribution": "MARECO" | ||
}, | ||
{ | ||
"allowance_type": "engineering", | ||
"begin_position": 30.507061762109494, | ||
"end_position": 10137.834504522636, | ||
"value": { | ||
"value_type": "time", | ||
"seconds": 36.224369091662 | ||
}, | ||
"capacity_speed_limit": 6.7015598167476504, | ||
"distribution": "MARECO" | ||
} | ||
], | ||
"initial_speed": 0, | ||
"rolling_stock_id": 449, | ||
"speed_limit_category": "foo" | ||
} | ||
] | ||
} | ||
} |