-
Notifications
You must be signed in to change notification settings - Fork 0
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
DiseasyActivity: Use non-informative activity by default #108
base: main
Are you sure you want to change the base?
DiseasyActivity: Use non-informative activity by default #108
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be smarter to make the initializer so that this is resolved?
I am not sure this would be easier. As far as I could tell, to achieve unit
This would give us a This would however also be fragile in principle. The current solution keeps a unit scenario until a new scenario is fully configured. The steps to achieve unit |
Intent
This PR expands
DiseasyActivity
to provide non-informative activity information by default.That way, a new instance created with
DiseasyActivity$new()
can directly be used to generate contact matrices and openness.Approach
$get_scenario_openness()
and$get_scenario_contacts()
now checks if a scenario is loaded.If no scenario is loaded, it will provided non-informative activity information.
If the
contact_basis
is set, it will use the age groups from here by default.If not, it will only have the "0+" age group.
Non-informative activity information means:
Known issues
N/A
Checklist
NEWS.md