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

Reduce flex default access/egress penalty #5674

Merged

Conversation

leonardehrenfried
Copy link
Member

Summary

In a previous PR #5381 I set the flex accessEgress penalty to the same value as Park&Ride. It turns out that this is too aggressive and I lowered the value accordingly.

Documentation

Autogenerated.

@leonardehrenfried leonardehrenfried requested a review from a team as a code owner February 8, 2024 12:35
@leonardehrenfried leonardehrenfried changed the title Reduce flex default penalty Reduce flex default access/egress penalty Feb 8, 2024
Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (026e39e) 67.62% compared to head (6ca07cf) 67.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #5674   +/-   ##
==========================================
  Coverage      67.62%   67.62%           
- Complexity     16293    16294    +1     
==========================================
  Files           1886     1886           
  Lines          71549    71551    +2     
  Branches        7384     7384           
==========================================
+ Hits           48383    48385    +2     
  Misses         20661    20661           
  Partials        2505     2505           

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

@leonardehrenfried
Copy link
Member Author

@vpaturet Here is a config example: ibi-group@c2afe26

Copy link
Member

@t2gran t2gran left a comment

Choose a reason for hiding this comment

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

This looks ok. There is a bug #5681 witch is related to the penalty. Since this is lowering the penalty the bug appear less frequently. Hence; I am in favour of just merging this, not waiting for a bug fix.

For those who run into this bug, we suggest configuring the penalty, setting it to zero - OR reverting to an older version OTP until the bug is fixed.

@leonardehrenfried leonardehrenfried merged commit 88d7f4e into opentripplanner:dev-2.x Feb 14, 2024
5 checks passed
@leonardehrenfried leonardehrenfried deleted the flex-penalty branch February 14, 2024 08:43
t2gran pushed a commit that referenced this pull request Feb 14, 2024
@t2gran t2gran added this to the 2.5 (next release) milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants