Skip to content

Conversation

@stevenhofmeyr
Copy link
Collaborator

This branch includes a number of changes to produce a closer match to Epicast, including a few bug fixes.

  • Changed compliance to be over three days, with different probabilities per age group
  • Changed hospitalization days to use the normal six categories of ages, instead of the three that were used only for this. This clarifies the parameters and reduces the chance of misconfig
    uation.
  • Implemented a set of macros to make implementation of reduction operations with many fields cleaner. Previously, there were four different places where a set of values/variables had to be
    explicitly listed, equal in size to the number of operations. These now can be specified with a single parameter, which is much cleaner and less error prone.
  • Fixed a bug in the way household clusters were allocated and used. This now allocates the HC in the initialization, and uses an additional agent field (hh_cluster) to access the number. I
    t also accesses this value correctly during interactions.
  • Added additional tracking of newly changed counts of infcetions, asymptomatic and presymptomatic agents.
  • Updated use of transitions periods such as incubation, hospital_delay, etc.
  • Ensured hospital_delay is at least 2.
  • Simplified functions for reading parameter lists.
  • Modified updateAgents to implement compliance over three days with hospitalization possible on the second day, as in Epicast.
  • Fixed a bug in reading and writing checkpoints for UrbanPop.
  • Changed allocation of initial infections to only do one at a time, for a better spread over all communities.
  • Changed the calculation of neighborhoods in UrbanPop to give a closer match of the average to the desired neighborhood size parameter.
  • Added helper scripts in utilities to facilitate comparisons with Epicast.
  • Enabled transmission of hospitalized at home, as is done in Epicast.

- track newly infected
- disable hospital delays
- hacked compliance to match the three day probabilities in Epicast
- hacked hospitalization to only be checked on second day, like in Epicast
- allow household transmission when individuals are hospitalized
fixed some debug warnings
Added script for estimating gamma parameters
@atmyers
Copy link
Contributor

atmyers commented Dec 16, 2025

There are non-trivial conflicts because of PRs #139 and #140 - let me try to resolve them.

@atmyers
Copy link
Contributor

atmyers commented Dec 16, 2025

I think I've resolved everything - could you make sure the results are still good in your comparison?

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.

3 participants