JuliaRandom / JuliaRandom/RandomNumbers.jl
Reseeding Xoroshiro128Plus not equivalent to creating a new one
- 主要言語
- Julia
- スター
- 100
- フォーク
- 23
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
MWE (using RandomNumbers 1.6.0)
```julia
julia> using RandomNumbers
julia> seed = 12
12
julia> rng = Xorshifts.Xoroshiro128Plus(12)
RandomNumbers.Xorshifts.Xoroshiro128Plus(0x591545ee404ceb86, 0xe9c6c533699b4284)
julia> Random.seed!(rng, 12)
RandomNumbers.Xorshifts.Xoroshiro128Plus(0x018c018c0000000c, 0x8180018000003001)
```
So, I may be misunderstanding what should happen here, but from the `Random.seed!` doc string I would have expected the two objects to be the same.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the Julia MWE with Xoroshiro128Plus and compare the constructor with Random.seed! for the same seed. Trace the relevant entry points and add coverage showing the intended equivalence; done means reseeding an existing generator produces the same state as constructing a new one.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- julia
- 領域
- data
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100