hta-pharma / maicplus

open source R package for MAIC
https://hta-pharma.github.io/maicplus/
2 stars 1 forks source link

80 add binary to wrapper function for unanchored case #93

Closed hoppanda closed 5 months ago

MikeJSeo commented 5 months ago
image

why is some comments hidden? Please look at these too. Thanks

github-actions[bot] commented 5 months ago

badge

Code Coverage Summary

Filename               Stmts    Miss  Cover    Missing
-------------------  -------  ------  -------  --------------------------------------------------------------------------------------------------
R/binary-helper.R         59       7  88.14%   14, 18, 21, 24, 28, 31, 36
R/bootstrap.R             23      23  0.00%    54-88
R/bucher.R                50       4  92.00%   49, 97, 101, 105
R/data_generation.R       20      20  0.00%    36-73
R/maic_anchored.R        140      32  77.14%   62-69, 74-77, 81, 84, 88, 91-94, 97-100, 105-106, 110, 113, 134-139, 156
R/maic_unanchored.R      251      40  84.06%   79-86, 89-90, 95, 98-101, 104-107, 112, 122, 125, 147-154, 183, 276-277, 344-348, 376-377, 409-410
R/matching.R             238     142  40.34%   60, 67, 72-75, 82-89, 110, 167, 200, 242-502
R/plot_km.R              439     439  0.00%    46-736
R/plot_km2.R             107     107  0.00%    50-209
R/process_data.R         101      44  56.44%   49-51, 56, 71-74, 80, 92-93, 183, 216-280
R/reporting.R             59       1  98.31%   91
R/survival-helper.R       30       3  90.00%   63, 66-67
R/time-helper.R            9       4  55.56%   22, 37-38, 52
R/zzz.R                    1       1  0.00%    2
TOTAL                   1527     867  43.22%

Diff against main

Filename               Stmts    Miss  Cover
-------------------  -------  ------  -------
R/binary-helper.R        +59      +7  +88.14%
R/maic_unanchored.R     +125     -86  +84.06%
R/reporting.R            +40      +1  -1.69%
TOTAL                   +224     -78  +15.75%

Results for commit: 342292f0b7aa914c4396e023a901c52f3dc9d57a

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 5 months ago

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
get_pseudo_ipd_binary 👶 $+0.02$ $+2$ $0$ $0$ $0$
maic_unanchored 👶 $+3.31$ $+8$ $0$ $0$ $0$
Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | get_pseudo_ipd_binary | 👶 | | $+0.00$ | generate_pseudo_binary_IPD_given_stacked_table_as_input | | get_pseudo_ipd_binary | 👶 | | $+0.02$ | generate_pseudo_binary_IPD_given_unstacked_table_as_input | | maic_unanchored | 👶 | | $+0.32$ | test_binary_case | | maic_unanchored | 👶 | | $+2.99$ | test_time_to_event_case |

Results for commit 67b52847d7de1155f8342d266eca1a8d2a2e20e0

♻️ This comment has been updated with latest results.

github-actions[bot] commented 5 months ago

Unit Tests Summary

 1 files   5 suites   4s :stopwatch: 15 tests 15 :white_check_mark: 0 :zzz: 0 :x: 47 runs  47 :white_check_mark: 0 :zzz: 0 :x:

Results for commit a9f50608.

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