Skip to content
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: spacing requirements: gracefuly handle faulty signaling #4741

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

multun
Copy link
Contributor

@multun multun commented Aug 3, 2023

A faulty signal may always display a non-constraining state, regardless of the state of zones ahead. In this case, use the time the zone is first occupied as the requirement start time.

This change also introduces various checks, including a state machine which ensure signaling behaves as expected.

Fixes #4735

@multun multun requested a review from a team as a code owner August 3, 2023 13:56
A faulty signal may always display a non-constraining state, regardless of the state of zones ahead.
In this case, use the time the zone is first occupied as the requirement start time.

This change also introduces various checks, including a state machine which ensure signaling behaves as expected.

Fixes #4735
@multun multun force-pushed the spacing-faulty-signaling branch from c0297b6 to cc3884f Compare August 3, 2023 13:57
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #4741 (cc3884f) into dev (748d375) will increase coverage by 0.00%.
The diff coverage is 46.55%.

@@            Coverage Diff            @@
##                dev    #4741   +/-   ##
=========================================
  Coverage     20.29%   20.30%           
- Complexity     2327     2330    +3     
=========================================
  Files           877      877           
  Lines         89077    89115   +38     
  Branches       2303     2320   +17     
=========================================
+ Hits          18076    18092   +16     
- Misses        69726    69738   +12     
- Partials       1275     1285   +10     
Flag Coverage Δ
core 79.89% <46.55%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...f/osrd/standalone_sim/ScheduleMetadataExtractor.kt 84.33% <46.55%> (-8.56%) ⬇️

... and 2 files with indirect coverage changes

@multun multun merged commit cfac5f3 into dev Aug 3, 2023
@multun multun deleted the spacing-faulty-signaling branch August 3, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid spacing conflicts
2 participants