-
Notifications
You must be signed in to change notification settings - Fork 46
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: update start of free block in signal projection (space-time chart) when stopping on closed signal #9661
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #9661 +/- ##
==========================================
+ Coverage 37.88% 38.21% +0.33%
==========================================
Files 992 995 +3
Lines 90966 91909 +943
Branches 1176 1189 +13
==========================================
+ Hits 34463 35124 +661
- Misses 56049 56331 +282
Partials 454 454
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for the frontend (not tested)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement, and less dead code if I understand correctly. Also, you will need to rebase because a CI PR happened in between which explains why you see 50 steps (instead of 25) with half of them not running.
6632b0a
to
12f144a
Compare
(I don't see the dead code removal :p) I believe we need signal sightings in order to only output green zones for signal that are effectively constraining the projected train. Here is an example: The first green block in this image should not be there, as the first train never sees that signal |
Signed-off-by: Pierre-Etienne Bougué <[email protected]>
Signed-off-by: Pierre-Etienne Bougué <[email protected]>
…rocess Signed-off-by: Pierre-Etienne Bougué <[email protected]>
56848fe
to
c5948fa
Compare
All rewritten, as discussed with @Khoyo:
|
c5948fa
to
ecce330
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is signal_critical_position
better than signal_sighting
? I'm sure I don't understand all of it, but intuitively, "signal sighting" means something in my mind (when you see the signal), whereas "signal critical position" feels like it's missing some context: critical for what (or for when)? Feel free to disregard if this is about a shared jargon term.
ecce330
to
461433f
Compare
461433f
to
34ba402
Compare
Field used only on a later call by the signal-projection Also add integration test on start of space-time chart's free block for stop on closed signal Signed-off-by: Pierre-Etienne Bougué <[email protected]>
Letting core's API v1 untouched (as it didn't change) Signed-off-by: Pierre-Etienne Bougué <[email protected]>
34ba402
to
08755cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Fix #8814
This is done by amending signal-sightings with stop-ending (minus margin) when stop is on closed signal
Also:
A complete comment up-to-date is also worth reading: #9661 (comment)
🔍 review by commit is probably easier