DRYify input validation
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 29
- Forks
- 9
- Avg merge
- 9d 9h
- Merged PRs (30d)
- 8
Description
Would be good to have generic functions for common input validation tasks. Even better to depend on a well-liked/tested library for this.
Example: checking for an integer > x, which happens in a non-generic way here: https://github.com/CDCgov/PyRenew/blob/afbb340ce35176c5fb4c23afc05bfa1ee777841e/pyrenew/process/differencedprocess.py#L234-L245
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
Start with the input-validation code in pyrenew/process/differencedprocess.py at lines 234–245 and inspect nearby validation patterns. Identify the common tasks that should be generalized and evaluate whether a well-liked, tested library fits; done means the agreed validation approach is defined and the existing example is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100