Repository navigation
Support prior immunity in daily-count simulation - #1270
Merged
Merged
Conversation
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Contributor
Benchmark comparison vs baseMinimum time per call. Buckets are PR time as a % of base, so lower is faster (🟢 faster, ⚪ within 5%, 🔴 slower). Counts of benchmarks per bucket:
Evaluation — 19 benchmarks (by time change)
AD gradients — 0 benchmarks (by time change)none |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1270 +/- ##
=======================================
Coverage 97.80% 97.80%
=======================================
Files 104 104
Lines 11904 11906 +2
=======================================
+ Hits 11643 11645 +2
Misses 261 261
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sbfnk-bot
marked this pull request as ready for review
November 27, 2026 12:22
sbfnk
approved these changes
Nov 27, 2026
sbfnk
deleted the
issue-1269-reduce-count-level-simulation-to-the-dai
branch
November 27, 2026 13:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Daily-count simulation now subtracts immune people and initial cases from each group’s susceptible pool using
count_ruleand the existing depletion path.Count simulation, immunity and quality checks passed 3,492 assertions, though static analysis emitted file-monitor errors. The immunity tests passed six assertions separately; the engine-group check is still running.
Still to do on the issue: Make count continuation state compact, remove the generation-level simulation and its multiplier, and move the mean-field, linear-noise and hybrid approximations with their documentation and tests into a satellite package.
This PR partly addresses #1269.