Submitting author: @mhucka (Michael Hucka)
Repository: https://github.com/casics/nostril
Version: v1.0.0
Editor: @jakevdp
Reviewer: @desilinguist
Archive: 10.22002/D1.935
Status badge code:
HTML: <a href="http://joss.theoj.org/papers/3c54089889db42f3e77df88b0a3fcd91"><img src="http://joss.theoj.org/papers/3c54089889db42f3e77df88b0a3fcd91/status.svg"></a>
Markdown: [](http://joss.theoj.org/papers/3c54089889db42f3e77df88b0a3fcd91)
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) 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.)
@desilinguist, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:
The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @jakevdp know.
### Conflict of interest
paper.md file include a list of authors with their affiliations?Hello human, I'm @whedon. I'm here to help you with some common editorial tasks. @desilinguist it looks like you're currently assigned as the reviewer for this paper :tada:.
:star: Important :star:
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:


For a list of things I can do to help you, just type:
@whedon commands
Attempting PDF compilation. Reticulating splines etc...
@desilinguist thanks for agreeing to review! The review will take place here in this issue – all relevant info is above. Please feel free to reach out to me if you have questions about the process!
👋 @desilinguist - please take a look at this when you get a chance.
Yup, working on it today. Sorry for the delay!
This is a package that uses information retrieval methods to solve a very niche but interesting problem - figuring out whether a given string is completely nonsense or whether it is likely to be "meaningful text" but specifically in the context of identifier names used in source code. It's a very interesting approach and I quite like it.
In general, the submission is pretty much good to go except for a few things. Here are my suggestions:
The installation could be improved. It would be nice to have an actual package hosted on PyPI or on anaconda.org instead of installing from the git repository. It would also be nice to explicitly list the dependencies in the repository README.
Although the main readme does state what the primary use case is ("... to decide whether short strings returned by source code mining methods are likely to be program identifiers ... or random characters or other non-identifier strings"), I think this can be improved a little bit. It would be nice tp provide a bit of explanation as to why this is something that someone would need to do. Perhaps have some pointers to the source code mining literature and a brief summary?
There is no API-level documentation per se (it could easily be added via readthedocs.org). The documentation link from the main README is broken. It would also be nice to take the very-nicely-written technical explanation of how the package works from under docs/explanations and move it to readthedocs since right now it's not really easily discoverable.
It would be nice to use a real test library instead of having custom functions. Did the authors try other libraries like nose, nose2, or unittest? If it turns out that the custom test functions ( test_lableled() and test_unlabeled()) are indeed necessary, perhaps they should be moved to a utils.py under the tests folder since it's odd to have them be part of the main source code.
The references in the paper don't seem to have DOIs.
The statement of need in the paper can be improved in the same way as I suggested above.
All in all, this is a really nice package and I think it should be accepted to the journal pending some of the changes I suggested above. Thanks for the great work @mhucka!
@jakevdp @arfon I am assuming you got notified of this.
@jakevdp @arfon I am assuming you got notified of this.
👍yep, thanks @desilinguist!
@mhucka - please take another look at this when you get a chance.
Apologies for the delay. I'm currently traveling for another workshop, but I should be able to get to this next week, finally.
Update: I've now fixed one issue, which is that I used an antipattern in setup.py that caused dependencies not to be installed automatically. I should be able to respond to the remaining issues this week.
Thank you for the review and suggestions. Here are some replies, finally:
The installation could be improved. It would be nice to have an actual package hosted on PyPI or on anaconda.org instead of installing from the git repository. It would also be nice to explicitly list the dependencies in the repository README.
I have now fixed an antipattern in setup.py that caused dependencies not to be properly installed by Python's setuptools, which is undoubtedly what led to the comment about the need to list the dependencies. The dependencies should now be installed automatically by setup.py, and the entire processs should go more smoothly now. I've updated the installation instructions and also included a mention of the dependencies just for completeness' sake. Having a package hosted on PyPI is a future goal.
Although the main readme does state what the primary use case is ("... to decide whether short strings returned by source code mining methods are likely to be program identifiers ... or random characters or other non-identifier strings"), I think this can be improved a little bit. It would be nice tp provide a bit of explanation as to why this is something that someone would need to do. Perhaps have some pointers to the source code mining literature and a brief summary?
The revised readme and the paper now include more motivations on this point, which was admittedly not sufficiently addressed in the first version of the paper.
There is no API-level documentation per se (it could easily be added via readthedocs.org). The documentation link from the main README is broken. It would also be nice to take the very-nicely-written technical explanation of how the package works from under docs/explanations and move it to readthedocs since right now it's not really easily discoverable.
I've fixed the link to the documentation file in the README. Putting docs on readthedocs.org is a future goal.
It would be nice to use a real test library instead of having custom functions. Did the authors try other libraries like nose, nose2, or unittest? If it turns out that the custom test functions ( test_lableled() and test_unlabeled()) are indeed necessary, perhaps they should be moved to a utils.py under the tests folder since it's odd to have them be part of the main source code.
Indeed, it would be nice, but due to limited time I cannot undertake this now, and in any case it is not a publication requirement for JOSS. However, like some of the other suggestions above, I've added this to the issues in GitHub as a future goal.
The references in the paper don't seem to have DOIs.
There are now DOIs where possible. (Not all publications have DOIs.)
The statement of need in the paper can be improved in the same way as I suggested above.
This is now done.
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
:wave: @desilinguist - could you take another look when you get a chance? I think we're close to being done here.
LGTM 👍🏼
@jakevdp - are we good to accept here?
Yes, I think we're good to go!
Thanks!
@mhucka - At this point could you make an archive of the reviewed software in Zenodo/figshare/other service and update this thread with the DOI of the archive? I can then move forward with accepting the submission.
@arfon and @jakevdp and @desilinguist – Thanks!
I used Caltech's DataCite-based DOI service this time around. The DOI is now 10.22002/D1.935 and should be operational.
@whedon set 10.22002/D1.935 as archive
OK. 10.22002/D1.935 is the archive.
Thanks for your review @desilinguist and to @jakevdp for editing this one!
@mhucka - your paper is now accepted into JOSS and your DOI is http://joss.theoj.org/papers/10.21105/joss.00596
:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:
If you would like to include a link to your paper from your README use the following code snippet:
[](https://doi.org/10.21105/joss.00596)
This is how it will look in your documentation:
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: