Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

87: Add additional unit tests for survival helper functions #99

Merged
merged 4 commits into from
Dec 7, 2023

Conversation

danielinteractive
Copy link
Collaborator

closes #87

Copy link
Contributor

github-actions bot commented Dec 7, 2023

badge

Code Coverage Summary

Filename                     Stmts    Miss  Cover    Missing
-------------------------  -------  ------  -------  ---------
R/assertions.R                  15       0  100.00%
R/corPFSOS.R                    95      19  80.00%   317-335
R/empSignificant.R              59       0  100.00%
R/estimateParams.R              80       0  100.00%
R/eventTracking.R               88       2  97.73%   48, 244
R/getClinicalTrials.R           71       0  100.00%
R/getSimulatedData.R           109       0  100.00%
R/getWaitTimeSum.R              29       2  93.10%   45, 48
R/hazardFunctions.R             26       0  100.00%
R/piecewiseDistribution.R       32       0  100.00%
R/piecewiseHazards.R            18       0  100.00%
R/survivalFunctions.R          157       0  100.00%
R/transitionParameters.R        42       0  100.00%
TOTAL                          821      23  97.20%

Diff against main

Filename                 Stmts    Miss  Cover
---------------------  -------  ------  --------
R/survivalFunctions.R       +5       0  +100.00%
TOTAL                       +5       0  +0.02%

Results for commit: c4ac573

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

Copy link
Contributor

github-actions bot commented Dec 7, 2023

Unit Tests Summary

    1 files    16 suites   2m 9s ⏱️
104 tests 103 ✔️ 1 💤 0
230 runs  229 ✔️ 1 💤 0

Results for commit c4ac573.

Copy link
Contributor

github-actions bot commented Dec 7, 2023

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
getSimulatedDataDistib 💚 $98.02$ $-1.78$ $0$ $0$ $0$ $0$
Additional test case details
Test Suite $Status$ Time on main $±Time$ Test Case
getSimulatedDataDistib 💚 $51.79$ $-1.59$ getSimulatedData_generates_distributions_as_expected_Weibull
survivalFunctions 👶 $+0.02$ WeibOSInteg_works_as_expected_with_scalar_t
survivalFunctions 👶 $+0.01$ WeibOSInteg_works_as_expected_with_scalar_x
survivalFunctions 👶 $+0.01$ WeibOSInteg_works_as_expected_with_vector_x

Results for commit 451e8e4

♻️ This comment has been updated with latest results.

@danielinteractive danielinteractive merged commit 8e92453 into main Dec 7, 2023
25 checks passed
@danielinteractive danielinteractive deleted the 87_weibosinteg_test branch December 7, 2023 19:56
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.

Add additional unit tests for survival helper functions
2 participants