-
Notifications
You must be signed in to change notification settings - Fork 30
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
Low test coverage #30
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the test coverage is pretty low. Some of the functions defined here are used in packages downstream so we get indirect testing, but this is not good enough for CI. I went through the coverage report and found the following missing tests:
unsafe_cholesky
For
TuringWishart
andTuringInverseWishart
insupport
size
rank
mean
mode
meanlogdet
entropy
cov
var
rand
df::TrackedReal
andS::Matrix
TuringDenseMvNormal
length
rand
logpdf
TuringDiagMvNormal
params
dim
size
rand
TuringScalMvNormal
length
size
rand
TuringMvLogNormal
length
rand
logpdf
out of supportm::TrackedVector
orm::AbstractVector
andA::UniformScaling
TuringUniform
logpdf
ofDistributions.Uniform
withx::TrackedReal
Semicircle
logpdf
ofDistributions.Semicircle
withx::TrackedReal
inv
ofpi
NegativeBinomial
nbinomlogpdf
- not sure why because we are testingNegativeBinomial
and this should be calledTuringPoissonBinomial
quantile
minimum
Let's make the coverage 100%!
The text was updated successfully, but these errors were encountered: