Skip to content

Site 2601#36

Draft
pwinskill wants to merge 5 commits intomainfrom
site-2601
Draft

Site 2601#36
pwinskill wants to merge 5 commits intomainfrom
site-2601

Conversation

@pwinskill
Copy link
Copy Markdown
Member

Updates for compliance with site-file updates January 2026.

Functions in malariasimulation.R that help the user determine the malariasimulation inputs that correspond to target model-usage for bednets have been updated. They now include the ability for the user to specify the net loss function (exponential or logistic (MAP)). This is to align with the logistical net loss form being implemented in the model.

Note that this fitting operation is still required as the full MAP net model (distribution <-> crop <-> acess <-> usage) remains different to the malariasimulation model (distribution -> usage).

I have checked:

  1. That using new functionality with the net_loss_exp and matching retention restores previous functionality.
  2. That usage predictions over time from model_distribution_to_usage() match those in the n_use_net model output variable (when randomly distributed).

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.05%. Comparing base (ac8cd8a) to head (3f4bf9c).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   97.14%   98.05%   +0.90%     
==========================================
  Files           6        4       -2     
  Lines         140      154      +14     
==========================================
+ Hits          136      151      +15     
+ Misses          4        3       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant