Skip to content

Conversation

@anthonysena
Copy link
Collaborator

Updates to support CohortMethod v6 and to require the use of CohortGenerator v1.

@anthonysena anthonysena added this to the v1.5 milestone Jan 12, 2026
@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

❌ Patch coverage is 94.60227% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.56%. Comparing base (6187132) to head (4c18c60).
⚠️ Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
R/Module-EvidenceSynthesis.R 93.89% 18 Missing ⚠️
R/ResultDataModel.R 94.11% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #277      +/-   ##
===========================================
+ Coverage    97.82%   98.56%   +0.73%     
===========================================
  Files           16       16              
  Lines         4193     5075     +882     
===========================================
+ Hits          4102     5002     +900     
+ Misses          91       73      -18     

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

schuemie and others added 3 commits January 13, 2026 10:12
* Updating evidence synthesis results schema fro balance diagnostic and target_comparator_id

* Balance meta-analysis and switching to target_comnparator_id

* Fixing balance meta-analysis

* Formally importing pnorm from stats to avoid R check note

---------

Co-authored-by: Admin_mschuemi <Admin_mschuemi@its.jnj.com>
@anthonysena anthonysena marked this pull request as ready for review January 26, 2026 13:59
Comment on lines +1142 to +1150
balance <- DatabaseConnector::renderTranslateQuerySql(
connection = connection,
sql = sql,
database_schema = databaseSchema,
database_ids = if (is.null(databaseIds)) "" else private$.quoteSql(databaseIds),
analysis_ids = if (is.null(analysisIds)) "" else analysisIds,
snakeCaseToCamelCase = TRUE
) |>
as_tibble()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@schuemie - when constructing the balance, it is possible that 0 analyses will pass diagnostics (i.e. rows with unblind_for_evidence_synthesis = 1 will be 0 imposed by the query above). When this happens, the remainder of the function fails since it assumes balance has data. Not sure how to gracefully handle this here so just putting a note so you can take a look.

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