-
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 allowance search space discontinuity in regression test
- Loading branch information
Showing
1 changed file
with
105 additions
and
0 deletions.
There are no files selected for viewing
105 changes: 105 additions & 0 deletions
105
tests/tests/regression_tests_data/search_space_discontinuity_2.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,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" | ||
} | ||
] | ||
} | ||
} |