-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: fix "negative" routing requirements + add requirement margin for stop on closed signal (conflict detection) #9195
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #9195 +/- ##
============================================
- Coverage 39.08% 39.06% -0.02%
- Complexity 2267 2270 +3
============================================
Files 1308 1308
Lines 99203 99251 +48
Branches 3312 3315 +3
============================================
+ Hits 38774 38776 +2
- Misses 58466 58511 +45
- Partials 1963 1964 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
5db36e8
to
7e8ed4e
Compare
core/src/main/java/fr/sncf/osrd/standalone_sim/ScheduleMetadataExtractor.kt
Show resolved
Hide resolved
7e8ed4e
to
d4e146b
Compare
Please review d4e146b: I fixed a little bit the processing of critical distance, as it could lead to use a stop that was before the signalSight in routing requirement (too late |
d4e146b
to
026bf86
Compare
@Khoyo @eckter please re-review as there is an important fix in 8e3010d (and a rename to clarify in previous commit). Tested locally that |
026bf86
to
8e3010d
Compare
…ction) 20 s anticipation for the start of resource requirement when stopping on closed signal. Signed-off-by: Pierre-Etienne Bougué <bougue.pe@proton.me>
Signed-off-by: Pierre-Etienne Bougué <bougue.pe@proton.me>
Begin of routing requirement was sometimes placed later than the end requirement of a zone. This would happen when a stop on closed signal was after the considered route (and this route was not the first one, as there is an early return). Too early entrySignalOffset had to be fixed too. Signed-off-by: Pierre-Etienne Bougué <bougue.pe@proton.me>
8e3010d
to
7433ec1
Compare
Fix: #8813