Skip to content

1386 implement influenza model#1387

Merged
annawendler merged 20 commits intomainfrom
1386-implement-influenza-model
Nov 21, 2025
Merged

1386 implement influenza model#1387
annawendler merged 20 commits intomainfrom
1386-implement-influenza-model

Conversation

@HenrZu
Copy link
Copy Markdown
Contributor

@HenrZu HenrZu commented Sep 29, 2025

Changes and Information

Please briefly list the changes (main added features, changed items, or corrected bugs) made:

  • Implement influenza model from doi.org/10.1186/s12879-017-2344-6 into our framework
  • Add flowchart and rtd documentation

If need be, add additional information and what the reviewer should look out for in particular:

Merge Request - Guideline Checklist

Please check our git workflow. Use the draft feature if the Pull Request is not yet ready to review.

Checks by code author

  • Every addressed issue is linked (use the "Closes #ISSUE" keyword below)
  • New code adheres to coding guidelines
  • No large data files have been added (files should in sum not exceed 100 KB, avoid PDFs, Word docs, etc.)
  • Tests are added for new functionality and a local test run was successful (with and without OpenMP)
  • Appropriate documentation within the code (Doxygen) for new functionality has been added in the code
  • Appropriate external documentation (ReadTheDocs) for new functionality has been added to the online documentation
  • Proper attention to licenses, especially no new third-party software with conflicting license has been added
  • (For ABM development) Checked benchmark results and ran and posted a local test above from before and after development to ensure performance is monitored.

Checks by code reviewer(s)

  • Corresponding issue(s) is/are linked and addressed
  • Code is clean of development artifacts (no deactivated or commented code lines, no debugging printouts, etc.)
  • Appropriate unit tests have been added, CI passes, code coverage and performance is acceptable (did not decrease)
  • No large data files added in the whole history of commits(files should in sum not exceed 100 KB, avoid PDFs, Word docs, etc.)
  • On merge, add 2-5 lines with the changes (main added features, changed items, or corrected bugs) to the merge-commit-message. This can be taken from the briefly-list-the-changes above (best case) or the separate commit messages (worst case).

@HenrZu HenrZu linked an issue Sep 29, 2025 that may be closed by this pull request
2 tasks
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.28%. Comparing base (0a6b7e4) to head (65f7418).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #1387    +/-   ##
========================================
  Coverage   97.27%   97.28%            
========================================
  Files         184      186     +2     
  Lines       15802    15961   +159     
========================================
+ Hits        15372    15527   +155     
- Misses        430      434     +4     

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

@HenrZu HenrZu requested a review from annawendler October 6, 2025 21:10
Copy link
Copy Markdown
Member

@annawendler annawendler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! :) Most of my comments are regarding naming of variables/parameters where I made some suggestions.

Comment thread cpp/examples/ode_seirv_example.cpp
Comment thread cpp/examples/ode_seirv_example.cpp Outdated
Comment thread cpp/models/ode_seirv/README.md
Comment thread cpp/models/ode_seirv/model.h
Comment thread cpp/models/ode_seirv/model.h Outdated
Comment thread cpp/tests/test_odeseirv.cpp Outdated
Comment thread cpp/tests/test_odeseirv.cpp Outdated
Comment thread cpp/tests/test_odeseirv.cpp Outdated
Comment thread cpp/tests/test_odeseirv.cpp
Comment thread cpp/tests/test_odeseirv.cpp Outdated
@HenrZu HenrZu requested a review from annawendler October 29, 2025 07:47
@HenrZu HenrZu mentioned this pull request Oct 30, 2025
2 tasks
@HenrZu HenrZu linked an issue Oct 30, 2025 that may be closed by this pull request
2 tasks
Copy link
Copy Markdown
Member

@annawendler annawendler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are several conversations that you resolved without making any changes or commenting. Can you add comments where you disagree so we can discuss?

Comment thread docs/source/cpp/models/oseirv.rst Outdated
Comment thread cpp/examples/ode_seirv_example.cpp Outdated
Comment thread cpp/models/ode_seirv/parameters.h Outdated
@HenrZu
Copy link
Copy Markdown
Contributor Author

HenrZu commented Nov 21, 2025

flow chart in the doc is also updated.

@HenrZu HenrZu requested a review from annawendler November 21, 2025 09:22
Copy link
Copy Markdown
Member

@annawendler annawendler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adjusting the model!

@annawendler annawendler merged commit 7a332d8 into main Nov 21, 2025
57 checks passed
@annawendler annawendler deleted the 1386-implement-influenza-model branch November 21, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement influenza model Implement an influenza model

2 participants