Skip to content

Conversation

ecsmyth
Copy link
Collaborator

@ecsmyth ecsmyth commented Mar 24, 2020

  • Adds daily_growth and daily_growth_t instance attributes on Parameters class.
  • Adds daily_growth_helper function to src/penn_chime/parameters.py to calculate daily growth rate as a function of doubling time.
  • Updates display_header function in src/penn_chime/presentation.py to display initial and mitigated daily growth rates.
  • Adds test_daily_growth test to tests/test_app.py to test above changes

Fixes #90

Eric Smyth added 2 commits March 23, 2020 18:49
…rameters` class.

- Adds `daily_growth_helper` function to `src/penn_chime/parameters.py` to calculate daily growth rate as a function of doubling time.
- Updates `display_header` function in `src/penn_chime/presentation.py` to display initial and mitigated daily growth rates.
- Adds `test_daily_growth` test to `tests/test_app.py` to test above changes

Fixes #90
@ecsmyth ecsmyth changed the title Add implied daily growth rate WIP: Add implied daily growth rate Mar 24, 2020
@ecsmyth
Copy link
Collaborator Author

ecsmyth commented Mar 24, 2020

Set to WIP. I neglected to add tests for the daily_growth_helper. I'll get to that tonight.

… to include test for daily growth when halving
@ecsmyth ecsmyth changed the title WIP: Add implied daily growth rate Add implied daily growth rate Mar 24, 2020
@ecsmyth
Copy link
Collaborator Author

ecsmyth commented Mar 24, 2020

Added tests for daily_growth_helper and re-ran commit checks due to Cypress intermittent failure (issue #214)

@quinn-dougherty quinn-dougherty added this to the Release: v.0.1.0 milestone Mar 24, 2020
Copy link
Collaborator

@cjbayesian cjbayesian left a comment

Choose a reason for hiding this comment

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

Awesome. I checked it out and tested locally. Looks perfect.

Copy link
Collaborator

@sam-writer sam-writer left a comment

Choose a reason for hiding this comment

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

LGTM

@mdbecker
Copy link
Collaborator

@ecsmyth I'm pulling this out of the 1.0 release so that you can resolve the merge conflict. Thanks!

@mdbecker mdbecker self-requested a review March 24, 2020 19:24
Copy link
Collaborator

@mdbecker mdbecker left a comment

Choose a reason for hiding this comment

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

Please resolve merge conflicts and we'll pull this into the next release

@mdbecker mdbecker removed this from the Release: v1.0 milestone Mar 24, 2020
Eric Smyth added 4 commits March 24, 2020 19:35
…rameters` class.

- Adds `daily_growth_helper` function to `src/penn_chime/parameters.py` to calculate daily growth rate as a function of doubling time.
- Updates `display_header` function in `src/penn_chime/presentation.py` to display initial and mitigated daily growth rates.
- Adds `test_daily_growth` test to `tests/test_app.py` to test above changes

Fixes #90
@ecsmyth ecsmyth requested a review from mdbecker March 25, 2020 02:49
Copy link
Collaborator Author

@ecsmyth ecsmyth left a comment

Choose a reason for hiding this comment

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

The current commit addresses the merge conflict. I pushed again after rebasing on develop post PR 208.

@quinn-dougherty
Copy link
Collaborator

Becker's requested change is just resolving merge conflicts, which are fine, so we're gonna merge in

@quinn-dougherty quinn-dougherty merged commit 0bc279d into develop Mar 26, 2020
@quinn-dougherty quinn-dougherty deleted the issue_90 branch March 26, 2020 16:07
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.

Add implied percentage daily growth rate
5 participants