UBC-MDS / software-review-2023

DSCI 524
0 stars 0 forks source link

Group 07 - chembox #9

Open Suraporn opened 1 year ago

Suraporn commented 1 year ago

Submitting Author: NatePuangpanbut (@Suraporn) All current maintainers: Wilfred Hass (@WilfHass), Vikram Grewal (@xFiveRivers), Luke Yang (@lukeyf) Package Name: chembox One-Line Description of Package: Molecular information calculator based on empirical formulas of chemicals in raw text. Repository Link: https://github.com/UBC-MDS/chembox Version submitted: v0.3.2
Editor: Wilfred Hass (@WilfHass), Vikram Grewal (@xFiveRivers), Luke Yang (@lukeyf), NatePuangpanbut (@Suraporn) Reviewer 1: Mehwish Reviewer 2: Robin Dhillon Reviewer 3: Flora Ouedraogo Reviewer 4: Yukun Zhang Archive: TBD
Version accepted: TBD Date accepted (month/day/year): TBD


Description

chembox is a package for molecular information calculator based on empirical formulas of chemicals in raw text. It is designed to intelligently process text input containing the chemical formula and provide associated information on the inquired molecule. It is able to provide the molar mass, check a formula's validity, and provide a balanced combustion equation if the input is combustible. This tool can be utilized for various educational and research purposes for simple and fast information retrieval.

Scope

Please fill out a pre-submission inquiry before submitting a data visualization package. For more info, see notes on categories of our guidebook.

Technical checks

For details about the pyOpenSci packaging requirements, see our packaging guide. Confirm each of the following by checking the box. This package:

Publication options

JOSS Checks - [ ] The package has an **obvious research application** according to JOSS's definition in their [submission requirements][JossSubmissionRequirements]. Be aware that completing the pyOpenSci review process **does not** guarantee acceptance to JOSS. Be sure to read their submission requirements (linked above) if you are interested in submitting to JOSS. - [ ] The package is not a "minor utility" as defined by JOSS's [submission requirements][JossSubmissionRequirements]: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria. - [ ] The package contains a `paper.md` matching [JOSS's requirements][JossPaperRequirements] with a high-level description in the package root or in `inst/`. - [ ] The package is deposited in a long-term repository with the DOI: *Note: Do not submit your package separately to JOSS*

Are you OK with Reviewers Submitting Issues and/or pull requests to your Repo Directly?

This option will allow reviewers to open smaller issues that can then be linked to PR's rather than submitting a more dense text based review. It will also allow you to demonstrate addressing the issue via PR links.

Code of conduct

Please fill out our survey

P.S. *Have feedback/comments about our review process? Leave a comment here

Editor and Review Templates

The editor template can be found here.

The review template can be found here.

robindhillon1 commented 1 year ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Readme file requirements The package meets the readme requirements below:

The README should include, from top to bottom:

NOTE: If the README has many more badges, you might want to consider using a table for badges: see this example. Such a table should be more wide than high. (Note that the a badge for pyOpenSci peer-review will be provided upon acceptance.)

Usability

Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider whether:

Functionality

For packages also submitting to JOSS

Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.

The package contains a paper.md matching JOSS's requirements with:

Final approval (post-review)

Estimated hours spent reviewing: 2 hours


Review Comments

florawendy19 commented 1 year ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Usability

Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider whether:

Functionality

Estimated hours spent reviewing: 1 hour


Review Comments

  1. I was able to install the python chembox package without any issue locally. I was able to call get_elements ,is_valid, get_molec_props, get_combustion_equation and it gave the appropriate results as indicated in the readme file. This is a really great idea for a package as it will make it easier for students to easily find things such as molar mass and balanced combustion.
  2. It is really great that you mentioned in the README packages that already exist and how yours is different. it shows that you have done some research prior developing your package in order to come up with a more innovative way of addressing the need that you have identified.

I do not have anything technical to add as the package is working well and the functions give the correct results. I just have few remarks about your repo which are the following:

  1. I wish there the different functions were in different python files in the src folder. everything is in block and it is easy to get lost in these several lines of code.
  2. It would have been good to also have the output of one or two functions on the README to give an idea of how the output looks like visually.
  3. I would have been also good to add some citation for you data. Does the data get updated regularly or is it always static, these are the question I have as go through the . If the data is static, where can I find it?

I enjoyed reviewing your package even though I do not like anything related to Chemistry! You did a really great job with this package and I wish you all the best in your software Development journey !

yukunzGIT commented 1 year ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Readme file requirements The package meets the readme requirements below:

The README should include, from top to bottom:

NOTE: If the README has many more badges, you might want to consider using a table for badges: see this example. Such a table should be more wide than high. (Note that the a badge for pyOpenSci peer-review will be provided upon acceptance.)

Usability

Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider whether:

Functionality

For packages also submitting to JOSS

Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.

The package contains a paper.md matching JOSS's requirements with:

Final approval (post-review)

Estimated hours spent reviewing: 1 hour


Review Comments

A 98% code coverage is great. Good job, group 7. I also have some suggestions regarding your Python package:

  1. Maybe you could save your results data frame in a csv file for future usage.
  2. For get_combustion_equation function, what if the input molecule is not combustable? Maybe try to return an error message if the user input molecule is not combustable.
  3. Miss the doc description for the test function for unit tests functions of three functions. Also, maybe it's better to split the test scripts into 4 different parts for each of the four functions.
  4. Before we do the pip install, try to add "clone the repo" with the repo link in the README.md for package installation.
  5. The Read the docs link is not added in the README. Note it's good that you guys add the link to the original dataset.

In summary, I really enjoy playing around with your chem package and find it could be really helpful for beginners to learn Chemistry. Great jobs, group 7. Wish you all the best!

MNBhat commented 1 year ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Readme file requirements The package meets the readme requirements below:

The README should include, from top to bottom:

NOTE: If the README has many more badges, you might want to consider using a table for badges: see this example. Such a table should be more wide than high. (Note that the a badge for pyOpenSci peer-review will be provided upon acceptance.)

Usability

Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider whether:

Functionality

For packages also submitting to JOSS

Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.

The package contains a paper.md matching JOSS's requirements with:

Final approval (post-review)

Estimated hours spent reviewing: 1.5 Hours


Review Comments

  1. The functions and test functions are well documented, and the documentation of test cases is clear about what all scenarios are being checked in the test. Great work!
  2. All the details on Read.me are clear, and direct toward appropriate links about where to find the information needed.
  3. The function get_molec_props() works nicely and is super clear. I would suggest removing extra commas ShellConfig output as it seems that there must be something missing. A clear output eg 2,8 will be much better.
  4. For some functions like get_elements() it would be great if there is additional functionality for checking inputs in various formats like get_elements('5(C2H4)'), get_elements('(C2H4)') which right now are throwing an index error.
  5. Some functions are not checking if the input type is string or not. It would be nice to have this checked.
  6. Looking at this amazing package makes me think it would be awesome to have a function in the package that takes in the unbalanced equation and returns a balanced one.
    The package is well-written and well documented with amazing code coverage of 98%. I enjoyed testing this package and loved get_molec_props() function that gives that molecular information so clearly (which was a nightmare for me in my high school). Well done!