Standardize variable names for conditional probabilities and delay distributions
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 29
- Forks
- 9
- Avg merge
- 9d 9h
- Merged PRs (30d)
- 8
Description
Originally posted by @dylanhmorris in https://github.com/CDCgov/PyRenew/pull/398#discussion_r1727886199
We have agreed to standardize on p_x_given_y for conditional probabilities (ex: infection hospitalization rate would be p_hospital_admission_given_infection) and delay_x_to_y_pmf for delay distributions (ex: infection to hospital admission delay would be delay_infection_to_hospital_admission_pmf.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for conditional-probability and delay-distribution variable names, then identify the affected Python modules and tests. Rename them to the agreed p_x_given_y and delay_x_to_y_pmf forms, update all references, and run the relevant test suite to confirm the standardization is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100