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 bugs where we would fetch data an epsilon too far #3511

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Mar 13, 2023

Fixes #3509

Only one of the two bugs has been reproduced in a fuzzer regression test. The other can easily be reproduced on France (and has properly been fixed), but it doesn't seem to appear on a generated infra. I suspect it only happens on very long paths, in which case we should eventually add a generated infra with extremely long tracks for better tests.

@eckter eckter requested a review from a team as a code owner March 13, 2023 13:13
@codecov
Copy link

codecov bot commented Mar 13, 2023

Codecov Report

Merging #3511 (2de64af) into dev (d8857e7) will decrease coverage by 0.02%.
The diff coverage is 11.11%.

@@             Coverage Diff              @@
##                dev    #3511      +/-   ##
============================================
- Coverage     68.21%   68.19%   -0.02%     
- Complexity     1897     1898       +1     
============================================
  Files           411      411              
  Lines         20441    20450       +9     
  Branches       1513     1519       +6     
============================================
+ Hits          13943    13946       +3     
- Misses         5801     5803       +2     
- Partials        697      701       +4     
Flag Coverage Δ
core 79.19% <11.11%> (-0.06%) ⬇️

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

Impacted Files Coverage Δ
...ava/fr/sncf/osrd/envelope_sim/EnvelopeSimPath.java 90.90% <0.00%> (-2.12%) ⬇️
...main/java/fr/sncf/osrd/stdcm/graph/STDCMUtils.java 84.90% <14.28%> (-10.75%) ⬇️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@multun multun merged commit f1f20f5 into dev Mar 13, 2023
@multun multun deleted the ech/regression-test-out-of-ranges branch March 13, 2023 14:19
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.

core: some we sometimes look for stuff located an epsilon after the end of the path
2 participants