Standard check function for "integer greater than value"
Open
Nobody has claimed this yet.
clean up
testing
- Dominant language
- Python
- Stars
- 29
- Forks
- 9
- Avg merge
- 9d 9h
- Merged PRs (30d)
- 8
Description
I think we have many checks for "integer greater than 1" throughout the codebase. Maybe a common function would be helpful.
Originally posted by @damonbayer in https://github.com/CDCgov/PyRenew/pull/380#discussion_r1725540375
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 PyRenew codebase for repeated checks that an integer is greater than 1 and inspect how those checks are currently expressed. Identify an appropriate shared location for the common function, then verify that the repeated checks use it consistently and that the existing behavior is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100