-
Notifications
You must be signed in to change notification settings - Fork 1.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
Improve business logic for consolidated stops #5653
Improve business logic for consolidated stops #5653
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #5653 +/- ##
=============================================
+ Coverage 67.54% 67.62% +0.08%
- Complexity 16292 16293 +1
=============================================
Files 1888 1886 -2
Lines 71609 71549 -60
Branches 7405 7384 -21
=============================================
+ Hits 48365 48382 +17
+ Misses 20740 20662 -78
- Partials 2504 2505 +1 ☔ View full report in Codecov by Sentry. |
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.
I think this is the correct behavior
3f065ae
to
85d762a
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.
@leonardehrenfried Could you clarify the alternate use of primary vs secondary stops and clarify a method name, please?
...java/org/opentripplanner/ext/stopconsolidation/internal/DefaultStopConsolidationService.java
Outdated
Show resolved
Hide resolved
src/ext/java/org/opentripplanner/ext/stopconsolidation/DecorateConsolidatedStopNames.java
Show resolved
Hide resolved
src/ext/java/org/opentripplanner/ext/stopconsolidation/DecorateConsolidatedStopNames.java
Show resolved
Hide resolved
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.
Seems to work fine, thanks for the clarifying comments.
Summary
During client review, we noticed that the logic for the consolidated stops are not quite as specified which is rectified with this PR.
@miles-grant-ibigroup can you test that this satisfies the requirements?
Unit tests
Adapted.