Skip to content

Age groups#276

Merged
laraherriott merged 12 commits into
mainfrom
age_groups
Jun 27, 2025
Merged

Age groups#276
laraherriott merged 12 commits into
mainfrom
age_groups

Conversation

@laraherriott

Copy link
Copy Markdown
Contributor

Summary

Added a new function to update the age groups after manually assigning ages to children in households of three people or more.

Further work

NA

Checklist

  • All new functions have docstrings in the correct style

  • I've verified the complete docs build locally without errors

  • I've maintained 100% coverage (please mention any 'no cover' annotations explicitly)

  • I've unit-tested all new methods directly

  • [] Breaking change (fix or feature that would cause existing functionality to change)

  • [] I have read the CONTRIBUTING document.

  • [] My code follows the code style of this project.

  • [] I have updated the wiki with new parameters/model functionality

@codecov

codecov Bot commented Jun 26, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bb71853) to head (3162fbd).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #276   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          110       110           
  Lines         4074      4079    +5     
=========================================
+ Hits          4074      4079    +5     

☔ 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.

@laraherriott laraherriott requested a review from KCGallagher June 26, 2025 12:13
Comment thread pyEpiabm/pyEpiabm/core/person.py Outdated

@KCGallagher KCGallagher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All looks good! Though, just to check, have you plotted the age histograms by both age and age group to confirm that they match?

@laraherriott laraherriott merged commit ed45016 into main Jun 27, 2025
17 checks passed
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.

2 participants