Repository navigation
Start generation counts from prepared campaigns - #1268
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>
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 |
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 #1268 +/- ##
=======================================
Coverage 97.80% 97.80%
=======================================
Files 104 104
Lines 11852 11861 +9
=======================================
+ Hits 11592 11601 +9
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:
|
sbfnk-bot
marked this pull request as ready for review
November 26, 2026 23:37
sbfnk
approved these changes
Nov 27, 2026
sbfnk
deleted the
issue-1265-start-generation-counts-from-prepared-ca
branch
November 27, 2026 09:24
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.
Add
simulate(prepared; n_initial, max_generations, rng)to reuse prepared campaigns. It uses the existingsimulatedispatch and infers the state type for single-type campaign tuples.Checked seeded starts against model-specification starts for single- and multi-type models, and ran the generation-count, campaign, population and quality tests.
This PR closes #1265.