chalmerlowe / chalmerlowe/data_generator

Simplify code for selection of random integers...

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.