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

14 oc post prob #16

Merged
merged 103 commits into from
Oct 13, 2023
Merged

14 oc post prob #16

merged 103 commits into from
Oct 13, 2023

Conversation

audreyyeoCH
Copy link
Collaborator

Pull Request

audreyyeoCH and others added 30 commits August 14, 2023 17:53
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
@audreyyeoCH audreyyeoCH marked this pull request as draft October 11, 2023 13:18
Copy link
Collaborator

@danielinteractive danielinteractive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @audreyyeoCH , almost there! see last comments below

R/ocPostprob.R Outdated Show resolved Hide resolved
R/ocPostprob.R Outdated Show resolved Hide resolved
R/ocPostprob.R Outdated Show resolved Hide resolved
R/ocPostprob.R Outdated Show resolved Hide resolved
R/postprob.R Outdated Show resolved Hide resolved
R/postprob.R Outdated Show resolved Hide resolved
tests/testthat/test-ocPostprob.R Outdated Show resolved Hide resolved
tests/testthat/test-ocPostprob.R Outdated Show resolved Hide resolved
tests/testthat/test-ocPostprob.R Outdated Show resolved Hide resolved
tests/testthat/test-ocPostprob.R Outdated Show resolved Hide resolved
audreyyeoCH and others added 9 commits October 12, 2023 09:15
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
@audreyyeoCH audreyyeoCH marked this pull request as ready for review October 12, 2023 12:57
@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2023

🧪 Test coverage: 10.97%

Code Coverage Summary

Filename                 Stmts    Miss  Cover    Missing
---------------------  -------  ------  -------  ---------------
R/betadiff.R                54      54  0.00%    21-98
R/boundsPostprob.R          31      31  0.00%    35-74
R/boundsPredprob.R          28      28  0.00%    40-77
R/dbetabinom.R              54       6  88.89%   34, 69, 141-145
R/helpers.R                 17      15  11.76%   10-57
R/oc2.R                    162     162  0.00%    99-336
R/oc3.R                    146     146  0.00%    97-314
R/ocPostprob.R              93       4  95.70%   232-235
R/ocPostprobDist.R          61      61  0.00%    59-130
R/ocPredprob.R              53      53  0.00%    68-138
R/ocPredprobDist.R          63      63  0.00%    70-149
R/ocRctPostprobDist.R      107     107  0.00%    81-224
R/ocRctPredprobDist.R      104     104  0.00%    86-227
R/plotBeta.R               107     107  0.00%    16-174
R/plotBounds.R              52      52  0.00%    37-94
R/plotDecision.R            79      79  0.00%    19-139
R/plotOc.R                  15      15  0.00%    16-36
R/postprob.R                29       1  96.55%   104
R/postprobDist.R            65      65  0.00%    56-151
R/predprob.R                25      25  0.00%    48-91
R/predprobDist.R            90      90  0.00%    81-222
R/runShinyPhase1b.R          4       4  0.00%    8-13
R/sumbetadiff.R             63      63  0.00%    27-104
R/sumTable.R                20      20  0.00%    25-48
TOTAL                     1522    1355  10.97%

Diff against main

Filename            Stmts    Miss  Cover
----------------  -------  ------  --------
R/dbetabinom.R        +12     -36  +88.89%
R/ocPostprob.R        +42     -47  +95.70%
R/postprob.R          +10     -18  +96.55%
R/postprobDist.R       +4      +4  +100.00%
TOTAL                 +68     -97  +10.83%

Results for commit: 9c1ada1

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

Copy link
Collaborator

@danielinteractive danielinteractive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @audreyyeoCH , looks good, just one last minor comment, afterwards good to merge

tests/testthat/test-ocPostprob.R Outdated Show resolved Hide resolved
@audreyyeoCH
Copy link
Collaborator Author

Thanks @danielinteractive for the comments and review! At the moment the changes are made but tt says merging is blocked

@audreyyeoCH audreyyeoCH merged commit b1ad258 into main Oct 13, 2023
15 checks passed
@audreyyeoCH audreyyeoCH deleted the 14_ocPostProb branch October 13, 2023 08:40
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.

2 participants