Skip to content

self controlled cohort module - #293

Open
azimov wants to merge 44 commits into
developfrom
feature/SelfControlledCohortModule
Open

self controlled cohort module#293
azimov wants to merge 44 commits into
developfrom
feature/SelfControlledCohortModule

Conversation

@azimov

@azimov azimov commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Adds code to support SelfControlledCohort package (now in cran), with EvidenceSynthesis support

azimov and others added 30 commits July 16, 2025 12:50
* 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>
@azimov
azimov requested a review from anthonysena June 18, 2026 14:50
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 65.85366% with 84 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.76%. Comparing base (4fd068f) to head (6b6c5d9).

Files with missing lines Patch % Lines
R/Module-EvidenceSynthesis.R 17.64% 84 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #293      +/-   ##
===========================================
- Coverage    97.15%   95.76%   -1.40%     
===========================================
  Files           16       17       +1     
  Lines         4992     5383     +391     
===========================================
+ Hits          4850     5155     +305     
- Misses         142      228      +86     

☔ View full report in Codecov by Harness.
📢 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.

@anthonysena

Copy link
Copy Markdown
Collaborator

@azimov thanks for adding this module! This all looks good with the exception of the unit tests for EvidenceSynthesis. I noted that you have added another set of unit tests for the ES module and am wondering if we could incorporate the SCC results into the existing EvidenceSythesis approach that @schuemie has established in the package? I believe the path forward would look something like this:

  1. Simulate SCC results in extras/ESModule-SimulateResultsForTesting.R to add to inst/testdata/esmodule/results.sqlite
  2. Extend the existing ES Module tests to include an SCC source and corresponding analysis to verify that SCC runs with the other meta-analyses?

Please let me know your thoughts on this approach. Thanks!

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