diff --git a/tests/tests/regression_tests_data/search_space_discontinuity_2.json b/tests/tests/regression_tests_data/search_space_discontinuity_2.json new file mode 100644 index 00000000000..819a65fc3cf --- /dev/null +++ b/tests/tests/regression_tests_data/search_space_discontinuity_2.json @@ -0,0 +1,105 @@ +{ + "error_type": "SCHEDULE", + "code": 500, + "error": "{\"type\":\"\",\"context\":{\"trace\":[{\"index\":1}]},\"message\":\"Failed to converge when computing allowances because of a discontinuity in the search space\"}", + "infra_name": "small_infra", + "path_payload": { + "infra": 2, + "name": "foo", + "steps": [ + { + "duration": 0, + "waypoints": [ + { + "track_section": "TD0", + "offset": 19619.352684339327 + } + ] + }, + { + "duration": 0, + "waypoints": [ + { + "track_section": "TD0", + "offset": 10328.66897321028 + } + ] + }, + { + "duration": 0, + "waypoints": [ + { + "track_section": "TC1", + "offset": 942.2893869744591 + } + ] + }, + { + "duration": 1, + "waypoints": [ + { + "track_section": "TA6", + "offset": 7228.631133548441 + } + ] + } + ] + }, + "schedule_payload": { + "timetable": 477, + "path": 6191, + "schedules": [ + { + "train_name": "foo", + "labels": [], + "departure_time": 49769, + "allowances": [ + { + "allowance_type": "standard", + "default_value": { + "value_type": "percentage", + "percentage": 13.909647137885917 + }, + "ranges": [ + { + "begin_position": 0, + "end_position": 16060.88634445774, + "value": { + "value_type": "time", + "seconds": 36.46246472629868 + } + } + ], + "capacity_speed_limit": 6.2294818613912595, + "distribution": "MARECO" + }, + { + "allowance_type": "engineering", + "begin_position": 12524.41472909032, + "end_position": 21770.18710487399, + "value": { + "value_type": "time", + "seconds": 28.070954818841923 + }, + "capacity_speed_limit": 1.7874897194090011, + "distribution": "MARECO" + }, + { + "allowance_type": "engineering", + "begin_position": 12952.70669585063, + "end_position": 19291.81886826793, + "value": { + "value_type": "time", + "seconds": 11.462972603693293 + }, + "capacity_speed_limit": 9.850164632606985, + "distribution": "LINEAR" + } + ], + "initial_speed": 0, + "rolling_stock_id": 449, + "speed_limit_category": "foo" + } + ] + } +}