CDCgov / CDCgov/PyRenew

Standardize variable names for conditional probabilities and delay distributions

Open
#410 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

clean up
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.