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

Fix problem with relaxed-generalized-cost-at-destination #6255

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

t2gran
Copy link
Member

@t2gran t2gran commented Nov 15, 2024

Summary

This fixes the the relaxGeneralizedCostAtDestination witch does not work after #6253. It also make the mapping of the RaptorRequest more readable.

Issue

🟥 No issue for this. This is done on top of PR #6253, and need to be rebased when it is merged.

Unit tests

✅ A new test is added witch test a all combinations of "compeating" features in the RaptorRequestMapper.

Documentation

🟥 No extra doc is added, except a few comments to clearify the implementation.

Changelog

🟥 This bug is introduced in #6253.

Bumping the serialization version id

🟥 Not needed, only mapping code is changed.

@t2gran t2gran added Bug Entur Test This is currently being tested at Entur labels Nov 15, 2024
@t2gran t2gran added this to the 2.7 (next release) milestone Nov 15, 2024
@t2gran t2gran requested a review from a team as a code owner November 15, 2024 09:24
@t2gran t2gran changed the title Transit group priority and via bug Fix problem with relaxed-generalized-cost-at-destination Nov 15, 2024
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.71%. Comparing base (90a6176) to head (bdb6e54).
Report is 89 commits behind head on dev-2.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #6255   +/-   ##
==========================================
  Coverage      69.71%   69.71%           
- Complexity     17697    17702    +5     
==========================================
  Files           2008     2008           
  Lines          75836    75841    +5     
  Branches        7766     7767    +1     
==========================================
+ Hits           52869    52876    +7     
+ Misses         20252    20250    -2     
  Partials        2715     2715           

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


🚨 Try these New Features:

@t2gran t2gran requested a review from flaktack November 15, 2024 09:33
@t2gran t2gran marked this pull request as draft November 15, 2024 09:33
@t2gran t2gran marked this pull request as ready for review November 18, 2024 14:04
…ia-visit, and any combination of via-pass-through and relaxed-cost.
@t2gran t2gran force-pushed the transit-group-priority-and-via-bug branch from e8361a4 to e9aa493 Compare November 18, 2024 14:15
@t2gran t2gran merged commit 805e8d6 into dev-2.x Nov 22, 2024
5 checks passed
@t2gran t2gran deleted the transit-group-priority-and-via-bug branch November 22, 2024 15:03
t2gran pushed a commit that referenced this pull request Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Entur Test This is currently being tested at Entur
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants