Skip to content

Run the vaccination tutorial's large comparisons on threads - #1263

Merged
sbfnk merged 3 commits into
mainfrom
docs/threaded-vaccination
Nov 26, 2026
Merged

sbfnk merged 3 commits into
mainfrom
docs/threaded-vaccination

Conversation

@sbfnk-bot

Copy link
Copy Markdown
Collaborator

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 = true and 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.

Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
@sbfnk-bot sbfnk-bot added the no changelog This change carries no changelog entry label Nov 26, 2026
Comment thread docs/src/tutorials/vaccination.md Resolved
@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.80%. Comparing base (a554aca) to head (fabbdd6).

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           
Flag Coverage Δ
epibranch-ad 29.36% <ø> (ø)
epibranch-analytical 40.44% <ø> (ø)
epibranch-engine 52.38% <ø> (ø)
epibranch-inference 44.21% <ø> (ø)
epibranch-interventions 54.09% <ø> (ø)
epibranch-population 53.78% <ø> (ø)
epihouseholds 96.94% <ø> (ø)
epinetwork 95.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

sbfnk-bot and others added 2 commits November 26, 2026 11:46
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
@sbfnk-bot
sbfnk-bot marked this pull request as ready for review November 26, 2026 13:07
@sbfnk-bot
sbfnk-bot requested a review from sbfnk as a code owner November 26, 2026 13:07
@sbfnk
sbfnk merged commit df8d211 into main Nov 26, 2026
26 checks passed
@sbfnk
sbfnk deleted the docs/threaded-vaccination branch November 26, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This change carries no changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants