Repository navigation
Run the vaccination tutorial's large comparisons on threads - #1263
Merged
Merged
Conversation
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1263 +/- ##
=======================================
Coverage 97.80% 97.80%
=======================================
Files 104 104
Lines 11852 11852
=======================================
Hits 11592 11592
Misses 260 260
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:
|
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
sbfnk-bot
marked this pull request as ready for review
November 26, 2026 13:07
sbfnk
approved these changes
Nov 26, 2026
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.
The docs job ran close to its 30-minute limit and timed out on three recent runs. Timing each page locally showed that two paired comparisons in the vaccination tutorial take 45% of the build: the clustered-refusal block (3 × 10,000 outbreaks, 413 s) and the delay-to-immunity block (2 × 4,000 outbreaks, 210 s). This PR runs both with
parallel = trueand starts the docs build with--threads=auto. With 4 threads locally the two blocks take 78 s and 45 s, about 8 minutes less, which should bring the docs job to roughly 20 minutes. It supersedes #1260, which only raised the limit.Threaded runs draw different outbreaks from serial ones, though they are the same for any thread count above one. The paragraph quoting the clustered-refusal results now gives the threaded output. Its figures were already stale on main. The vaccination gain (0.017, MCSE 0.003) is now clearly above zero, and the wording says so.