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]: CoPro: a data-driven model for conflict risk projections #2855

Closed
40 tasks done
whedon opened this issue Nov 21, 2020 · 102 comments
Closed
40 tasks done

[REVIEW]: CoPro: a data-driven model for conflict risk projections #2855

whedon opened this issue Nov 21, 2020 · 102 comments
Assignees
Labels
accepted Jupyter Notebook published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review Shell

Comments

@whedon
Copy link

whedon commented Nov 21, 2020

Submitting author: @JannisHoch (Jannis Hoch)
Repository: https://github.com/JannisHoch/copro
Version: v0.0.5
Editor: @sbenthall
Reviewer: @soodoku, @sbenthall
Archive: 10.5281/zenodo.4548904

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

Status

status

Status badge code:

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

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

@soodoku & @sbenthall, 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.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @sbenthall 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

Review checklist for @soodoku

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

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?
  • Contribution and authorship: Has the submitting author (@JannisHoch) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

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 functionality 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

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?

Review checklist for @sbenthall

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

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?
  • Contribution and authorship: Has the submitting author (@JannisHoch) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

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 functionality 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

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?
@whedon
Copy link
Author

whedon commented Nov 21, 2020

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @soodoku, @sbenthall it looks like you're currently assigned to review this paper 🎉.

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

⭐ 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

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

@whedon generate pdf

@sbenthall
Copy link

@soodoku Sorry for the delay on starting the review. Now the review has started, and you can see the checklist on this issue.

@whedon
Copy link
Author

whedon commented Nov 21, 2020

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1177/0022343317691330 is OK
- 10.1177/0022343316682065 is OK
- 10.1177/0022343316682064 is OK

MISSING DOIs

- 10.1126/science.aal4483 may be a valid DOI for title: Predicting armed conflict: Time to adjust our expectations?
- 10.1088/1748-9326/11/5/054002 may be a valid DOI for title: Forecasting civil conflict along the shared socioeconomic pathways

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Nov 21, 2020

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@whedon
Copy link
Author

whedon commented Nov 28, 2020

👋 @soodoku, please update us on how your review is going.

@whedon
Copy link
Author

whedon commented Nov 28, 2020

👋 @sbenthall, please update us on how your review is going.

@JannisHoch
Copy link

HI @soodoku and @sbenthall, in the meantime, the model evolved to version 0.0.6 (https://github.com/JannisHoch/copro/releases/tag/v0.0.6). All changes made in the process of this review will be committed to the branch 'joss-review' (https://github.com/JannisHoch/copro/tree/joss_review).

@soodoku
Copy link

soodoku commented Dec 4, 2020

i am done w/ my review.

@sbenthall
Copy link

I apologize for the delay in my review.
There have been some personal issues on my end that have needed extra attention.
I'm proceeding with my review now.

@sbenthall
Copy link

I think this is terribly exciting and I am eager to see it published in the best form possible. To that end:

  • Please document the requirement that Conda needs to be installed to run the installation instructions.
  • Is there any other comparable software that should be considered as the 'state of the field' in this line of research?
  • I understand that the library has been designed for flexibility. However, I am having trouble determining from the paper and indeed from the documentation what the core functionality of the library is. I wonder if it would be possible to foreground a bit more technical detail about what scaffolding the library is doing for modeling work, and what kinds of models are included out-of-the-box.

I have not yet completed reviewing the code--these are first impressions of the document and paper only. But I think these improvements to the writeup and documentation are important for the publication.

@sbenthall
Copy link

When I get to the sh run.sh part of the instructions in the README, I get the following error:

https://gist.github.com/sbenthall/83de0ce8675283c01d3f3fa973dc6f38

@JannisHoch
Copy link

Hi @sbenthall,
Absolutely no problem!

From your comments I assume you were not looking at the most recent version of the model.
For instance, in the joss-review branch (https://github.com/JannisHoch/copro/tree/joss_review), there is no file run.sh anymore. It is renamed to 'run_notebooks.sh' for running the jupyter notebooks, and 'run_script_*.sh' for executing the command line scripts.

If your problems still occur after installing the latest copro version, please let me know. thanks :)

@JannisHoch
Copy link

in f9326d36bcbf20e93a54e6ea5733f1ae515f4477 I have added notes that the model was developed and tested with anaconda/miniconda.

@JannisHoch
Copy link

regarding your question of other state-of-the-art software: to my knowledge, there is no freely available software model with such an extensive documentation out there. of course there is model code as supplement to a publication, and publications covering similar approaches (see the references in the joss manuscript), but not in a 'structured' way like done for CoPro.

@JannisHoch
Copy link

I also have added a bit more technical detail to the JOSS manuscript. based on the review of @soodoku, the model goal and purpose were made clearer in the README and in the documentation.

@sbenthall
Copy link

Hello. Apologies for the further delay. I've had to take some family leave but am now back to work. I'll look at the branch you've referenced; sorry to miss it the first time.

@sbenthall
Copy link

I am being held up by some local Python environment issues. (The rasterio dependency is not installing properly.) I'm pretty sure this is just a problem on my end! I'll try to repair my environment setup and get back to you.

@JannisHoch
Copy link

@sbenthall, first of all, good to hear you're back!

Could you maybe attach a screenshot or so for me to look into it?

And I assume you were using the yml file to create the environment?

@sbenthall
Copy link

This is the stack trace. https://gist.github.com/sbenthall/5edad4e128fea79a99c2486ab6333bfe
Googling for it makes it look like a local python issue. I'll keep kicking at it.

@sbenthall
Copy link

Hmm.
So what's strange here is that conda install rasterio==1.1.0 works fine, but then I get an error when it installs again via pip install -e ..

I wonder if the conda version is conflicting with the pip version somehow (the pip version is invoked in the setup.py file.)

@sbenthall
Copy link

Commenting out the rasterio dependency in setup.py and rerunning the pip installation gets me this error:

https://gist.github.com/sbenthall/6a7f135970232dad08eb65ecebfd97cf

@sbenthall
Copy link

I do notice that rasterio installation instructions look like they require a number of other GDAL related packages, which in the rasterio installation instructions are listed as separate steps.

https://rasterio.readthedocs.io/en/latest/

I wonder if you could confirm that your instructions for CoPro, as written, work on a fresh system that does not have these GDAL packages installed. It is quite likely that these are being handled correctly by Anaconda and there's some issue going on locally, but if you could test on another machine that would be additional confirmation that it's a local issue and not a problem with the installation instructions.

@JannisHoch
Copy link

Hmmm, this all sounds pretty odd to me.

I have never seen any of the error messages before when installing copro - neither the one when running pip install -e . (as it seems that rasterio is correctly installed from cache and the error occurs bit later somehow), nor the one with altered setup.py file (which is a permission error after all if I get it right?).

Also, I was able to install copro (branch joss_review) on a pretty 'fresh' Linux environment.

So yes, it may be that it's a local issue. I have two ideas:

  • use a different linux/windows enviroment?
  • in the environment.yml file, put the rasterio dependency in the pip section instead the conda-forge section and see if this solves the suspected conflict between conda/pip?

@arfon
Copy link
Member

arfon commented Feb 19, 2021

@sbenthall @JannisHoch - I've updated the submission with the Zenodo archive. Next steps here are:

  • Run @whedon accept from branch joss_review

Or, have @JannisHoch merge their changes into the default branch on their repository which means you then would need to run:

  • @whedon accept

In both cases, the @whedon accept command will produce the final PDF proofs and notify the EiC on rotation that this submission is ready to accepted and published.

@JannisHoch
Copy link

@arfon
many thanks for fixing this.

@arfon @sbenthall
I have merged branch joss_review into default (which is dev, or does whedon choosing master as default by default?).

@arfon
Copy link
Member

arfon commented Feb 19, 2021

@JannisHoch - Whedon will use whatever the default is which sounds like it's dev so I think we should be good to go here.

@JannisHoch
Copy link

indeed, then we are good to go!

@sbenthall
Copy link

Thanks for your help @arfon I didn't know that about whedon and branches

@sbenthall
Copy link

@whedon accept from branch joss_review

@whedon whedon added the recommend-accept Papers recommended for acceptance in JOSS. label Feb 19, 2021
@whedon
Copy link
Author

whedon commented Feb 19, 2021

Attempting dry run of processing paper acceptance...

@whedon
Copy link
Author

whedon commented Feb 19, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1146/annurev-polisci-050317-070830 is OK
- 10.1038/s41586-019-1300-6 is OK
- 10.1126/science.aal4483 is OK
- 10.1088/1748-9326/11/5/054002 is OK
- 10.1177/0022343317691330 is OK
- 10.1177/0022343316682065 is OK
- 10.1177/0022343316682064 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Feb 19, 2021

👋 @openjournals/joss-eics, this paper is ready to be accepted and published.

Check final proof 👉 openjournals/joss-papers#2091

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

@whedon accept deposit=true from branch joss_review 

@sbenthall
Copy link

@whedon accept deposit=true from branch joss_review

@whedon
Copy link
Author

whedon commented Feb 19, 2021

I'm sorry @sbenthall, I'm afraid I can't do that. That's something only editor-in-chiefs are allowed to do.

@sbenthall
Copy link

@JannisHoch Congratulations on your acceptance. Thanks for your patience with the (long!) reviewing process.

@sbenthall
Copy link

Oh, whoops. Overstepped my authority there! I guess we have to wait for an editor-in-chief...

@JannisHoch
Copy link

@sbenthall just to inform you, I have by now merged everything into dev and removed the joss_review branch no long3r exists... But if that's leading to no issues fine by me!

@arfon
Copy link
Member

arfon commented Feb 20, 2021

@whedon accept

@whedon
Copy link
Author

whedon commented Feb 20, 2021

Attempting dry run of processing paper acceptance...

@whedon
Copy link
Author

whedon commented Feb 20, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1146/annurev-polisci-050317-070830 is OK
- 10.1038/s41586-019-1300-6 is OK
- 10.1126/science.aal4483 is OK
- 10.1088/1748-9326/11/5/054002 is OK
- 10.1177/0022343317691330 is OK
- 10.1177/0022343316682065 is OK
- 10.1177/0022343316682064 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Feb 20, 2021

👋 @openjournals/joss-eics, this paper is ready to be accepted and published.

Check final proof 👉 openjournals/joss-papers#2092

If the paper PDF and Crossref deposit XML look good in openjournals/joss-papers#2092, 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 Feb 21, 2021

@whedon accept deposit=true

@whedon whedon added accepted published Papers published in JOSS labels Feb 21, 2021
@whedon
Copy link
Author

whedon commented Feb 21, 2021

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

@whedon
Copy link
Author

whedon commented Feb 21, 2021

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

@whedon
Copy link
Author

whedon commented Feb 21, 2021

🚨🚨🚨 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.02855 joss-papers#2099
  2. Wait a couple of minutes to verify that the paper DOI resolves https://doi.org/10.21105/joss.02855
  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 Feb 21, 2021

@soodoku, @sbenthall - many thanks for your reviews here and to @sbenthall for editing too! JOSS relies upon the volunteer efforts of people like you and we simply wouldn't be able to do this without you ✨

@JannisHoch - your paper is now accepted and published in JOSS ⚡🚀💥

@arfon arfon closed this as completed Feb 21, 2021
@whedon
Copy link
Author

whedon commented Feb 21, 2021

🎉🎉🎉 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](https://joss.theoj.org/papers/10.21105/joss.02855/status.svg)](https://doi.org/10.21105/joss.02855)

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

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

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 Jupyter Notebook published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review Shell
Projects
None yet
Development

No branches or pull requests

5 participants