Skip to content

v1.1.0 - 2025-03-21

Compare
Choose a tag to compare
@amyheather amyheather released this 21 Mar 13:15
· 8 commits to main since this release

Add a bash script for executing notebooks and new tests for warm-up patients and replication consistency. Fixes were made to correct notebook configurations, adjust test parameters, refine the replication algorithm, and ensure accurate calculations, such as correcting nurse time usage and setting appropriate values in the replication algorithm. Other changes include updates to default parameters and documentation.

Added

  • Bash script to execute all notebooks (with nbconvert add to environment for this).
  • Add test related to inclusion/exclusion of warm-up patients in certain metrics (test_warmup_high_demand()).
  • Add test for consistent nreps between replications methods.

Changed

  • Changed default warm-up length in Param().
  • Add pylint line limit so it adheres to PEP-8.
  • Allow input of Param() to the objects in replications.py so we can specify parameter set for back tests (so they don't just change results when we change the model defaults).
  • Add specific parameters to generate_exp_results.ipynb for back tests.
  • Add acknowledgements to README and docstrings.
  • Lowered the default min_rep for both confidence_interval_method functions.

Fixed

  • Correct choosing_warmup.ipynb to use multiple replications and run length at least 5-10x actual.
  • Fix test_waiting_time_utilisation()
  • Correct test_klimit() to actually use the parametrize inputs.
  • Add correction to nurse_time_used for when patients span the warm-up and data collection period.
  • Allow None for the dashed line in plotly_confidence_interval_method().
  • Allow a solution below initial_replications in ReplicationsAlgorithm.
  • Set target_met back to 0 in ReplicationsAlgorithm if precision is no longer achieved.
  • Set test_consistent_outputs() to have no lookahead.