sage.core.seed
Filename : seed.py Description : Short description of the file
Created on 2026-01-19 23:34:03
__author__ = Narenraju Nagarajan __copyright__ = Copyright 2026, ProjectName __license__ = MIT Licence __version__ = 0.0.1 __maintainer__ = Narenraju Nagarajan __affiliation__ = N/A __email__ = N/A __status__ = [‘inProgress’, ‘Archived’, ‘inUsage’, ‘Debugging’]
GitHub Repository: NULL
Documentation: NULL
Classes
Central seed manager for reproducible experiments. |
Module Contents
- class SeedManager(seed)[source]
Central seed manager for reproducible experiments.
Seeds Python’s
random, NumPy’s global RNG, and exposes a dedicatednumpy.random.Generatorinstance (self.rng) that is isolated from the global state. Child generators derived viaspawn()are deterministic functions of the root seed and a name string, enabling independent reproducible streams for different pipeline components without interfering with each other.- Parameters:
seed (int) – Root random seed. All child generators are derived from this value.