Skip to content

Reduce flex default access/egress penalty#5674

Merged
leonardehrenfried merged 2 commits into
opentripplanner:dev-2.xfrom
leonardehrenfried:flex-penalty
Feb 14, 2024
Merged

Reduce flex default access/egress penalty#5674
leonardehrenfried merged 2 commits into
opentripplanner:dev-2.xfrom
leonardehrenfried:flex-penalty

Conversation

@leonardehrenfried

Copy link
Copy Markdown
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 added the !Improvement A functional improvement or micro feature label Feb 8, 2024
@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
@codecov

codecov Bot commented Feb 8, 2024

Copy link
Copy Markdown

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
Copy Markdown
Member Author

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

@t2gran t2gran left a comment

Copy link
Copy Markdown
Member

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
@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

Labels

!Improvement A functional improvement or micro feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants