This release introduces several new features including input modelling, code-based model validation, new key performance indicators, and more - as well as improvements to documentation and code.
Added
- Created notebook generating a synthetic dataset.
- Created notebook for input modelling using
distfit. - Add mock paper.
- Add
pytest-covand instructions for running with coverage. - Add code-based model validation, via tests comparing results against analytical queueing theory model.
- Add two new metrics: mean time in system and time-weighted mean number of patients in system.
- Add seed offset to allow change from use of run number.
Changed
- Removed internal distributions and tests, switched to import
sim-toolsfor these features (with corresponding tests in thesim-toolsrepo). - Amended
pyproject.toml(include author name & description). - Renamed and replaced all "rap_template_python_des" with "pydesrap_mms", and moved away from "template" phrasing.
- Simplified README so more relevant to repository content.
- Moved each function/class into its own file.
- Simplified and standardised NumPy style docstrings.
- Changed default precision when choosing replications to 0.1.
- Amend
run_notebooks.shso can use to run a single notebook. - Changed default number of replications to 15.
- Can choose operating system when manually trigger tests GitHub action.
- Add imports to
__init__.pyso can import using e.g.from simulation import Modelrather thanfrom simulation.model import Model.