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 max speed in concatenated envelopes #10312

Merged
merged 1 commit into from
Jan 10, 2025
Merged

core: fix max speed in concatenated envelopes #10312

merged 1 commit into from
Jan 10, 2025

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Jan 9, 2025

When there was a single envelope, we'd actually return the maximum value over the whole envelope, ignoring ranges.

This caused a nasty bug in stdcm where the "max speed" would be higher in post-processing than during the graph traversal, resulting in conflict mismatches (when using TVM)

@eckter eckter requested a review from Erashin January 9, 2025 15:43
@eckter eckter requested a review from a team as a code owner January 9, 2025 15:43
@github-actions github-actions bot added the area:core Work on Core Service label Jan 9, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 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 81.61%. Comparing base (cdb6f92) to head (3ce4cde).
Report is 26 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   #10312      +/-   ##
==========================================
+ Coverage   81.56%   81.61%   +0.04%     
==========================================
  Files        1062     1063       +1     
  Lines      104953   105426     +473     
  Branches      722      722              
==========================================
+ Hits        85608    86046     +438     
- Misses      19304    19339      +35     
  Partials       41       41              
Flag Coverage Δ
editoast 73.64% <ø> (-0.01%) ⬇️
front 89.33% <ø> (+0.03%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 87.05% <ø> (ø)

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.

Copy link
Contributor

@Erashin Erashin left a comment

Choose a reason for hiding this comment

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

LGTM.

@eckter eckter self-assigned this Jan 10, 2025
@eckter eckter force-pushed the ech/fix-max-speed branch from 78e98d2 to 3ce4cde Compare January 10, 2025 08:26
@eckter eckter enabled auto-merge January 10, 2025 08:38
@eckter eckter added this pull request to the merge queue Jan 10, 2025
Merged via the queue into dev with commit 4aeb5fd Jan 10, 2025
27 checks passed
@eckter eckter deleted the ech/fix-max-speed branch January 10, 2025 09:04
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.

3 participants