openjournals / joss-reviews

Reviews for the Journal of Open Source Software
Creative Commons Zero v1.0 Universal
707 stars 37 forks source link

[REVIEW]: pocoMC: A Python package for accelerated Bayesian inference in astronomy and cosmology #4634

Closed editorialbot closed 1 year ago

editorialbot commented 2 years ago

Submitting author: !--author-handle-->@minaskar<!--end-author-handle-- (Minas Karamanis) Repository: https://github.com/minaskar/pocomc Branch with paper.md (empty if default branch): Version: 0.2.4 Editor: !--editor-->@dfm<!--end-editor-- Reviewers: @kazewong, @marylou-gabrie Archive: 10.5281/zenodo.7308533

Status

status

Status badge code:

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

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) by leaving comments 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

@kazewong & @marylou-gabrie, your review will be checklist based. Each of you will have a separate checklist that you should update when carrying out your review. First of all you need to run this command in a separate comment to create the checklist:

@editorialbot generate my checklist

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @dfm know.

Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest

Checklists

📝 Checklist for @kazewong

📝 Checklist for @marylou-gabrie

editorialbot commented 2 years ago

Hello humans, I'm @editorialbot, a robot that can help you with some common editorial tasks.

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

@editorialbot commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@editorialbot generate pdf
editorialbot commented 2 years ago
Software report:

github.com/AlDanial/cloc v 1.88  T=0.20 s (723.0 files/s, 229491.3 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
JavaScript                      12           2426           2523           9374
SVG                              6              0             13           9319
HTML                            17           1199            251           5692
CSS                             10            398            138           3169
PO File                         45           1087              0           2444
Python                          20            667           1528           2163
reStructuredText                14            286            146            503
Jupyter Notebook                13              0           2499            445
Markdown                         4             95              0            311
YAML                             4             22             17            132
TeX                              1              8              0             66
DOS Batch                        1              8              1             26
make                             1              4              7              9
-------------------------------------------------------------------------------
SUM:                           148           6200           7123          33653
-------------------------------------------------------------------------------

gitinspector failed to run statistical information for the repository
editorialbot commented 2 years ago

Wordcount for paper.md is 1254

editorialbot commented 2 years ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- None

MISSING DOIs

- 10.1214/06-ba127 may be a valid DOI for title: Nested sampling for general Bayesian computation

INVALID DOIs

- None
editorialbot commented 2 years ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

dfm commented 2 years ago

@kazewong, @marylou-gabrie — This is the review thread for the paper. All of our communications will happen here from now on. Thanks again for agreeing to participate!

Please read the "Reviewer instructions & questions" in the first comment above, and generate your checklists by commenting @editorialbot generate my checklist on this issue ASAP. As you go over the submission, please check any items that you feel have been satisfied. There are also links to the JOSS reviewer guidelines.

The JOSS review is different from most other journals. Our goal is to work with the authors to help them meet our criteria instead of merely passing judgment on the submission. As such, the reviewers are encouraged to submit issues and pull requests on the software repository. When doing so, please mention openjournals/joss-reviews#4634 so that a link is created to this thread (and I can keep an eye on what is happening). Please also feel free to comment and ask questions on this thread. In my experience, it is better to post comments/questions/suggestions as you come across them instead of waiting until you've reviewed the entire package.

We aim for the review process to be completed within about 4-6 weeks but please try to make a start ahead of this as JOSS reviews are by their nature iterative and any early feedback you may be able to provide to the author will be very helpful in meeting this schedule.

kazewong commented 2 years ago

Review checklist for @kazewong

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

marylou-gabrie commented 2 years ago

Review checklist for @marylou-gabrie

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

dfm commented 2 years ago

@kazewong, @marylou-gabrie — Just a quick check in here to keep this on your radar. Let us know if you run into any issues!

marylou-gabrie commented 2 years ago

A few questions:

Overall comment:

Overall the documentation is well detailed and the effort to automate the sequential scheme is remarkable. The paper gives a concise overview of the method, directed to a wise audience. I do note that the specifics of the algorithms and many related references are instead in the accompanying paper (submitted to a different venue I imagine).

Minor:

kazewong commented 2 years ago

Questions/comments related to unchecked items

minaskar commented 2 years ago

Thank you both for your comments!

@marylou-gabrie

@kazewong

marylou-gabrie commented 1 year ago

Thanks @minaskar for your helpful answers.

My only remaining question is how do you evaluate the forward KL: using which samples (and potential reweighting) to approximate the expectation over $p$ (where $p$ is the succesively annealed distribution if I am not mistaken)?

Please let us know when the missing references have been added to the paper.

After that, all good for me.

kazewong commented 1 year ago

I have added comments in the discussion thread in the code repo. Once that is addressed, I will be happy with the submission.

dfm commented 1 year ago

@minaskar — I wanted to check in here since I think we're waiting on your responses to @kazewong, @marylou-gabrie's final small comments. Let us know if anything isn't clear or if you've addressed these issues. Thanks!

minaskar commented 1 year ago

@marylou-gabrie We're currently using the samples from the current annealed distribution in order to train the flow that will serve as the preconditioner for the next annealed distribution. Since the beta-spacings are small enough we found no benefit in reweighting the samples.

@dfm Thanks for the reminder and apologies for the delayed response, we will address the remaining comments during the next few days.

minaskar commented 1 year ago

Hi @kazewong and @marylou-gabrie,

I've added the missing references and fixed the minor issues. Let me know if there's anything else missing.

dfm commented 1 year ago

@kazewong, @marylou-gabrie — Can you both take a look at @minaskar's responses to your feedback and let us know if there are any remaining issues? Thanks!!

marylou-gabrie commented 1 year ago

Thanks Minas and Dan, that's all good for me.

dfm commented 1 year ago

@kazewong — Any updates from your end? Let us know if there are any remaining issues!

(Aside: @marylou-gabrie it looks like your authorship checkbox got unchecked - was that on purpose?)

kazewong commented 1 year ago

All green from me

dfm commented 1 year ago

@kazewong — Great! In that case can you update your checklist above? I'm still seeing some boxes unchecked. Thanks!

kazewong commented 1 year ago

@dfm all checked.

dfm commented 1 year ago

@kazewong, @marylou-gabrie — Thanks both for your reviews and all of your suggestions for pocoMC!! I really appreciate the time that you took for this process.

@minaskar — I have a few last checks that I need to do (although I probably can't get to them today), then I'll have some final things that I need from you before acceptance. I'll have an update for you in the next day or two. Thanks for your patience!

dfm commented 1 year ago

@editorialbot check references

dfm commented 1 year ago

@editorialbot generate pdf

editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

editorialbot commented 1 year ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- None

MISSING DOIs

- 10.1093/mnras/stac2272 may be a valid DOI for title: Accelerating astronomical and cosmological inference with Preconditioned Monte Carlo
- 10.1214/06-ba127 may be a valid DOI for title: Nested sampling for general Bayesian computation
- 10.1073/pnas.2109420119 may be a valid DOI for title: Adaptive Monte Carlo augmented with normalizing flows
- 10.1093/mnras/staa1469 may be a valid DOI for title: Accelerated Bayesian inference using deep learning

INVALID DOIs

- None
minaskar commented 1 year ago

@marylou-gabrie @kazewong, thanks a lot for the reviews, and of course, @dfm for taking care of everything.

Regarding the DOIs, I can verify that those four suggestions are correct. Should I add them to the reference list?

dfm commented 1 year ago

@minaskar don't worry about the DOIs: I'll have some larger edits to the bibliography that will include them!

dfm commented 1 year ago

@minaskar — I've opened a PR with some minor edits to the paper. After merging or responding to that, here are the final steps that I'll need from you:

  1. Take one last read through the manuscript to make sure that you're happy with it (it's harder to make changes later!), especially the author names and affiliations. I've taken a pass and it looks good to me!
  2. Increment the version number of the software and report that version number back here.
  3. Create an archived release of that version of the software (using Zenodo or something similar). Please make sure that the metadata (title and author list) exactly match the paper. Then report the DOI of the release back to this thread.
minaskar commented 1 year ago

@dfm I merged the PR (actually made a new PR and merged it to the dev branch first, as the main is protected).

Version number is 0.2.3 and DOI is 10.5281/zenodo.7306240

dfm commented 1 year ago

@minaskar — Great! Can you make an updated archive using a clean checkout or directly from this zip file: https://github.com/minaskar/pocomc/archive/refs/tags/0.2.3.zip ? The version at 10.5281/zenodo.7306240 contains a lot of temporary files and build products. Thanks!

minaskar commented 1 year ago

@dfm Done, the new DOI is 10.5281/zenodo.7308366

minaskar commented 1 year ago

@dfm DOI is 10.5281/zenodo.7308533 and version number is 0.2.4

dfm commented 1 year ago

@editorialbot set 0.2.4 as version

editorialbot commented 1 year ago

Done! version is now 0.2.4

dfm commented 1 year ago

@editorialbot set 10.5281/zenodo.7308533 as archive

editorialbot commented 1 year ago

Done! Archive is now 10.5281/zenodo.7308533

dfm commented 1 year ago

@editorialbot check references

dfm commented 1 year ago

@editorialbot generate pdf

editorialbot commented 1 year ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1093/mnras/stac2272 is OK
- 10.1146/annurev-astro-082214-122339 is OK
- 10.1214/06-ba127 is OK
- 10.1111/j.1467-9868.2006.00553.x is OK
- 10.1073/pnas.2109420119 is OK
- 10.1073/pnas.2109420119 is OK
- 10.1093/mnras/staa1469 is OK

MISSING DOIs

- None

INVALID DOIs

- None
editorialbot commented 1 year ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

dfm commented 1 year ago

@editorialbot recommend-accept

editorialbot commented 1 year ago
Attempting dry run of processing paper acceptance...
editorialbot commented 1 year ago

:wave: @openjournals/aass-eics, this paper is ready to be accepted and published.

Check final proof :point_right::page_facing_up: Download article

If the paper PDF and the deposit XML files look good in https://github.com/openjournals/joss-papers/pull/3702, then you can now move forward with accepting the submission by compiling again with the command @editorialbot accept

editorialbot commented 1 year ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1093/mnras/stac2272 is OK
- 10.1146/annurev-astro-082214-122339 is OK
- 10.1214/06-ba127 is OK
- 10.1111/j.1467-9868.2006.00553.x is OK
- 10.1073/pnas.2109420119 is OK
- 10.1073/pnas.2109420119 is OK
- 10.1093/mnras/staa1469 is OK

MISSING DOIs

- None

INVALID DOIs

- None
dfm commented 1 year ago

@editorialbot accept

editorialbot commented 1 year ago
Doing it live! Attempting automated processing of paper acceptance...
editorialbot commented 1 year ago

🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦