Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-baked scenarios #16

Merged
merged 6 commits into from
Dec 4, 2024
Merged

Pre-baked scenarios #16

merged 6 commits into from
Dec 4, 2024

Conversation

afmagee42
Copy link
Contributor

@afmagee42 afmagee42 commented Dec 4, 2024

Adds a drop-down bar that populates a hard-coded number of vaccines as a combination of two choices:

  • All kids (high/low)
  • All core (high/low)
  • Evenly among all groups (high/low)

Where the first part distinguishes the relative proportion of vaccines handed out, and high/low distinguishes how many vaccines are given out. Low is 100k and high is 200k. Changes to make high higher are currently ill-advised because they would give defaults which are unphysical.

This PR also changes vaccine allocation from #/group to total # and %/group. The only way I could reliably get streamlit to make sure this adds up to 100% is to allow specification only into two groups (wlog the first two) and make the last one the remainder.

@afmagee42 afmagee42 requested review from swo and paigemiller December 4, 2024 15:04
@paigemiller paigemiller self-requested a review December 4, 2024 21:03
@afmagee42 afmagee42 merged commit fdbd4fb into main Dec 4, 2024
2 checks passed
@afmagee42 afmagee42 deleted the afm-prepopulate branch December 4, 2024 22:54
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