Skip to main content

Module seed

Module seed 

Source
Expand description

Deterministic seed computation for reproducible simulations.

When no explicit --seed is provided, a seed is derived from the simulation parameters so that identical inputs always produce identical output across runs and processes.

Functionsยง

compute_seed
Compute a deterministic seed by hashing a string description of the simulation parameters.
resolve_seed
Resolve the effective seed: use the explicit seed if provided, otherwise derive one from the given parameter description string.