Skip to content
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

Update AutoCorrPlot test #282

Merged
merged 2 commits into from
Sep 26, 2018
Merged

Conversation

canyon289
Copy link
Member

@canyon289 canyon289 commented Sep 25, 2018

One question I have,
Does it make sense to have all the plot tests take a pymc3.MultiTrace and a StanFit4Anon model as an input, and instead have az.InferenceData as an input?

I ask because these objects get converted to InferenceData right at the top of most plots, and I vaguely feel like we should have (pymc3.MultiTrace, StanFit4Anon) -> Inference Data be its own test and decouple the object conversion from "does it plot" test?

I could make arguments about repeated computation, and more atomic tests, but if someone has strong(er) feelings let me know.

@aloctavodia
Copy link
Contributor

Having plotting and conversion as separated tests is cleaner, but I am afraid this could lead to miss errors. I prefer to be overly-caution and keep the tests as they are right now as plots are intended to interact with PyMC3 and Stan objects and not Inference Data.

@canyon289
Copy link
Member Author

canyon289 commented Sep 25, 2018 via email

@canyon289
Copy link
Member Author

heads up #283 needs to merge before this one

@ColCarroll ColCarroll merged commit fc5108a into arviz-devs:master Sep 26, 2018
@canyon289 canyon289 deleted the autocorrplot_test branch October 4, 2018 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants