Reproducible Discrete-Event Simulation in Python and R
Verification & validation
β Logging
Choose your language:
Python
R
Reproducible Discrete-Event Simulation in Python and R
Introduction
Reproducibility and RAPs
Guidelines
Open-source languages
Example conceptual models π©Ίπ§
Setup
Version control
Environments
Structuring as a package
Code organisation
Model inputs
Input modelling
Input data management
Parameters from script
Parameters from file
Parameter validation
Model building
β Randomness
β Entity generation
β Entity processing
Output analysis
β Performance measures
β Initialisation bias
β Replications
β Number of replications
β Parallel processing
Experimentation
β Scenario analysis
β Sensitivity analysis
Verification & validation
β Logging
β Tests
β Validation
Style & documentation
Linting
β Docstrings
β Documentation
β GitHub actions
Reports & manuscripts
β Producing tables and figures
β Full run
Collaboration & sharing
β Peer review
β Licensing
β Sharing and archiving
Citation
β Changelog
Further information
β Acknowledgements
Verification & validation
β Logging
β Logging
π
Reproducibility guidelines:
NHS Levels of RAP (π₯): Logs are automatically recorded by the pipeline to ensure outputs are as expected.