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

refactor(snomed.datastore): Improve SnomedDescendantsExpander #1186

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

apeteri
Copy link
Member

@apeteri apeteri commented Jul 10, 2023

  • Stream large result sets
  • Move total descendant count-only cases to a separate method
  • Collect descendant concepts with a search request otherwise
  • Use configured limit in SnomedDescendantsExpander

@apeteri apeteri self-assigned this Jul 10, 2023
@cmark cmark requested review from cmark and nagyo July 12, 2023 07:06
@cmark cmark changed the base branch from 8.x to 9.x August 26, 2023 06:54
@apeteri apeteri force-pushed the improvement/snomed-descendants-expand branch from 429b363 to 1176d5a Compare October 12, 2023 14:26
- Stream large result sets
- Move total descendant count-only cases to a separate method
- Collect descendant concepts with a search request otherwise
- Use configured limit in SnomedDescendantsExpander
@apeteri apeteri force-pushed the improvement/snomed-descendants-expand branch from 1176d5a to b364939 Compare October 12, 2023 14:31
@b2ihealthcare b2ihealthcare deleted a comment from codecov bot Oct 12, 2023
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Attention: 37 lines in your changes are missing coverage. Please review.

Comparison is base (14d610c) 64.36% compared to head (b4c9814) 64.37%.

Additional details and impacted files
@@             Coverage Diff              @@
##                9.x    #1186      +/-   ##
============================================
+ Coverage     64.36%   64.37%   +0.01%     
- Complexity    13175    13190      +15     
============================================
  Files          1792     1792              
  Lines         61436    61503      +67     
  Branches       5678     5687       +9     
============================================
+ Hits          39541    39592      +51     
- Misses        19442    19450       +8     
- Partials       2453     2461       +8     
Files Coverage Δ
...datastore/converter/SnomedDescendantsExpander.java 73.82% <73.94%> (+0.65%) ⬆️

... and 3 files with indirect coverage changes

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

Copy link
Member

@nagyo nagyo left a comment

Choose a reason for hiding this comment

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

LGTM! 🍏

Copy link
Member

@cmark cmark left a comment

Choose a reason for hiding this comment

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

LGTM!

@cmark cmark merged commit 7bf435a into 9.x Nov 13, 2023
4 checks passed
@cmark cmark deleted the improvement/snomed-descendants-expand branch November 13, 2023 10:47
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.

3 participants