A helper to generate the example model - #290
Open
RasmusSkytte wants to merge 7 commits into
Open
Conversation
RasmusSkytte
force-pushed
the
feature/generator-for-example-model
branch
from
August 26, 2026 09:32
d2f8b6d to
3697f7e
Compare
RasmusSkytte
force-pushed
the
feature/generator-for-example-model
branch
from
August 26, 2026 10:06
93b63f0 to
be0ef3f
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #290 +/- ##
==========================================
+ Coverage 64.17% 64.41% +0.23%
==========================================
Files 28 29 +1
Lines 9597 9661 +64
==========================================
+ Hits 6159 6223 +64
Misses 3438 3438 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
RasmusSkytte
requested review from
a team,
LasseEngboChr,
SofiaOtero and
kaare-gr
and removed request for
a team
August 26, 2026 13:44
RasmusSkytte
marked this pull request as ready for review
August 26, 2026 13:44
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.
Intent
This PR fixes a pain point whenever we modify the example model used to generate the data for
DiseasySeirExamplewhich we use -- among other things -- to test our modelling framework.When we modify this model, we need to find all places in the tests that uses / modifies this model in their own tests and this is can be a rather annoying process.
Approach
A un-exported function
generate_example_seir_model()was created to produce the model used in the example data.This function has overrides to change parameters or modules to allow the tests to create small variations of this model in their tests.
Known issues
N/A
Checklist
NEWS.md