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: fix: follow scheduled point even if faster than margins #8096

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Jul 17, 2024

Fix #8092

We don't quite handle it perfectly yet: when we need to go faster than the margins, we ignore the time repartitions among different margin ranges (between the faulty pair of scheduled points).

@eckter eckter requested review from a team as code owners July 17, 2024 15:04
@eckter eckter requested review from Khoyo and bloussou July 17, 2024 15:04
@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 55.00000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 28.05%. Comparing base (5676323) to head (bc246d3).
Report is 2 commits behind head on dev.

Files Patch % Lines
...r/sncf/osrd/standalone_sim/StandaloneSimulation.kt 35.71% 17 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #8096      +/-   ##
============================================
- Coverage     28.05%   28.05%   -0.01%     
  Complexity     2081     2081              
============================================
  Files          1289     1289              
  Lines        157718   157754      +36     
  Branches       3114     3116       +2     
============================================
+ Hits          44251    44254       +3     
- Misses       111592   111625      +33     
  Partials       1875     1875              
Flag Coverage Δ
core 75.11% <35.71%> (-0.09%) ⬇️
editoast 70.75% <ø> (-0.04%) ⬇️
front 9.90% <ø> (-0.01%) ⬇️
gateway 2.34% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 73.18% <100.00%> (+0.24%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eckter eckter requested a review from shenriotpro July 18, 2024 08:12
Copy link
Contributor

@shenriotpro shenriotpro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for tests/

@eckter eckter added this pull request to the merge queue Jul 18, 2024
Merged via the queue into dev with commit 2c81681 Jul 18, 2024
20 checks passed
@eckter eckter deleted the ech/fix-allowances branch July 18, 2024 08:44
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.

Scheduled point are not honored even if possible
5 participants