Skip to content

Updated schistosomiasis model #1587

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

Open
wants to merge 324 commits into
base: master
Choose a base branch
from
Open

Updated schistosomiasis model #1587

wants to merge 324 commits into from

Conversation

tdm32
Copy link
Collaborator

@tdm32 tdm32 commented Feb 12, 2025

This updated version of the schistosomiasis code has the following features:

  • all input data are updated (MDA coverage, infection burden)
  • many key parameters are updated
  • two diagnostic tests for different species, both have varying sensitivity and specificity based on individual worm burden
  • individuals now have a susceptibility property, which determines whether they are susceptible to schisto infection, this is calibrated to match infection prevalence
  • effects of WASH properties on schisto risk (proportion susceptible) now incorporated
  • updated logging includes person-years of infection by species and infection intensity (and district / age-group)
  • new test added
  • correct consumables dosage (by individual weight by age if treatment, by average weight of age-group if through MDA)
  • functionality to manipulate future MDA schedules as parameter inputs to module
  • background risk of infection dependent on deviation from baseline prevalence, when disease prevalence increases, background risk also increases reflecting higher likelihood of new infections (and reduces stochastic fadeout in small populations)
  • symptoms now linked with moderate/high worm burden and assigned probabilistically
  • links to bladder cancer and HIV included where relevant
  • can assign all individuals in simulation to one district through module keyword

tdm32 added 30 commits March 19, 2024 12:43
make sure treatment only has effect on current infection (date_treated after date_infection)
# Conflicts:
#	src/tlo/methods/tb.py
# Conflicts:
#	resources/ResourceFile_HIV.xlsx
#	resources/ResourceFile_TB.xlsx
#	src/tlo/methods/hiv.py
#	src/tlo/methods/tb.py
…return 1. So TB treatment will have no effect on incidence
@tdm32 tdm32 requested a review from tbhallett March 6, 2025 12:34
@tdm32 tdm32 assigned tamuri and unassigned tamuri Mar 6, 2025
@tdm32 tdm32 requested a review from tamuri March 6, 2025 12:35
@tdm32 tdm32 marked this pull request as ready for review March 6, 2025 12:35
@tdm32
Copy link
Collaborator Author

tdm32 commented Mar 6, 2025

@tbhallett @tamuri this is the revised schisto module. I'd appreciate a review of both the modelling, but also whether there are any efficiency gains to be had given this update frequently crashes during full model runs. I have tried to avoid making copies of the dataframe and switching individual level events to population events to reduce memory usage. Please do let me know if you have other ideas though. Thanks so much.

@tbhallett tbhallett added the epi label Apr 2, 2025
tdm32 and others added 2 commits May 29, 2025 10:04
delay juvenile worms maturing for 2 months
update WASH effects on susceptibility 
update ordering of events
@tdm32
Copy link
Collaborator Author

tdm32 commented May 29, 2025

@tbhallett @tamuri this is the revised schisto module. I'd appreciate a review of both the modelling, but also whether there are any efficiency gains to be had given this update frequently crashes during full model runs. I have tried to avoid making copies of the dataframe and switching individual level events to population events to reduce memory usage. Please do let me know if you have other ideas though. Thanks so much.

Just addressing this point- memory problems are no longer an issue following updates to methods here and to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants