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

Rename SeedInfectionsExponential For Clarity #251

Merged
merged 3 commits into from
Jul 8, 2024

Conversation

AFg6K7h4fhy2
Copy link
Collaborator

@AFg6K7h4fhy2 AFg6K7h4fhy2 commented Jul 8, 2024

This PR seeks to rename the class SeedInfectionsExponential so that users of MSR do not take exponential here to mean involving Exponential distributions but instead take exponential to mean relating to an exponential growth model.

@AFg6K7h4fhy2 AFg6K7h4fhy2 linked an issue Jul 8, 2024 that may be closed by this pull request
@AFg6K7h4fhy2 AFg6K7h4fhy2 changed the title Rename For Clarity Rename SeedInfectionsExponential For Clarity Jul 8, 2024
@AFg6K7h4fhy2 AFg6K7h4fhy2 self-assigned this Jul 8, 2024
@AFg6K7h4fhy2 AFg6K7h4fhy2 added the clean up Good code that could be better label Jul 8, 2024
@AFg6K7h4fhy2 AFg6K7h4fhy2 added this to the N Sprint milestone Jul 8, 2024
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.69%. Comparing base (c347ba3) to head (affe799).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #251   +/-   ##
=======================================
  Coverage   92.69%   92.69%           
=======================================
  Files          40       40           
  Lines         904      904           
=======================================
  Hits          838      838           
  Misses         66       66           
Flag Coverage Δ
unittests 92.69% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@damonbayer
Copy link
Collaborator

I would prefer SeedInfectionsExponentialGrowth over SeedInfectionsViaExpGrowth

@AFg6K7h4fhy2
Copy link
Collaborator Author

SeedInfectionsExponentialGrowth

Okay, will do.

@AFg6K7h4fhy2 AFg6K7h4fhy2 marked this pull request as ready for review July 8, 2024 18:26
@damonbayer damonbayer merged commit 5380151 into main Jul 8, 2024
8 checks passed
@damonbayer damonbayer deleted the 236-UPX3-rename-seedinfectionsexponential branch July 8, 2024 18:32
gvegayon added a commit that referenced this pull request Jul 10, 2024
* Fix docstring for compute_infections_from_rt_with_feedback() (#246)

* Update actions/upload-artifact version in website.yaml (#247)

* Rename `SeedInfectionsExponential` For Clarity (#251)

* name change SeedInfectionsExponential to SeedInfectionsViaExpGrowth

* last changed name in __init__ in latent

* rename

* Changing `Model.sample` To `Model.model` (#248)

* initial changes for purposes of creating PR

* alias for sample for use in NUTS kernel

* change back pyproject.toml file

* remove placeholder text

* predictive call changed from sample to model

* Pyrenew tutorial review (#191)

* test commit

* add prereq and install instructions, rename hospital_admissions_model

* add an example showing sample extraction in the basic model

* refer tutorials in getting started

* remove link from code

* add new/changed tutorials to index

* clarify python version req

* review suggestion

* consistent capitalization

* re-arranging tutorial

* title change

---------

Co-authored-by: damonbayer <xum8@cdc.gov>

* Add RST to makefile (#250)

* Add RST to makefile

* fix make for .py tutorials

* fix make for ipynb

* use python script for post-processing rst files

* use python script for post processing rst in github action

* fix for numpydoc with post_process_rst

* numpydocs post_process_rst

* error if not rst file

* correct path for post_process_rst

* add arviz plot for posterior predictive (#234)

* add arviz plot for posterior predictive

* add ppc_plot to hosp_model

* test prior/posterior_predictive plots

* Damon check in

* add plot_ppc, plot_lm

* fix tests

* formatting

* more formatting

* fix plot_lm output issue

* suggestion from code review

Co-authored-by: Damon Bayer <xum8@cdc.gov>

* Update example_with_datasets.qmd

* change plot_lm kwargs

* add details on plot_ppc, fig labels and titles

* add figure descriptions

* code review suggestions

Co-authored-by: Damon Bayer <xum8@cdc.gov>

* remove link from code

* formatting

* add prior predictive plot, sample without warning

* add prior predictive plot

* fix typo

* change order of prior/posterior pred distributions

---------

Co-authored-by: damonbayer <xum8@cdc.gov>

---------

Co-authored-by: Dylan H. Morris <dylanhmorris@users.noreply.github.com>
Co-authored-by: upx3—TM (CFA) <127630341+AFg6K7h4fhy2@users.noreply.github.com>
Co-authored-by: Subekshya Bidari <37636707+sbidari@users.noreply.github.com>
Co-authored-by: damonbayer <xum8@cdc.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean up Good code that could be better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename SeedInfectionsExponential
2 participants