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: stdcm: fix initialization of fixed time points in postproc #10851

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Feb 18, 2025

Fix two issues: we'd accidentally delete the last point (for allowance), and the points at the start of allowances can cause issues.

Fix at least some cases of "mismatch during post-processing".

@eckter eckter requested a review from Erashin February 18, 2025 14:07
@eckter eckter requested a review from a team as a code owner February 18, 2025 14:07
@github-actions github-actions bot added the area:core Work on Core Service label Feb 18, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2025

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

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.55%. Comparing base (f4e0c84) to head (8e73699).
Report is 16 commits behind head on dev.

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10851      +/-   ##
==========================================
- Coverage   82.56%   82.55%   -0.02%     
==========================================
  Files        1084     1084              
  Lines      107256   107257       +1     
  Branches      728      729       +1     
==========================================
- Hits        88558    88548      -10     
- Misses      18657    18667      +10     
- Partials       41       42       +1     
Flag Coverage Δ
editoast 74.37% <ø> (-0.04%) ⬇️
front 90.47% <ø> (-0.01%) ⬇️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.58% <ø> (ø)
tests 87.91% <ø> (ø)

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.

@Erashin Erashin requested a review from bougue-pe February 18, 2025 15:26
Copy link
Contributor

@bougue-pe bougue-pe left a comment

Choose a reason for hiding this comment

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

If you can easily add a test, it's welcome, but LGTM as-is.

Fix two issues: we'd accidentally delete the last point (for allowance),
and the points at the *start* of allowances can cause issues

Signed-off-by: Eloi Charpentier <[email protected]>
@eckter eckter force-pushed the ech/fix-stdcm-points branch from 30ab027 to 8e73699 Compare February 18, 2025 15:39
@eckter eckter added this pull request to the merge queue Feb 18, 2025
Merged via the queue into dev with commit 7db0fc4 Feb 18, 2025
27 checks passed
@eckter eckter deleted the ech/fix-stdcm-points branch February 18, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Work on Core Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants