JuliaRandom / JuliaRandom/StableRNGs.jl
Feature request: make `randperm` stable
Open
- Dominant language
- Julia
- Stars
- 76
- Forks
- 10
- Avg merge
- 20m
- Merged PRs (30d)
- 1
Description
I am assuming that the following code should produce the exact same results in Julia v1.12 and v1.13:
```julia
using Random
using StableRNGs
rng = StableRNG(123)
randperm(rng, 9)
```
Am I missing something?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the randperm(rng, 9) example with StableRNG on Julia v1.12 and v1.13, then inspect the randperm entry point and its version-specific behavior. Done means the same StableRNG seed produces identical permutations across both Julia versions, with tests covering the compatibility case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100