gcubed.baseline_shl_migration
Stage and atomically migrate generated baseline SHL projections.
The operation constructs a model only in a disposable copy. It promotes the validated SHL block and leaves every other canonical model file untouched.
@dataclass(frozen=True)
class
BaselineShlMigrationResult:
Describe one successfully promoted SHL baseline block.
Generate SHL in a disposable model copy and promote only that block.
The explicit generation call makes this independent of the destination's
preserve_baseline_exogenous_projections_file setting. Any regenerated
labour-productivity file must remain byte-identical to the canonical input
copied into staging, preventing promotion from temporary inputs that would
be discarded.
def
main(argv: Sequence[str] | None = None) -> int:
Run one explicit staged baseline SHL migration.
G-Cubed