-
Notifications
You must be signed in to change notification settings - Fork 4
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
First pass on documentation #47
Comments
@cshelley, I would start 1 PR for checking the stuff under |
@cshelley Just flagging you here to indicate that all PRs blocking some of the documentation modification are now no longer blockers. |
I am far along with this and suspect this didn't immediately come to mind given my anchoring off of some of the existing docstrings, but I think we can replace something like with this: observed_infections: Optional[ArrayLike] = None, (where Optional comes from |
Current situation is that I need to make 2 other PRs for the |
Across some of the PRs, I will change my type-hinting behavior and default to the built-in generic types (e.g., |
Goal
Give a first pass on the documentation, ensuring all the basics are there.
Context
Agreed by the team, we want to have good documentation from the beginning of the project.
Required features
model/src/pyrenew
should:Have a docstring featuring (i) a description, (2) parameters, and (3) outputs following numpy's style.
All functions should have type hints (link)
For the latter, here is an example of a good typed hinted function:
In the case of the demos under
model/docs
, these should also be checked.__init__.py
files should have a description of the module/submodule (currently missing).Specifications
The following files under
model/src/pyrenew
should be checked:@AFg6K7h4fhy2:
latent/
model/
observation/
@cshelley
process
model/docs
.Create a single PR per checkbox. PRs should use #16 as a baseline (so either wait until it is merged or use it as a baseline when creating the branch).
The text was updated successfully, but these errors were encountered: