DistributionsAD.jl
DistributionsAD.jl copied to clipboard
Low test coverage
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_choleskyForTuringWishartandTuringInverseWishartinsupportsizerankmeanmodemeanlogdetentropycovvarrand- Constructor with
df::TrackedRealandS::Matrix
TuringDenseMvNormallengthrand- Matrix
logpdf
TuringDiagMvNormalparamsdimsizerand
TuringScalMvNormallengthsize- Single and multi
rand
TuringMvLogNormallength- Single and multi
rand - Vector and matrix
logpdfout of support - Constructor with
m::TrackedVectororm::AbstractVectorandA::UniformScaling
TuringUniform- No arg constructor
logpdfofDistributions.Uniformwithx::TrackedReal
SemicirclelogpdfofDistributions.Semicirclewithx::TrackedReal
invofpiNegativeBinomialnbinomlogpdf- not sure why because we are testingNegativeBinomialand this should be called
TuringPoissonBinomialquantileminimum
Let's make the coverage 100%!