Skip to content

Port epiworld NH-close (UofUEpiBio/epiworld#370) - #73

Merged
gvegayon merged 1 commit into
v1-layersfrom
port-nh-close
Nov 10, 2026
Merged

gvegayon merged 1 commit into
v1-layersfrom
port-nh-close

Conversation

@gvegayon

Copy link
Copy Markdown
Member

Ports UofUEpiBio/epiworld#370; vendors 71124a959146eccf0fb801bcdc0866e3ed23a2e3.

  • Who is exempt from quarantine is set by tool name. New set_quarantine_exempt_tools(model, tools) and get_quarantine_exempt_tools(model), for the three measles models. The default is c("MMR", "PEP MMR"): documented MMR, routine or as post-exposure prophylaxis, is presumptive evidence of immunity, and immunoglobulin is not (CDC).
  • Results change for runs in which agents hold other tools. Before, holding any tool exempted an agent, so the immunoglobulin recipients of InterventionMeaslesPEP() skipped quarantine; now they are quarantined unless "PEP IG" is added to the list. Runs with only the models' vaccine are unaffected.
  • New test test-quarantine-exempt-tools.R: contacts holding a tool that is not listed are quarantined; once it is listed, nobody is. Also the two error paths (non-character tools, a model that is not a measles model).
  • Help page and NEWS entry.

Checks: in the container, with epiworldR installed from its v1-layers (vendoring 71124a95): R CMD INSTALL --preclean and the tinytest suite, 225 tests, 0 failures. R CMD check was not run locally; CI runs it.

🤖 Generated with Claude Code

…/epiworld#370)

Vendors 71124a95. Binds set_quarantine_exempt_tools() and
get_quarantine_exempt_tools(); the default is MMR and PEP MMR, so
immunoglobulin recipients are now quarantined.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@gvegayon
gvegayon merged commit 9ed7803 into v1-layers Nov 10, 2026
1 check passed
@gvegayon
gvegayon deleted the port-nh-close branch November 10, 2026 19:30
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