-
Notifications
You must be signed in to change notification settings - Fork 1k
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 IBI fare calculators #5397
Fix IBI fare calculators #5397
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #5397 +/- ##
=============================================
- Coverage 66.60% 66.59% -0.01%
- Complexity 15279 15284 +5
=============================================
Files 1790 1790
Lines 69368 69388 +20
Branches 7306 7307 +1
=============================================
+ Hits 46204 46212 +8
- Misses 20688 20700 +12
Partials 2476 2476
☔ View full report in Codecov by Sentry. |
0eb5bd4
to
5a2f213
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works locally, bringing the fare info back!
Summary
#5284 introduced a regression which broke IBI's fare calculators.
The problem was that leg products were not transferred correctly from the intermediary fares to the eventual result, which is fixed now.
Another problem was that HSL and IBI use different APIs for representing the fares. We hope to address this in #5396
Issue
Relates to #5396
Unit tests
Lots added and adjusted.