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]: GiNaCDE: the high-performance F-expansion and First Integral Methods with C++ library for solving Nonlinear Differential Equations #3885

Closed
40 tasks done
whedon opened this issue Nov 3, 2021 · 66 comments
Assignees
Labels
accepted C++ CMake published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review TeX

Comments

@whedon
Copy link

whedon commented Nov 3, 2021

Submitting author: @mithun218 (Mithun Bairagi)
Repository: https://github.com/mithun218/GiNaCDE
Branch with paper.md (empty if default branch):
Version: v1.5.0
Editor: @meg-simula
Reviewers: @peanutfun, @carstenbauer
Archive: 10.5281/zenodo.6366056

⚠️ 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/340d71bea413f1f5677108636bf38665"><img src="https://joss.theoj.org/papers/340d71bea413f1f5677108636bf38665/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/340d71bea413f1f5677108636bf38665/status.svg)](https://joss.theoj.org/papers/340d71bea413f1f5677108636bf38665)

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

@peanutfun & @carstenbauer, 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 @meg-simula 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 @peanutfun

✨ Important: Please do not use the Convert to issue functionality when working through this checklist, instead, please open any new issues associated with your review in the software repository associated with the submission. ✨

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 (@mithun218) 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: Does the paper have a section titled 'Statement of Need' that clearly states 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 @carstenbauer

✨ Important: Please do not use the Convert to issue functionality when working through this checklist, instead, please open any new issues associated with your review in the software repository associated with the submission. ✨

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 (@mithun218) 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: Does the paper have a section titled 'Statement of Need' that clearly states 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 3, 2021

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @peanutfun, @carstenbauer 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

@whedon
Copy link
Author

whedon commented Nov 3, 2021

Wordcount for paper.md is 962

@whedon
Copy link
Author

whedon commented Nov 3, 2021

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

OK DOIs

- 10.1016/S0375-9601(02)01775-9 is OK
- 10.1155/2013/104894 is OK
- 10.1016/j.chaos.2005.10.007 is OK
- 10.1016/S0960-0779(03)00102-4 is OK
- 10.1016/S0375-9601(01)00825-8 is OK
- 10.15388/NA.17.4.14052 is OK
- 10.1016/j.amc.2010.04.026 is OK
- 10.1006/jsco.2001.0494 is OK
- 10.1016/j.jmaa.2010.08.050 is OK
- 10.1016/0010-4655(96)00104-X is OK
- 10.1016/S0010-4655(02)00559-3 is OK
- 10.1016/j.jsc.2003.09.004 is OK
- 10.1016/j.cpc.2004.08.007 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Nov 3, 2021

Software report (experimental):

github.com/AlDanial/cloc v 1.88  T=0.19 s (227.5 files/s, 68429.5 lines/s)
-----------------------------------------------------------------------------------
Language                         files          blank        comment           code
-----------------------------------------------------------------------------------
C++                                 23           1943            679           7981
TeX                                  2            144             15            925
C/C++ Header                        11            221            106            643
CMake                                3             54             64            219
Markdown                             3             47              0            167
YAML                                 1              1              4             18
Windows Resource File                1              0              0              1
-----------------------------------------------------------------------------------
SUM:                                44           2410            868           9954
-----------------------------------------------------------------------------------


Statistical information for the repository '5677997e600bb1d677520f81' was
gathered on 2021/11/03.
The following historical commit information, by author, was found:

Author                     Commits    Insertions      Deletions    % of changes
mithun218                        3         12874           1301          100.00

Below are the number of rows from each author that have survived and are still
intact in the current revision:

Author                     Rows      Stability          Age       % in comments
mithun218                 11573           89.9          0.0                6.81

@whedon
Copy link
Author

whedon commented Nov 3, 2021

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

@meg-simula
Copy link

meg-simula commented Nov 3, 2021

👋🏼 @mithun218 @peanutfun @carstenbauer this is the review thread for the paper. All of our communications will happen here from now on.

Both reviewers have checklists at the top of this thread with the JOSS requirements. 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#3885 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 reviews to be completed within about 2-4 weeks. Please let me know if any of you require some more time.

Please feel free to ping me (@meg-simula ) if you have any questions/concerns.

@peanutfun
Copy link

Hi @mithun218 👋 I'll review your software in the next couple of days, and open up issues in the repository as I go along. Some of them might only be suggestions and you won't have to resolve all of them to get your submission accepted (from my side). Once I'm finished, I'll hence report back here and summarize the issues with respect to the review criteria and the checklist above.

Happy coding!

@peanutfun
Copy link

@mithun218 Before I can summarize I need a bit of clarification on how to use and interpret the output of GiNaCDE. I very much like the extensive documentation you provide, with an in-depth look at the mathematical methods and clear instructions on how to use GiNaCDE. However, it does not explain how to use the resulting output (files). That's why I have some trouble verifying if the software computes the correct solutions.

Admittedly, I am not too familiar with the methods you use and the problems you try to solve, so I might have a wrong impression or perspective. Considering the example usage you propose in the README.md, how would a typical workflow look like after calculating a solution? In particular: What to do with the resulting output .txt file? Its contents do not seem self-explanatory to me.

GiNaCDE provides the option to output either in the Maple or the Mathematica format. However, the output files also contain plain text and cannot simply be "imported" into either of the programs (Please, correct me if I'm wrong!). How could I use the output of GiNaCDE in them? Would I need to copy-paste the expressions, leaving out the text? How do I get a "computational" representation of the results to continue on with?

I myself own neither of the programs. How can I make use of the results in my case?

@mithun218
Copy link

@peanutfun thanks so much for your review and comments.
I am happy to edit the paper to incorporate your comments.

The GiNaCDE software determines exact solutions with calculating steps, and the results are saved in an output .txt file in the Maple or the Mathematica format. In order to use the output exact solutions in Maple or Mathematica software, we have to copy the exact solutions with the conditions of solutions (which are also provided in the output .txt file) from the output .txt file. Then, we can verify the exact solutions using Maple or Mathematica software. To verify the exact solutions at first, we have to substitute the exact solutions with the corresponding conditions of the solutions into the input NLPDE and then simplify it. After simplification, if it is equal to zero, then the solution is correct. Otherwise, the solution is not valid.

Besides the output .txt file, the solutions of the NLPDE and the corresponding conditions are also collected by the variables solutionClt and constraints. We have explained about these variables in the section 11. INPUT AND OUTPUT OF LIBRARY of the documentation file. Using these variables, one can easily locate and copy the solutions with the conditions of the solutions in the Maple or the Mathematica software.

Unfortunately, currently, GiNaCDE is unable to verify the solutions without Maple or the Mathematica software. But this will be a very interesting feature of the GiNaCDE if the GiNaCDE itself is able to verify the solutions. Now I am planning that I shall add this feature in the next release of GiNaCDE but this will take some time.

I will try to resolve all the above issues (mentioned by you) in the next few days.

@peanutfun
Copy link

peanutfun commented Nov 10, 2021

@mithun218 thank you for your quick reply. Indeed, I missed the part on solutionClt and constraints. Let me summarize my review and get back to my question:

You obviously put a lot of effort into implementing the F-expansion and first integral methods in an open-source framework. Your documentation focuses strongly on the intricate mathematics involved in these methods, and admittedly, they are a bit out of my reach (I'm a physicist 🙈 ). Your paper makes a good point why GiNaCDE is needed, especially in the open-source context. And I really like the GUI, it works intuitively and is a great option for users that are less familiar with the command line and C++ programming.

While GiNaCDE probably serves you well in your own workflow, the focus shifts from functionality to usability when it comes to a software publication. The goal is to address a wider audience for the software, and even people who are unfamiliar with the methods (like me) need to quickly understand how the software is installed, how they interact with it, how they use its results in their own workflow, and that everything works as intended. I find that GiNaCDE as a software package lacks this wider perspective to some degree.

Most importantly, it is very difficult for me (as somebody unfamiliar with the mathematics) to verify the results of GiNaCDE. This verification is best done automatically in tests, but as I pointed out in mithun218/GiNaCDE#3, the currently implemented tests do not verify the results. In your reply you point out that Maple or Mathematica are required for this. But you also state that

To verify the exact solutions at first, we have to substitute the exact solutions with the corresponding conditions of the solutions into the input NLPDE and then simplify it. After simplification, if it is equal to zero, then the solution is correct. Otherwise, the solution is not valid.

Isn't this procedure also possible within GiNaCDE? Could this be used to test your results in a general way? If not, you could have the tests compute solutions for relatively simple ODEs or PDEs, and then evaluate the resulting expressions for some known function values like roots, maxima, etc. I focus on this because (automated) tests for verifying the software are part of the JOSS review criteria, and I cannot check this off until there is at least a manual procedure documented on how to verify the results of the library.

Also with regard to usability, I think the installation instructions need to be improved to account for different operating systems, and the usage instructions should show how other CMake projects can incorporate GiNaCDE. This leads me to the following list of issues we need to resolve to match the JOSS review criteria from my perspective:

Issues for meeting review criteria

Personally, I consider all other issues I opened in the GiNaCDE repository non-crucial for accepting your submission.

@mithun218
Copy link

@meg-simula Please check the following information:

  1. The version tag of the archived version is v1.5.0
  2. The DOI of the Zenodo archived version is 10.5281/zenodo.6366056

Please let me know if I have missed something.

@mithun218
Copy link

@meg-simula I have addressed all the points you mentioned here. Please review and if I have missed anything please let me know.

@meg-simula
Copy link

@editorialbot set 10.5281/zenodo.6366056 as archive

@editorialbot
Copy link
Collaborator

Done! Archive is now 10.5281/zenodo.6366056

@meg-simula
Copy link

@editorialbot recommend-accept

@editorialbot
Copy link
Collaborator

Attempting dry run of processing paper acceptance...

@editorialbot
Copy link
Collaborator

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

OK DOIs

- 10.1016/S0375-9601(02)01775-9 is OK
- 10.1155/2013/104894 is OK
- 10.1016/j.chaos.2005.10.007 is OK
- 10.1016/S0960-0779(03)00102-4 is OK
- 10.1016/S0375-9601(01)00825-8 is OK
- 10.15388/NA.17.4.14052 is OK
- 10.1016/j.amc.2010.04.026 is OK
- 10.1006/jsco.2001.0494 is OK
- 10.1016/j.jmaa.2010.08.050 is OK
- 10.1016/0010-4655(96)00104-X is OK
- 10.1016/S0010-4655(02)00559-3 is OK
- 10.1016/j.jsc.2003.09.004 is OK
- 10.1016/j.cpc.2004.08.007 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@editorialbot
Copy link
Collaborator

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

Check final proof 👉 openjournals/joss-papers#3145

If the paper PDF and the deposit XML files look good in openjournals/joss-papers#3145, then you can now move forward with accepting the submission by compiling again with the command @editorialbot accept

@editorialbot editorialbot added the recommend-accept Papers recommended for acceptance in JOSS. label Apr 19, 2022
@arfon
Copy link
Member

arfon commented Apr 20, 2022

@mithun218 – I've made some fixes to the citation formatting in the PR: mithun218/GiNaCDE#40

@mithun218
Copy link

@mithun218 – I've made some fixes to the citation formatting in the PR: mithun218/GiNaCDE#40

Thanks @arfon, the pull request has been merged.

@mithun218
Copy link

@arfon We have made a tagged release of the software, and the version tag of the archived version is v1.5.0. But I have seen a problem that here the version is still showing v1.0.0.

@arfon
Copy link
Member

arfon commented Apr 21, 2022

@editorialbot set v1.5.0 as version

@editorialbot
Copy link
Collaborator

Done! version is now v1.5.0

@arfon
Copy link
Member

arfon commented Apr 21, 2022

@editorialbot recommend-accept

@editorialbot
Copy link
Collaborator

Attempting dry run of processing paper acceptance...

@editorialbot
Copy link
Collaborator

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

OK DOIs

- 10.1016/S0375-9601(02)01775-9 is OK
- 10.1155/2013/104894 is OK
- 10.1016/j.chaos.2005.10.007 is OK
- 10.1016/S0960-0779(03)00102-4 is OK
- 10.1016/S0375-9601(01)00825-8 is OK
- 10.15388/NA.17.4.14052 is OK
- 10.1016/j.amc.2010.04.026 is OK
- 10.1006/jsco.2001.0494 is OK
- 10.1016/j.jmaa.2010.08.050 is OK
- 10.1016/0010-4655(96)00104-X is OK
- 10.1016/S0010-4655(02)00559-3 is OK
- 10.1016/j.jsc.2003.09.004 is OK
- 10.1016/j.cpc.2004.08.007 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@editorialbot
Copy link
Collaborator

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

Check final proof 👉 openjournals/joss-papers#3159

If the paper PDF and the deposit XML files look good in openjournals/joss-papers#3159, then you can now move forward with accepting the submission by compiling again with the command @editorialbot accept

@arfon
Copy link
Member

arfon commented Apr 21, 2022

@editorialbot accept

@editorialbot
Copy link
Collaborator

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

@editorialbot
Copy link
Collaborator

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

@editorialbot
Copy link
Collaborator

🚨🚨🚨 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.03885 joss-papers#3160
  2. Wait a couple of minutes, then verify that the paper DOI resolves https://doi.org/10.21105/joss.03885
  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...

@editorialbot editorialbot added accepted published Papers published in JOSS labels Apr 21, 2022
@arfon
Copy link
Member

arfon commented Apr 21, 2022

@peanutfun, @carstenbauer – many thanks for your reviews here and to @meg-simula for editing this submission! JOSS relies upon the volunteer effort of people like you and we simply wouldn't be able to do this without you ✨

@mithun218 – your paper is now accepted and published in JOSS ⚡🚀💥

@arfon arfon closed this as completed Apr 21, 2022
@editorialbot
Copy link
Collaborator

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

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

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

This is how it will look in your documentation:

DOI

We need your help!

The 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:

@peanutfun
Copy link

@mithun218 congratulations! 🎉

@mithun218
Copy link

Huge thank you to @peanutfun and @carstenbauer  for your reviews, and @meg-simula  and @arfon for your editorial work. Much appreciated! 🎉

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

No branches or pull requests

7 participants