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

Allow p.v subpatent infections #320

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

RJSheppard
Copy link
Member

p.v allows subpatent infections to occur, so we now calculate patent subpatent infections, render these and schedule them.

Copy link
Member

@pwinskill pwinskill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's chat about this one @RJSheppard - I think we want to be careful not to imply things are not modelling in Pf, by the fact they are explicitly modelled in Pv

k = parameters$klm, iaa = iaa, iam = iam)
patent_infections <- bitset_at(infections, bernoulli_multi_p(philm))

incidence_renderer(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth chatting through this in person - I'm not clear what patent_incidence is really and how it would be used.

Copy link
Member

@pwinskill pwinskill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Richard.
I'll really like this re-formatting, it is much clearer to me what is going on now.
I've one comment regarding some suspicious behaviour

R/human_infection.R Show resolved Hide resolved
Copy link
Member

@pwinskill pwinskill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_remove_severe_immunity branch from 3662dca to a06dc6c Compare September 17, 2024 16:37
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_subpatent_infections branch from c892bc3 to 29b1fed Compare September 17, 2024 17:42
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_remove_severe_immunity branch from a06dc6c to 5ff8fc6 Compare September 18, 2024 11:58
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_subpatent_infections branch 2 times, most recently from 39949ff to b8cce39 Compare September 19, 2024 14:15
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_remove_severe_immunity branch from 5ff8fc6 to e2580b4 Compare September 20, 2024 16:17
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_subpatent_infections branch from b8cce39 to 3472e76 Compare September 20, 2024 16:22
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_remove_severe_immunity branch from e2580b4 to cd7ac4b Compare October 10, 2024 15:03
Base automatically changed from vivax_competing_hazards_main_remove_severe_immunity to dev October 11, 2024 08:58
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_subpatent_infections branch from 3472e76 to bfe4c0a Compare October 11, 2024 11:53
R/human_infection.R Outdated Show resolved Hide resolved
…m-detectable and pcr-detectable infections, render these and schedule them. The P.v vignette has been extended to reflect these changes.
@RJSheppard RJSheppard force-pushed the vivax_competing_hazards_main_subpatent_infections branch from bfe4c0a to cb35f28 Compare October 11, 2024 14:36
@RJSheppard
Copy link
Member Author

/benchmark

Copy link

This is how benchmark results would change (along with a 95% confidence interval in relative change) if cb35f28 is merged into dev:

  • ✔️large_population: 2.34m -> 2.34m [-1.69%, +1.21%]
  • ✔️small_population: 32.8s -> 32.8s [-1.66%, +1.46%]

Further explanation regarding interpretation and methodology can be found in the documentation.
Plots and raw data are available as artifacts of the workflow run.

Copy link
Member

@giovannic giovannic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you!

@RJSheppard RJSheppard merged commit 8cdf43b into dev Oct 14, 2024
5 checks passed
@RJSheppard RJSheppard deleted the vivax_competing_hazards_main_subpatent_infections branch October 14, 2024 08:47
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