This checklist has been developed by the Scottish Covid-19 Response Consortium and has been used to assess the software engineering aspects of "model readiness" for our six epidemiological models. This is intended to be part of a broader scheme to evaluate and describe suitability of model results to be used in decision making so this checklist covers only the software implementation and assumes that other documents cover questions about model validation, quality of science, data provenance and quality and policy readiness.
In order to use this checklist for the SCRC FAIR data pipeline components, three questions that apply only to software producing scientific results have been marked "models only" and for other software an N/A response can be given.
DataPipeline.jl
04/10/21
v0.52.0
Name
Sonia Mitchell
Role on project:
RSE
Person identifier:
Do we have sufficient confidence in the correctness of the software to trust the results?
This is your overall judgement on the level of confidence based on all the aspects of the checklist. There is no formulaic way to arrive at this overall assessment based on the individual checklist answers but please explain how the measures in place combine to reach this level of confidence and make clear any caveats (eg applies for certain ways of using the software and not others).
- Yes
- Yes, with caveats
- No
The code is well written and includes adequate documentation. Unit tests are implemented via GitHub actions - more tests will be added soon. The Data Pipeline is not yet being used in practice and so bugs may yet be revealed. Additionally, further work is required to implement cross validation against the other language implementations.
Please use a statement from this list: "Sufficiently addressed", "Some work remaining or caveats", or "Needs to be addressed" to begin each response.
Additionally, for each question please explain the situation and include any relevant links (eg tool dashboards, documentation). The sub bullet points are to make the scope of the question clear and should be covered if relevant but do not have to be answered individually.
- How is stochasticity handled?
- Is sufficient meta-data logged to enable a run to be reproduced: Is the exact code version recorded (and whether the repository was "clean"), including versions of dependent libraries (e.g. an environment.yml file or similar) along with all command line arguments and the content of any configuration files?
- Is there up-to-date documentation which explains precisely how to run the code to reproduce existing results?
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
- N/A
- Are there unit tests? What is covered?
- System and integration tests? Automated model validation tests?
- Regression tests? (Which show whether changes to the code lead to changes in the output. Changes to the model will be expected to change the output, but many other changes, such as refactoring and adding new features, should not. Having these tests gives confidence that the code hasn't developed bugs due to unintentional changes.)
- Is there CI?
- Is everything you need to run the tests (including documentation) in the repository (or the data pipeline where appropriate)?
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
Tests are run via GitHub Actions CI () with reasonable code coverage (). More tests will be added soon.
- Running on a different machine?
- With different number of processes?
- With different compilers and optimisation levels?
- Running in debug mode?
(We don't require bitwise identical results here, but the broad conclusions after looking at the results of the test case should be the same.)
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
- N/A
- For C++, this might just be the compiler output when run with "all warnings". It could also be more extensive static analysis. For other languages, it could be e.g. pylint, StaticLint.jl, etc.
- If there are possible issues reported by such a tool, have they all been either fixed or understood to not be important?
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
StaticLint.jl
was used to lint the package - no problems were identified.
Is the code clean, generally understandable and readable and written according to good software engineering principles?
- Is it modular? Are the internal implementation details of one module hidden from other modules?
- Commented where necessary?
- Avoiding red flags such as very long functions, global variables, copy and pasted code, etc.?
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
The code is well structured, commented and documented.
- Is there a readme?
- Does the code have user documentation?
- Does the code have developer documentation?
- Does the code have algorithm documentation? e.g. something that describes how the model is actually simulated, or inference is performed?
- Is all the documentation up to date?
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
There is a readme that describes how to install the code. Additional documentation exists (), however this needs expanded upon.
- Is the code in a version-controlled repository?
- Is there a license?
- Is an issue tracker used?
- Are there contribution guidelines?
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
The code is stored in a GitHub repository, which includes a licence and issue tracking.
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
Dependencies are listed in the Project.toml file.
- Does the code use the data pipeline for all inputs and outputs?
- Is the code appropriately parameterized (i.e. have hard coded parameters been removed)?
- Sufficiently addressed
- Some work remaining or caveats
- Needs to be addressed
- N/A