-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Remove testing dependency on http download for radon dataset #1717
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1717 +/- ##
=======================================
Coverage 90.86% 90.86%
=======================================
Files 108 108
Lines 11821 11821
=======================================
Hits 10741 10741
Misses 1080 1080 Continue to review full report at Codecov.
|
This looks fine to me. Im not sure why code coverage is decreasing but testing wise it seems fine. In regards to your other comment I'm not entirely sure what this is testing either but Ive only just glanced at it |
Isn't it safe to merge it? |
The modified test is failing to trigger this |
@utkarsh-maheshwari if you able to can you see if you can trigger this else case, perhaps with a parameterized test, or a separate test? After that we should be good to for a merge. I know I'm asking for extra work but it certainly will be much appreciated |
This test checked two things: 1) that loo pit works in all possible cases and that it always returns values between 0 and 1 and 2) that loo_pit works when there are multiple likelihood variables present. The "works in all cases" roughly means having observed data (y) in multiple quantiles of the posterior predictive (y') samples and having both y>y'_i and y<y'_i for all i. The multiple likelihoods test translates into having two variables in Here is one approach for a synthetic dataset that does all this:
|
@OriolAbril I guess loo_pit need the posterior as well? Line 1588 in 4d9caca
|
Oh yes, it should have some random samples. |
@canyon289 I can take this. This PR solves other issues as well.! |
851e061
to
28b8fe2
Compare
28b8fe2
to
cd99aff
Compare
Thanks for helping with the dataset 😄 . @OriolAbril |
I did'nt mentioned the changes in changelog. Thought of doing it after seeing all green |
Feel free to add them to the changelog in one of your other open PRs |
Description
Modified loo_pit tests to remove dependency on radon dataset. Using modified centered_eight instead.
Closes #1716
Checklist