CDCgov / CDCgov/PyRenew

Standard check function for "integer greater than value"

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.