-
Notifications
You must be signed in to change notification settings - Fork 0
Improve test coverage #73
Copy link
Copy link
Open
Labels
qualityAdditional unit, integration, or performance testingAdditional unit, integration, or performance testingtestingQuality control work, such as linting, styling, or other static analysisQuality control work, such as linting, styling, or other static analysis
Metadata
Metadata
Assignees
Labels
qualityAdditional unit, integration, or performance testingAdditional unit, integration, or performance testingtestingQuality control work, such as linting, styling, or other static analysisQuality control work, such as linting, styling, or other static analysis
Type
Fields
Give feedbackNo fields configured for issues without a type.
The suite already covers the core surfaces (canonicalize ×3, checkers, create-target, predict, sampling, options), and
test-coverage.yamlalready runscovrand uploads to Codecov in CI. But some surfaces are thin or untested. This issue tracks closing those gaps as part of the CRAN push (#31).Gaps to close
summary.imugap_predict— added with the draws-compatiblepredictrefactor (adjust predict to return a more-draws-compatible object #68 / PR change predict returns to be draws-compatible #70); no dedicated test. Cover the reduction/summary output shape and columns.predict.imugap_fitedge cases — beyond the happy path: invalidloc_id/ dose / age / cohort rejection, single-row vs. multi-row targets, the differentcreate_targetmodes feeding predict.checkers.R— thechecked_*validators throw on bad input; assert the error paths (eachstopperbranch), not just the pass-through.options.R(stan_options,imugap_options) — default construction + override + invalid-arg handling.canonicalize_*— confirm the failure/validation branches are exercised, not just valid inputs.Acceptance
summary.imugap_predicthas testsRefs #31