I’m not sure we understand each other. Let’s say that I put set_seed(5) outside the range loop, I would expect all ten runs to have the same result. This is not the case. When I put set_seed(5) inside the range loop, it does work as expected. Does that mean the seed changes over time?
I did find that manual seed returns a generator 8, which does explain this behaviour.