The behavior should match NumPy: ```python In [39]: np.random.rand(3) Out[39]: array([0.55131477, 0.71946897, 0.42310646]) In [40]: np.random.seed(123) In [41]: np.random.rand(3) Out[41]: array([0.69646919, 0.28613933, 0.22685145]) In [42]: np.random.seed(123) In [43]: np.random.rand(3) Out[43]: array([0.69646919, 0.28613933, 0.22685145]) In [44]: np.random.rand(3) Out[44]: array([0.55131477, 0.71946897, 0.42310646]) In [45]: np.random.rand(3) Out[45]: array([0.9807642 , 0.68482974, 0.4809319 ]) ```
Activity
drculhane commentedon Aug 14, 2025
For what it's worth, the first challenge I see here is that, as far as I can tell, chapel randomStreams can't be reseeded once created.
Closes 4777, creating a global seed (#4848)