Add additional test cases for ARD Cohen's D and Hedge's G (requirements #0.06, #0.07)#334
Closed
Add additional test cases for ARD Cohen's D and Hedge's G (requirements #0.06, #0.07)#334
Conversation
…ts #0.06 and #0.07) Co-authored-by: shajoezhu <3692541+shajoezhu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add additional test cases for ARD Cohen's D and Hedge's G tests
Add additional test cases for ARD Cohen's D and Hedge's G (requirements #0.06, #0.07)
Mar 18, 2026
Contributor
Code Coverage SummaryDiff against mainResults for commit: 5068305 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Contributor
Unit Tests Summary 1 files 193 suites 1m 23s ⏱️ Results for commit 5068305. ♻️ This comment has been updated with latest results. |
Contributor
Unit Test Performance DifferenceAdditional test case details
Results for commit 4ae8433 ♻️ This comment has been updated with latest results. |
Melkiades
reviewed
Mar 18, 2026
Contributor
Melkiades
left a comment
There was a problem hiding this comment.
I think the issue is a false positive because this is true:
R/ard_effectsize_cohens_d.R 103 2 98.06% 69, 122
R/ard_effectsize_hedges_g.R 91 2 97.80% 68, 120
and the current PR is doing 0 new coverage
Contributor
|
false positive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements #0.06 and #0.07 lacked sufficient test coverage for
ard_effectsize_cohens_d()andard_effectsize_hedges_g(). Also fixes a mislabeledtest_thatblock in the Hedge's G test file.Changes
test-ard_effectsize_cohens_d.Rconf.levelparameter test for both unpaired and paired variantsestimate,conf.low,conf.high,conf.level,paired,pooled_sd,alternativeare present with correct labels)test-ard_effectsize_hedges_g.R"ard_effectsize_cohens_d() follows ard structure"→"ard_effectsize_hedges_g() follows ard structure"conf.levelparameter test for both unpaired and paired variantsOriginal prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.