-
Notifications
You must be signed in to change notification settings - Fork 3
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
Write model run outputs #41
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files📢 Thoughts on this report? Let us know! |
b329b8f
to
4681589
Compare
02fec28
to
cb634e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks great!
Had one or two questions, but overall love the high code quality, general readability, and the nice thick set of tests.
Note on this that I don't know that there is an issue describing the plan for this PR (?) so in reviewing I am somewhat unsure what the goals are. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part way through.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm halfway through. Will resume later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like good things happening here. Somewhat hard to say with how large it is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still need to finish going through test-write-output.R, but I don't have any blocking concerns at this point!
To fix weirdness with unicode parsing error from.....somewhere?
Co-authored-by: Adam Howes <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: Katie Gostic (she/her) <[email protected]>
Co-authored-by: Adam Howes <[email protected]>
Co-authored-by: Katie Gostic (she/her) <[email protected]>
Co-authored-by: Katie Gostic (she/her) <[email protected]>
589324e
to
b4f1089
Compare
ee4dd2f
to
5e92d5a
Compare
467a01b
to
4287bf1
Compare
The failing check is a known, unrelated issue. It's being handled in #60 |
* Ignore CI/CD stuff in Rbuildignore * Extract diagnostics from fitted model * Basic output schema * Use `.pre-commit.config.yaml` from main To fix weirdness with unicode parsing error from.....somewhere? * Update output schema * Bump NEWS * Bump NEWS * Expand on readme * Use setequal for column name checks h/t @natemcintosh * Apply suggestions from code review Co-authored-by: Adam Howes <[email protected]> * Update with Adam's review * Update R/write_output.R * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update R/extract_diagnostics.R Co-authored-by: Katie Gostic (she/her) <[email protected]> * Add alert with dates for low case count diagnostic * Apply suggestions from code review Co-authored-by: Adam Howes <[email protected]> * Use new R-universe Stan repository * Update README.md Co-authored-by: Katie Gostic (she/her) <[email protected]> * Update README.md Co-authored-by: Katie Gostic (she/her) <[email protected]> * Condense dir creation * Expose quantiles for summarization * Save the description of the different EpiNow2 params * Add comment explaining why dates work * Clarify comment on EpiNow2 param outputs * Add `reports` to output --------- Co-authored-by: Adam Howes <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Katie Gostic (she/her) <[email protected]>
At long last, the output schema PR is ready to go. There are a few actions failing; these should be ignored (see #49). I'm sorry about the size here -- it's really much fewer than ~1200 lines of code, but still not awesome of me.
These are the functions and documentation to go from fitted EpiNow2 model to a directory of outputs ready to be uploaded to Azure Blob. I feel good about all the functionality and that the schema includes most of what we want (in particular both pre- and post-nowcast cases).
It would be particularly helpful to get review on: