The workspace’s two sources of non-determinism, the wall clock and the RNG, behind mockable handles so a seeded run reproduces the same trace. Reaching into std for either instead defeats DST replay.
std