I recently learned about the downsides of using numpy.random.seed(seed). Some internal file can modify the seed.I read an online article that suggested I use np.random.default_rng(). But I am not sure how that works. I came across this related SO post but it did not help my understanding. Continue reading...