You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and TuringInverseWishart
insupport
size
rank
mean
mode
meanlogdet
entropy
cov
var
rand
Constructor with df::TrackedReal and S::Matrix
TuringDenseMvNormal
length
rand
Matrix logpdf
TuringDiagMvNormal
params
dim
size
rand
TuringScalMvNormal
length
size
Single and multi rand
TuringMvLogNormal
length
Single and multi rand
Vector and matrix logpdf out of support
Constructor with m::TrackedVector or m::AbstractVector and A::UniformScaling
TuringUniform
No arg constructor
logpdf of Distributions.Uniform with x::TrackedReal
Semicircle
logpdf of Distributions.Semicircle with x::TrackedReal
inv of pi
NegativeBinomial
nbinomlogpdf - not sure why because we are testing NegativeBinomial and this should be called
TuringPoissonBinomial
quantile
minimum
Let's make the coverage 100%!
The text was updated successfully, but these errors were encountered:
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: