Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Year of intervention #202

Merged
merged 9 commits into from
Oct 2, 2024
Merged

Year of intervention #202

merged 9 commits into from
Oct 2, 2024

Conversation

dimitrasal
Copy link
Collaborator

The PR adds a feature where different policies can be implemented and the model predicts two plausible outcomes with and without intervention. In response to issue #196

@dimitrasal
Copy link
Collaborator Author

Need to discuss ways to:

  1. generalise the intervention function to allow for different measures,
  2. make the code less repetitive

@mmcleod89
Copy link
Collaborator

  • No specific options code needs to be implemented as this is highly project specific
  • Some simple intervention should exist for testing and demonstration purposes
  • the intervention option should be able to be set in a yaml file, which would just be a number
  • we should make a short tutorial explaining how to write interventions and alter aspects of the different modules

@mmcleod89
Copy link
Collaborator

Could add:

  • bool flag for repeating the intervention function every time step (false by default)
  • a function for resetting / changing the option which then causes the inteverntion code to be called again. (They would then need to add a call to this in the loop, which we can explain in the documentation.)

@dimitrasal dimitrasal marked this pull request as ready for review October 1, 2024 14:24
@mmcleod89 mmcleod89 merged commit af4f168 into development Oct 2, 2024
6 checks passed
@mmcleod89 mmcleod89 deleted the ds/intervention branch October 2, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants