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

[REVIEW]: ArviZ a unified library for exploratory analysis of Bayesian models in Python #1143

Closed
36 tasks done
whedon opened this issue Dec 27, 2018 · 52 comments
Closed
36 tasks done
Assignees
Labels
accepted published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review

Comments

@whedon
Copy link

whedon commented Dec 27, 2018

Submitting author: @canyon289 (Ravin Kumar)
Repository: https://github.com/arviz-devs/arviz
Version: v.31
Editor: @arfon
Reviewer: @malmaud , @mattpitkin
Archive: 10.5281/zenodo.2540945

Status

status

Status badge code:

HTML: <a href="http://joss.theoj.org/papers/83e0e4048aa30a256a89f3b35b90f065"><img src="http://joss.theoj.org/papers/83e0e4048aa30a256a89f3b35b90f065/status.svg"></a>
Markdown: [![status](http://joss.theoj.org/papers/83e0e4048aa30a256a89f3b35b90f065/status.svg)](http://joss.theoj.org/papers/83e0e4048aa30a256a89f3b35b90f065)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@malmaud & @mattpitkin, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @arfon know.

Please try and complete your review in the next two weeks

Review checklist for @malmaud

Conflict of interest

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Version: Does the release version given match the GitHub release (v.31)?
  • Authorship: Has the submitting author (@canyon289) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Authors: Does the paper.md file include a list of authors with their affiliations?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?

Review checklist for @mattpitkin

Conflict of interest

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Version: Does the release version given match the GitHub release (v.31)?
  • Authorship: Has the submitting author (@canyon289) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Authors: Does the paper.md file include a list of authors with their affiliations?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?
@whedon
Copy link
Author

whedon commented Dec 27, 2018

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @canyon289, it looks like you're currently assigned as the reviewer for this paper 🎉.

⭐ Important ⭐

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands

@whedon
Copy link
Author

whedon commented Dec 27, 2018

Attempting PDF compilation. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented Dec 27, 2018

@arfon
Copy link
Member

arfon commented Dec 27, 2018

@malmaud , @mattpitkin - please carry out your review in this issue by updating the checklist above and giving feedback in this issue. The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html

Any questions/concerns please let me know.

@malmaud
Copy link

malmaud commented Dec 31, 2018

OK, I've played with all the functionality of the software on my own device - everything works well, the utility is clear, and the documentation is comprehensive (albeit with a few minor typos). I think this is an easy accept after just a few tiny fixes:

  • Fix README doesn't mention non-master installation instructions. arviz-devs/arviz#481
  • In the paper, Rabin's affiliation is listed as 'None'. Is that really true, or is there a workplace you could list?
  • Period missing after '...analyzes"', and I think you want 'analyses' there.
  • A figure showing a gallery of plot types would be a useful addition to the paper.
  • Figure 1 isn't referenced in the text of the paper and its caption isn't particularly informative. The paragraph that talks about soring datasets on disks should reference that figure and its caption should be made informative.

@canyon289
Copy link

@malmaud

Thanks for the feedback. A PR is open, just waiting for feedback internally before we submit it again for review to you.

arviz-devs/arviz#483

@canyon289
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Jan 2, 2019

Attempting PDF compilation. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented Jan 2, 2019

@canyon289
Copy link

canyon289 commented Jan 2, 2019

@malmaud The content is ready to review but the example plots seems to have rendered oddly. Is there a way I can see what command whedon is running to compile the pdf so I can test locally?

Also do you have a suggestion on where to place the example gallery, relative to the other headings?

@mattpitkin
Copy link

@canyon289 you can see a Makefile with an example of how you can locally generate a LaTeX file and pdf from the markdown doc here.

@canyon289
Copy link

Tried getting the PDF to render correctly I think we might have figured it out

PR for reference
arviz-devs/arviz#484

Here it goes

@whedon generate pdf

@canyon289
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Jan 2, 2019

Attempting PDF compilation. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented Jan 2, 2019

@canyon289
Copy link

Well this failed. Will try something else. Sorry for all the spam guys

@canyon289
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Jan 2, 2019

Attempting PDF compilation. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented Jan 2, 2019

@canyon289
Copy link

Still not correct. I will revisit the way I'm rendering these to see if I can test more effectively in my local environment.

@canyon289
Copy link

@malmaud and @mattpitkin

All feedback has been addressed, except example gallery which I'm struggling with tremendously.

I'm having issues generating a PDF with the make file, my tex output displays errors.

I can get a PDF to render with the command

pandoc --filter pandoc-citeproc --bibliography=paper.bib  --variable papersize=a4paper -s paper.md -o paper.pdf

But while the output of this command may look good, the whedon generated pdf does not.

Lastly I tried looking for other JOSS papers with two or more figures but my random search was fruitless.

Here are two versions of the paper with Example gallery. Any suggestions on how to get them to render nicely? I realize this may be outside of the normal review role, I apologize for the trouble.

Multiple Figures
arviz-devs/arviz@4d5d631

Two Figures
arviz-devs/arviz@714bc2d

@arfon
Copy link
Member

arfon commented Jan 3, 2019

@canyon289 - could you share the PDF you've compiled locally here? I'd like to bette understand what you're trying to accomplish.

@canyon289
Copy link

canyon289 commented Jan 3, 2019

We're trying to add a local gallery per the review feedback In other words we'd like to meet the intent of the review, but struggling to get nice formatting while doing so.

Here's the two approaches we tried.

2+ Figures
Here's a local render with multiple figures. Unfortunately this render required a "hack" to get it to work locally, so not a great solution
https://github.com/arviz-devs/arviz/files/2722319/paper.pdf

Header hack
https://github.com/arviz-devs/arviz/pull/484/files#diff-e2778e7674f45b806282a9611faa7220R100

Two Figures
We also tried a version with just two figures. In the local render it seems to work, but not in JOSS.
https://github.com/arviz-devs/arviz/files/2722350/paper.pdf
https://github.com/arviz-devs/arviz/pull/485/files

Let me know if I explained this poorly and I can clarify any details

@arfon
Copy link
Member

arfon commented Jan 3, 2019

Ah OK. The problem here is that Pandoc + Markdown offers very little in terms of document flow/layout control.

Based on version arviz-devs/arviz@4d5d631, I've generated the PDF locally by moving the # Example plots section below the # Acknowledgments section and slightly tweaking the width of the figures i.e.:

# Example plots  

A portion of ArviZ's functionality is shown in Figure 2 through Figure 5.  
ArviZ supports more plotting and inference diagnostics, in addition to the ones shown here. Additional examples can be found ArviZ documentation gallery

![Bivariate hexbin plot with marginal distributions](plot_joint.png){width=80%}

![2D Kernel Density estimation](plot_kde_2d.png){width=80%}

![Markov Chain Monte Carlo Trace Plot](plot_trace.png){width=80%}  

![John Kruschke styled posterior distribution plots](plot_posterior.png){width=80%}  

This gives the resulting output: 10.21105.joss.01143.pdf

What do you think?

@canyon289
Copy link

Looks good. We made the changes in our paper. Hopefully this works

@canyon289
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Jan 4, 2019

Attempting PDF compilation. Reticulating splines etc...

@canyon289
Copy link

@mattpitkin Thank you for the feedback. We made some changes based on your suggestions. Let me know if there's anything else you notice

@mattpitkin
Copy link

@canyon289 thanks for the changes. Would it be possible to include the InferenceData class in the API documentation, or is there a specific reason for not doing this? I think it would be good to have it included even if the docstring mainly just adds a link to the page https://arviz-devs.github.io/arviz/notebooks/XarrayforArviZ.html. Also, could that notebook also contain the plot from Figure 1 of the paper?

@canyon289
Copy link

canyon289 commented Jan 7, 2019

@mattpitkin
My (subjective) reasoning for not including az.InferenceData in the api docs was because all the methods in the api docs are intended to be callable by the user. For InferenceData the users don't directly instantiate an az.InferenceData. This is why I after some debate I opted not to include it in api docs, however this reasoning is largely subjective but would love to get your thoughts.

In terms of notebook, here is an updated version in a PR arviz-devs/arviz#510. If you like it I'll merge so we can close that particular item!

https://github.com/arviz-devs/arviz/blob/8b9528ac046843ffd84f2429caff6fe0ce1c76da/doc/notebooks/XarrayforArviZ.ipynb

@canyon289
Copy link

Please let me know if there's any remaining actions that I should take. I don't mean to rush this, just want to be sure I'm not holding anyone up

@mattpitkin
Copy link

Hi @canyon289, @arfon, sorry for the delay. I'm happy to sign-off on the review and have completed all the tick boxes.

@canyon289
Copy link

@mattpitkin No problem, I didn't feel delayed! What are next steps?

@arfon
Copy link
Member

arfon commented Jan 14, 2019

Thanks @mattpitkin.

@canyon289 - At this point could you make an archive of the reviewed software in Zenodo/figshare/other service and update this thread with the DOI of the archive? I can then move forward with accepting the submission.

@canyon289
Copy link

Thank you. We're prepping a release this week which will generate a DOI

@canyon289
Copy link

@arfon

Please see the DOI archive here
https://zenodo.org/record/2540945#.XD4csN-YXmE

@arfon
Copy link
Member

arfon commented Jan 15, 2019

@whedon set 10.5281/zenodo.2540945 as archive

@whedon
Copy link
Author

whedon commented Jan 15, 2019

OK. 10.5281/zenodo.2540945 is the archive.

@arfon
Copy link
Member

arfon commented Jan 15, 2019

@whedon accept

@whedon
Copy link
Author

whedon commented Jan 15, 2019

Attempting dry run of processing paper acceptance...

@whedon
Copy link
Author

whedon commented Jan 15, 2019

Check final proof 👉 openjournals/joss-papers#433

If the paper PDF and Crossref deposit XML look good in openjournals/joss-papers#433, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.

@whedon accept deposit=true

@arfon
Copy link
Member

arfon commented Jan 15, 2019

@whedon accept deposit=true

@whedon
Copy link
Author

whedon commented Jan 15, 2019

Doing it live! Attempting automated processing of paper acceptance...

@whedon
Copy link
Author

whedon commented Jan 15, 2019

🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨

Here's what you must now do:

  1. Check final PDF and Crossref metadata that was deposited 👉 Creating pull request for 10.21105.joss.01143 joss-papers#434
  2. Wait a couple of minutes to verify that the paper DOI resolves https://doi.org/10.21105/joss.01143
  3. If everything looks good, then close this review issue.
  4. Party like you just published a paper! 🎉🌈🦄💃👻🤘

Any issues? notify your editorial technical team...

@arfon
Copy link
Member

arfon commented Jan 15, 2019

@malmaud , @mattpitkin - many thanks for your reviews here ✨

@canyon289 - your paper is now accepted into JOSS ⚡🚀💥

@arfon arfon closed this as completed Jan 15, 2019
@whedon
Copy link
Author

whedon commented Jan 15, 2019

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](http://joss.theoj.org/papers/10.21105/joss.01143/status.svg)](https://doi.org/10.21105/joss.01143)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.01143">
  <img src="http://joss.theoj.org/papers/10.21105/joss.01143/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: http://joss.theoj.org/papers/10.21105/joss.01143/status.svg
   :target: https://doi.org/10.21105/joss.01143

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review
Projects
None yet
Development

No branches or pull requests

5 participants