Synchronised RNG seeded reproducibly for cross-language workflows
Source:R/longitudinal_sim.R
morie_sync_rng.RdReturns a function that mimics stats::runif but is seeded
from seed. Pairs with morie.longitudinal_sim.sync_rng
on the Python side so the two emit identical streams when given the
same seed.