Causal-LDA / TrialEmulation

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

update formula with numerator terms #194

Closed gravesti closed 2 weeks ago

github-actions[bot] commented 3 weeks ago

badge

Code Coverage Summary

Filename                   Stmts    Miss  Cover    Missing
-----------------------  -------  ------  -------  -----------------------------------------------------------------------------------------------
R/calculate_weights.R        117      24  79.49%   28, 51, 75-82, 112-126
R/classes.R                    7       0  100.00%
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%   143-144, 199-202, 260-261, 271-272, 286-287
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             30       1  96.67%   19
R/generics.R                  63       2  96.83%   106-107
R/initiators.R                48       1  97.92%   136
R/lr_utils.R                  23       0  100.00%
R/modelling.R                120      34  71.67%   68, 77-79, 87, 90-91, 95, 108-110, 118-121, 127-132, 136-139, 188-190, 193, 203-208
R/predict.R                   96      19  80.21%   64, 113-128, 180-181
R/robust.R                    18       0  100.00%
R/sampling.R                  82       5  93.90%   60-62, 108, 201
R/te_data.R                   30       2  93.33%   95-96
R/te_datastore_csv.R          58       1  98.28%   82
R/te_datastore_duckdb.R       69       5  92.75%   30-55, 75
R/te_datastore.R              18       3  83.33%   34-36
R/te_outcome_model.R          14       0  100.00%
R/te_stats_glm_logit.R        94      12  87.23%   85, 140-144, 150, 171-175
R/te_weights.R                19       5  73.68%   71, 105-108
R/trial_sequence.R           277      35  87.36%   314-315, 350, 369, 387-392, 442, 447-448, 451-456, 667-668, 759-763, 774, 800-801, 823, 900-907
R/utils.R                     31       1  96.77%   134
R/weighting.R                202       9  95.54%   175-186
src/code.cpp                  81       6  92.59%   101-106
TOTAL                       2049     204  90.04%

Diff against main

Filename              Stmts    Miss  Cover
------------------  -------  ------  -------
R/trial_sequence.R      +33       0  +1.71%
TOTAL                   +33       0  +0.16%

Results for commit: 758ca011b1b7053fb2a66f07e95925287a78e562

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 3 weeks ago

Unit Tests Summary

  1 files   18 suites   1m 43s :stopwatch: 124 tests 102 :white_check_mark: 22 :zzz: 0 :x: 440 runs  408 :white_check_mark: 32 :zzz: 0 :x:

Results for commit 758ca011.

github-actions[bot] commented 3 weeks ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
modelling 💔 $12.49$ $+1.74$ $0$ $0$ $0$ $0$
predict 💔 $44.80$ $+2.32$ $0$ $0$ $0$ $0$
Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | predict | 💔 | $17.48$ | $+1.09$ | predict.TE_msm_gives_the_same_results_as_new_predict | | trial_sequence | 👶 | | $+0.12$ | stabilised_weight_terms_are_included_in_outcome_model |

Results for commit e73b2076b79a4800798bd8519f03ae82de4479bf

♻️ This comment has been updated with latest results.