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]: Heta compiler: a software tool for the development of large-scale QSP models and compilation into simulation formats #3708

Closed
40 tasks done
whedon opened this issue Sep 9, 2021 · 70 comments
Assignees
Labels
accepted JavaScript M published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review

Comments

@whedon
Copy link

whedon commented Sep 9, 2021

Submitting author: @metelkin (Evgeny Metelkin)
Repository: https://github.com/hetalang/heta-compiler
Version: v0.6.7
Editor: @fboehm
Reviewer: @martinmodrak, @elimillera
Archive: 10.5281/zenodo.5666487

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

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

@martinmodrak & @elimillera, 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 @fboehm 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 @martinmodrak

✨ 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 (@metelkin) 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 @elimillera

✨ 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 (@metelkin) 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 Sep 9, 2021

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

PDF failed to compile for issue #3708 with the following error:

 Can't find any papers to compile :-(

@whedon
Copy link
Author

whedon commented Sep 9, 2021

Software report (experimental):

github.com/AlDanial/cloc v 1.88  T=0.29 s (753.3 files/s, 85066.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
JavaScript                     133           1304           1708          11146
JSON                            54             73              0           7004
XML                             10            147             10           1871
Markdown                         8            307              0            892
YAML                            10             12              6            316
Julia                            2             30             26             83
R                                3             14             12             52
C++                              1             10              7             31
MATLAB                           1              0              0              7
-------------------------------------------------------------------------------
SUM:                           222           1897           1769          21402
-------------------------------------------------------------------------------


Statistical information for the repository 'c1caa7b1fcd3173aa381a9c4' was
gathered on 2021/09/09.
The following historical commit information, by author, was found:

Author                     Commits    Insertions      Deletions    % of changes
Evgeny Metelkin                705         35097          21395           98.34
metelkin                         5           897             54            1.66

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
Evgeny Metelkin           14206           40.5         13.8               13.24

@fboehm
Copy link

fboehm commented Sep 9, 2021

@whedon generate pdf from branch paper

@whedon
Copy link
Author

whedon commented Sep 9, 2021

Attempting PDF compilation from custom branch paper. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented Sep 9, 2021

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

@fboehm
Copy link

fboehm commented Sep 10, 2021

@elimillera - Thanks again for agreeing to review! It looks like you might not have accepted the invitation from whedon, the JOSS bot. If this is the case, please feel free to accept the invitation so that you can check items in the above checklist. I think that the invitation expires in a few days. Thanks again!

@whedon
Copy link
Author

whedon commented Sep 23, 2021

👋 @elimillera, please update us on how your review is going (this is an automated reminder).

@whedon
Copy link
Author

whedon commented Sep 23, 2021

👋 @martinmodrak, please update us on how your review is going (this is an automated reminder).

@elimillera
Copy link

Review is going well. I've reviewed the easy things to check and so far so good. Its been a couple years from when I was last working with models like these so I'm taking some time and checking some other sources as I go through it. I expect to be close to finished in the next 2-3 weeks.

@fboehm
Copy link

fboehm commented Sep 25, 2021

Thanks, @elimillera ! I appreciate your thoroughness. As you work through the review, please let me know if I can assist with anything. Thanks again!

@fboehm
Copy link

fboehm commented Oct 6, 2021

@martinmodrak - How is the review going? Do you have any questions about completing the checklist of items?

@fboehm
Copy link

fboehm commented Oct 6, 2021

@elimillera - how is the review going? Can I assist you with anything?

@elimillera
Copy link

@fboehm I've played around with it. I'm hoping to be finished by this Sunday.

@fboehm
Copy link

fboehm commented Oct 27, 2021

Thanks, @elimillera! Did you have a chance to continue with your review?

@elimillera
Copy link

Hello @fboehm I am finished with my review. I have a PR open hetalang/heta-compiler#9 with some word changes but otherwise everything looked good.

@metelkin
Copy link

metelkin commented Oct 29, 2021

@elimillera, thank you for your efforts. I've accepted all your remarks. I guess it improves the quality of the paper.
@fboehm I have committed an update to the "paper" branch according to @elimillera's revision.

Should I do anything else?

@fboehm
Copy link

fboehm commented Oct 30, 2021

Thanks, @metelkin ! If you've addressed all of the issues from @elimillera , then there's nothing for you to do right now. we'll just need to wait for @martinmodrak to complete the review.

@martinmodrak
Copy link

martinmodrak commented Nov 1, 2021

Sorry to have kept everybody waiting. I finally managed to do a first pass through the software and paper.

This is a neat piece of software that looks well documented and well written. So far I haven't encountered any major obstacle.

My suggestions so far are minor, and may not even need immediate resolution for acceptance in JOSS.

  1. The paper makes it look like Heta is the first tool with the ambition to build one modelling format that would serve many purposes. However, my (limited) understanding is that there are other contenders, notably SBML, which seems to have similar aims to Heta. I don't think I completely understand, what Heta adds that SBML does not (at least partially because I don't understand SBML and have never used it myself). It could be helpful to at least briefly outline this in the paper.

  2. I filed a single bug (Reserved words conflict: The jak2stat5 example fails with mrgsolve hetalang/heta-compiler#10), which I presume is something relatively benign and easy to fix.

  3. Possibly related is the fact that it appears (I didn't fully test) that the compiler is silent when an output format does not support a feature (e.g. not supporting some Switcher types). If that's the case, it might be helpful to raise a warning in such cases.

I still plan to spend some more time trying the software out, but wanted to share my results so far to let you react.

@metelkin
Copy link

metelkin commented Nov 2, 2021

@martinmodrak,
Thank you for your review.

  1. The Heta language is not the first formal representation of biomodels. There are formats of storage like SBML, CellML, Antimony, as well as some DSLs that are applied in a specific modeling tools like mrgsolve, ModelingToolkit.jl, etc. Each of them has some specific purpose and limitations. There were two reasons not to mention them in the article. The main reason was the limitation in manuscript size. A lot of different aspects are skipped because of it. The another reason is that the Heta modeling formats is the secondary topic. The main goal is to present Heta-compiler as a modeling environment and its useful features. Anyway I guess the question that you mentioned is important and I am going to do the following: (i) I will include one or two sentences regarding the other formats (I need to check how many symbols I have); (ii) I will write the extended comparison in documentation site.
  2. I have fixed it and replied to the issue you mentioned. The problem was the reserved word "default" in mrgsolve. You are right. Some warning would be helpful. We will do it in future releases.
  3. Actually Heta-compiler indicates errors and warnings if an export format does not support a feature or need attention. The Switcher component that you mentioned is the case. The compiler throws an error when exports to mrgsolve for unsupported features. But there are a lot of specific features (documented and undocumented) in each modeling format which we have to follow. I hope we will track them all in the future.

@martinmodrak
Copy link

The main goal is to present Heta-compiler as a modeling environment and its useful features. Anyway I guess the question that you mentioned is important and I am going to do the following: (i) I will include one or two sentences regarding the other formats (I need to check how many symbols I have); (ii) I will write the extended comparison in documentation site.

I agree the focus is elsewhere. I would just find it helpful to learn what I gain by writing the model in Heta and then compiling to SBML as opposed to directly writing SBML. I am choosing SBML as it appears to have quite a broad support, so presumably many workflows with Heta would involve compiling to SBML to get access to the vast ecosystem of tools that support it. One or two sentences would probably be needed to satisfy the "State of the field" requirement, however no need for an extended comparison just for me.

Actually Heta-compiler indicates errors and warnings if an export format does not support a feature or need attention. The Switcher component that you mentioned is the case.

Unfortunately, this doesn't appear to be the case: hetalang/heta-compiler#11

There is also potentially problematic design in the way the definition of export targets is part of the model specification. One could IMHO argue that there should be a separation between model definition and export targets. E.g. if I want to share my model with the community, I probably don't want to prescribe how the community will export it. Conflicting needs of different team members could lead to unnecessary version control conflicts in the export definitionsm etc. The need for --julia-only and --skip-export CLI options shows that you are struggling a bit with this design choice already.

Some (not mutually exclusive) options to consider:

  • Move export definitions to platform.json (presumably, I won't be sharing platform.json the same way I share model files?, i.e. two team members could share Heta code but have each their own platform?)
  • Allow full control of exports from the CLI (e.g. allow stuff like heta build --export "{ filepath: model, format: DBSolve }")
  • Keep the current system, but encourage separating export definitions and models in two files (probably by the export file including the model), codify this as a good practice (e.g. by using it in examples)
  • Have a make-like system, where the export definitions function as "targets" and one can specify heta build [target-list] to only build specific targets)

Generally, handling exports well seems like an important (but hard) design decision. As with the other stuff, I don't insist on this being resolved for acceptance in JOSS, just wanted to share my concerns.

In summary, I think the only really blocking problem is fulfilling the "State of the field" requirement by at least briefly contrasting what one can do with Heta that one could not accomplish with SBML or other common tool. There are a bunch of suggestions and two bugs I noticed, but I am OK with acceptance even if those are not addressed.

@metelkin
Copy link

metelkin commented Nov 5, 2021

I would just find it helpful to learn what I gain by writing the model in Heta and then compiling to SBML as opposed to directly writing SBML. I am choosing SBML as it appears to have quite a broad support, so presumably many workflows with Heta would involve compiling to SBML to get access to the vast ecosystem of tools that support it. One or two sentences would probably be needed to satisfy the "State of the field" requirement, however no need for an extended comparison just for me.

I have added one sentence to mention the most known standard representation of bio-models. See the latest version in the "paper" branch. See below.

The standardization of process-description modeling notation was also pursued in formats like SBML, CellML, Antimony. However the Heta standard can be distinguished by the specific features: ... (list of Heta's features)

For a broader discussion here, I need to mention that SBML (as an example) and Heta are not competitors. Heta, in general, is a human-readable language that has been created to optimize the process of model development by users. SBML is an industrial xml-based standard for model exchange. I posted here a quote from SBML official site http://sbml.org

SBML is a machine-readable format for representing models.
What does SBML look like? Ugly. Don't look at it, unless you're developing software, in which case, you have to look at it, and we feel for you. SBML is really not meant to be edited by hand or exposed to users.

I know nobody who manually edits SBML in his everyday modeling workflow.

Anyway to develop the SBML model you have to use another layer: graphical programming (like in SimBiology), table creation (like in DBSolve), or use a DSL like in mrgsolve which is usually applicable for a single tool only.

@metelkin
Copy link

metelkin commented Nov 5, 2021

@whedon generate pdf from branch paper

@fboehm
Copy link

fboehm commented Nov 10, 2021

Thanks, @metelkin !

@fboehm
Copy link

fboehm commented Nov 10, 2021

@metelkin - I failed to tell you that the title of the archive needs to be the same as the title of the paper. Can you please fix this? Thanks again! Right now, it looks like the title of the archive is: hetalang/heta-compiler: Version 0.6.7 - ready for JOSS

@metelkin
Copy link

@fboehm - No problem. Done!

@fboehm
Copy link

fboehm commented Nov 10, 2021

@metelkin - Excellent!

@fboehm
Copy link

fboehm commented Nov 10, 2021

@whedon set v0.6.7 as version

@whedon
Copy link
Author

whedon commented Nov 10, 2021

OK. v0.6.7 is the version.

@fboehm
Copy link

fboehm commented Nov 10, 2021

set 10.5281/zenodo.5666487 as archive

@fboehm
Copy link

fboehm commented Nov 10, 2021

@whedon set 10.5281/zenodo.5666487 as archive

@whedon
Copy link
Author

whedon commented Nov 10, 2021

OK. 10.5281/zenodo.5666487 is the archive.

@fboehm
Copy link

fboehm commented Nov 10, 2021

@whedon recommend-accept

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

whedon commented Nov 10, 2021

Attempting dry run of processing paper acceptance...

@whedon
Copy link
Author

whedon commented Nov 10, 2021

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

Check final proof 👉 openjournals/joss-papers#2741

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

@whedon accept deposit=true

@whedon
Copy link
Author

whedon commented Nov 10, 2021

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

OK DOIs

- 10.1093/bioinformatics/btp401 is OK
- 10.1093/bioinformatics/btg015 is OK
- 10.1002/psp4.12390 is OK
- 10.1002/cpt.1683 is OK
- 10.1007/s10441-018-9330-2 is OK
- 10.1016/j.csbj.2016.09.002 is OK
- 10.13140/RG.2.2.18555.13602 is OK
- 10.1007/978-1-60761-175-2_11 is OK

MISSING DOIs

- 10.1002/0471973165.ch23 may be a valid DOI for title: Cellular kinetic modeling of the microbial metabolism.

INVALID DOIs

- None

@fboehm
Copy link

fboehm commented Nov 10, 2021

Actually - @metelkin - can you add the doi suggested above to your bib file? I didn't see until now the output of the check references command. Thanks again!

@metelkin
Copy link

@fboehm - I've added the required doi to the bib file.

@fboehm
Copy link

fboehm commented Nov 10, 2021

Perfect! Thanks @metelkin !

@kyleniemeyer
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Nov 10, 2021

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

@kyleniemeyer
Copy link

@whedon accept deposit=true

@whedon
Copy link
Author

whedon commented Nov 11, 2021

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

@whedon whedon added the published Papers published in JOSS label Nov 11, 2021
@whedon
Copy link
Author

whedon commented Nov 11, 2021

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

@whedon
Copy link
Author

whedon commented Nov 11, 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.03708 joss-papers#2743
  2. Wait a couple of minutes, then verify that the paper DOI resolves https://doi.org/10.21105/joss.03708
  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...

@kyleniemeyer
Copy link

Congratulations @metelkin on your article's publication in JOSS!

Many thanks to @martinmodrak and @elimillera for reviewing this, and @fboehm for editing.

@whedon
Copy link
Author

whedon commented Nov 11, 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.03708/status.svg)](https://doi.org/10.21105/joss.03708)

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

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

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 JavaScript M published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review
Projects
None yet
Development

No branches or pull requests

6 participants