CDCgov / multisignal-epi-inference

Python package for statistical inference and forecast of epi models using multiple signals
https://cdcgov.github.io/multisignal-epi-inference/
9 stars 1 forks source link

Fix offset in Hospital Admissions Model Figures and clean up code #186

Closed damonbayer closed 2 weeks ago

damonbayer commented 2 weeks ago

Closes https://github.com/CDCgov/multisignal-epi-inference/issues/167, but in an imperfect way. We need a better system for handling offsets/padding throughout the project. This is an okay fix for now to get the tutorial looking nice.

A more robust implementation should be addressed when working on https://github.com/CDCgov/multisignal-epi-inference/issues/185.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.75%. Comparing base (f68bea6) to head (475ea8f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #186 +/- ## ======================================= Coverage 94.75% 94.75% ======================================= Files 39 39 Lines 839 839 ======================================= Hits 795 795 Misses 44 44 ``` | [Flag](https://app.codecov.io/gh/CDCgov/multisignal-epi-inference/pull/186/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/CDCgov/multisignal-epi-inference/pull/186/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov) | `94.75% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.