Skip to content

Add support for CohortGenerator v1.x and additional functions for cohort attrition reporting#17

Merged
jreps merged 12 commits intodevelopfrom
cg_v1
Mar 3, 2026
Merged

Add support for CohortGenerator v1.x and additional functions for cohort attrition reporting#17
jreps merged 12 commits intodevelopfrom
cg_v1

Conversation

@anthonysena
Copy link
Collaborator

Summary of changes

  • Incorporates work done in Support for cohort generator 1.0.0 #7 with new approach for externalizing SQL queries
  • Adds new function to support backwards compatibility between CohortGenerator v0.x and v1.x. Adds "V0" and "V1" suffix to queries that have breaking changes.
  • Adds new functions to support new cohort & cohort subset attrition tables in anticipation CohortGenerator v1.1 release.
  • Adds unit tests and updates example data DB for testing to reflect CohortGenerator v1.1 updates.

azimov and others added 10 commits October 22, 2025 14:59
requires the mgiration to be present for tables
- fixing minor issues with CG update
- moving report cohort processing code into R folder functions
- added tests for report cohort processing
- added new input in report that specifies whether to restrict results to targets subset to specified indications
fixing check
@jreps jreps merged commit 516a721 into develop Mar 3, 2026
8 checks passed
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

❌ Patch coverage is 92.59259% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.33%. Comparing base (856c0b0) to head (04265af).
⚠️ Report is 19 commits behind head on develop.

Files with missing lines Patch % Lines
R/CohortQueries.R 92.56% 20 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #17      +/-   ##
===========================================
+ Coverage    92.29%   92.33%   +0.04%     
===========================================
  Files           13       13              
  Lines         5085     5258     +173     
===========================================
+ Hits          4693     4855     +162     
- Misses         392      403      +11     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants