MeteoSwiss / MeteoSwiss/probtest
Update numpy legacy calls for generating random numbers
Open
- Dominant language
- Python
- Stars
- 1
- Forks
- 9
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Description
`perturb_array` uses legacy calls (`np.random.seed`, `np.random.rand`) to generate series of random numbers, use a generator explicity.
https://numpy.org/doc/stable/reference/random/generated/numpy.random.seed.html
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the perturb_array function and inspect how it currently calls np.random.seed and np.random.rand. Replace the legacy random-number usage with an explicit generator, then verify that the generated series still behaves as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100