Causal-LDA / TrialEmulation

https://causal-lda.github.io/TrialEmulation/
Apache License 2.0
19 stars 7 forks source link

162 sample controls writes into outcome data #168

Closed darkgoldenrod-cherry closed 4 months ago

github-actions[bot] commented 4 months ago

badge

Code Coverage Summary

Filename                   Stmts    Miss  Cover    Missing
-----------------------  -------  ------  -------  --------------------------------------------------------------
R/calculate_weights.R        117      78  33.33%   7-9, 25-90, 112-126, 130-136
R/data_extension.R           119       1  99.16%   146
R/data_manipulation.R         56       0  100.00%
R/data_preparation.R         163      12  92.64%   141-142, 197-200, 258-259, 269-270, 284-285
R/data_simulation.R           78       6  92.31%   77, 80, 148-152
R/data_utils.R               136      20  85.29%   41-42, 136-144, 156-164
R/expand_trials.R             28       1  96.43%   16
R/generics.R                  61       2  96.72%   106-107
R/initiators.R                48       1  97.92%   134
R/lr_utils.R                  23       0  100.00%
R/modelling.R                 98      24  75.51%   63, 72-74, 82, 85-86, 90, 103-105, 113-116, 122-127, 131-134
R/predict.R                   87      17  80.46%   87, 136-151
R/robust.R                    18       0  100.00%
R/sampling.R                  82       5  93.90%   58-60, 106, 198
R/te_data.R                   16       0  100.00%
R/te_datastore_csv.R          29       1  96.55%   47
R/te_datastore_duckdb.R       69       2  97.10%   44, 64
R/te_datastore.R              15       0  100.00%
R/te_model_fitter.R           50       1  98.00%   87
R/te_weights.R                19      18  5.26%    64-106
R/trial_sequence.R           191      44  76.96%   310-311, 344-345, 374-459, 598-599, 627, 688-705, 726-727, 749
R/utils.R                     29       1  96.55%   134
R/weighting.R                202       9  95.54%   175-186
src/code.cpp                  81       6  92.59%   101-106
TOTAL                       1815     249  86.28%

Diff against main

Filename        Stmts    Miss  Cover
------------  -------  ------  -------
R/sampling.R       +1       0  +0.08%
TOTAL              +1       0  +0.01%

Results for commit: 374b11dcf42dc177df7e3e0721c1e95a286fe7c3

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 4 months ago

Unit Tests Summary

  1 files   17 suites   1m 13s :stopwatch: 100 tests  80 :white_check_mark: 20 :zzz: 0 :x: 281 runs  253 :white_check_mark: 28 :zzz: 0 :x:

Results for commit 374b11dc.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 months ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
predict 💔 $26.54$ $+1.56$ $0$ $0$ $0$ $0$
Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | predict | 💔 | $16.99$ | $+1.25$ | predict.TE_msm_works_as_expected |

Results for commit 96bf09badbb950267680f7589e9393bee2233bf9

♻️ This comment has been updated with latest results.