-
Notifications
You must be signed in to change notification settings - Fork 430
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
Testing of distributions #357
Comments
Also see #290. |
@vks has some plans for histogram-based testing, though possibly only after PDFs are added. Separately, we should add some tests of value-stability. |
See |
@vks could I interest you (or potentially someone else) in adding at utility to |
I was thinking about using sparklines for that. I'm interested, but I can't make promises that I'll get to it before the end of the year. |
Resolving this issue was started in #1121, more work is needed to extend it to the other distributions. |
I think we should either make this issue more actionable or close it. For which distributions do we want histogram tests? Sometimes, calculating the PDF is non-trivial and requires special functions. |
I suggest the following approach:
This should allow fast and robust testing (within the limits of reproducibility), with the caveat that any value-breaking change must again be visually confirmed. It should be applicable to all distributions, though may be hard to visualise for multi-dimensional outputs. It cannot confirm perfect accuracy, especially in degenerate cases. |
We should add some testing for distributions. Unfortunately since distribution samples are random, this is inherently difficult. Original issue dhardy#72.
See for some direction rust-lang/rust#10084, and the
random-tests
.The text was updated successfully, but these errors were encountered: