chalmerlowe / chalmerlowe/data_generator
Simplify code for selection of random integers...
Open
- Dominant language
- Python
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
The code in the create_payload_size function uses `random.choice(range(1, 1000000))` to get a random integer...
correct this to use instead:
`random.randint(1, 10000000)`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the create_payload_size function and read how it currently obtains a random integer with random.choice(range(1, 1000000)). Replace that selection with the specified random.randint(1, 10000000) call, then verify that the function produces values within the requested range.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100