Spaces:
Running on Zero
Running on Zero
| """Shared infrastructure: paths, logging, validated config, seeds, provenance. | |
| These modules are imported by every phase, so they are kept free of heavy | |
| dependencies -- ``paths`` and ``seeds`` rely only on the standard library, and | |
| ``config`` needs nothing beyond PyYAML and pydantic. | |
| """ | |
| from __future__ import annotations | |
| from src.utils.config import ConfigBundle, load_config, load_configs | |
| from src.utils.logger import get_logger, log_section | |
| from src.utils.paths import PROJECT_ROOT, ensure_dirs | |
| from src.utils.seeds import set_global_seed | |
| __all__ = [ | |
| "ConfigBundle", | |
| "PROJECT_ROOT", | |
| "ensure_dirs", | |
| "get_logger", | |
| "load_config", | |
| "load_configs", | |
| "log_section", | |
| "set_global_seed", | |
| ] | |