Skip to content

Conversation

@paulolaup
Copy link
Collaborator

Cohort Selection Ontology:

  • Fix performance of descendant count determination by implementing storage and lookup of intermediate results

Closes: #378

@paulolaup paulolaup self-assigned this Oct 17, 2025
@paulolaup paulolaup added bug Something isn't working cso Cohort Selection Ontology labels Oct 17, 2025
@paulolaup paulolaup enabled auto-merge October 17, 2025 08:38
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 92.45283% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.07%. Comparing base (7235d74) to head (ceed37e).

Files with missing lines Patch % Lines
cohort_selection_ontology/model/tree_map.py 89.18% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
+ Coverage   61.48%   62.07%   +0.59%     
==========================================
  Files          47       48       +1     
  Lines        3692     3726      +34     
  Branches      529      534       +5     
==========================================
+ Hits         2270     2313      +43     
+ Misses       1276     1266      -10     
- Partials      146      147       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paulolaup
Copy link
Collaborator Author

Changes improve performance for large code systems as tested by @BoehmDo

@paulolaup paulolaup force-pushed the 378-improve-performance-of-descendant-determination branch 2 times, most recently from 393713f to 7698bd8 Compare October 21, 2025 14:41
Copy link
Collaborator

@Frontman50 Frontman50 left a comment

Choose a reason for hiding this comment

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

LGTM

@paulolaup paulolaup force-pushed the 378-improve-performance-of-descendant-determination branch from 7698bd8 to 7aa0e13 Compare October 29, 2025 11:05
Cohort Selection Ontology:
  - Fix performance of descendant count determination
    by implementing storage and lookup of intermediate
    results

CI/CD:
  - Add steps/jobs for running unit tests

Tests:
  - Add unit test for descendant calculation
@paulolaup paulolaup force-pushed the 378-improve-performance-of-descendant-determination branch from 7aa0e13 to ceed37e Compare October 29, 2025 13:04
@paulolaup paulolaup requested a review from Frontman50 October 30, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cso Cohort Selection Ontology

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve performance of descendant determination

4 participants