unilab.utils.sim2sim.resolve_sim2sim_config

unilab.utils.sim2sim.resolve_sim2sim_config(source_run_dir, target_cfg, *, algo_name=None, strict=True)[source]

Validate a target play config against the source training contract.

Returns None if source_run_dir is None; otherwise returns target_cfg unchanged (never mutated). Raises CrossBackendIncompatibleError under strict when any DENYLIST field differs, including asymmetric presence for ENV_STRUCTURAL_DENYLIST paths.

Parameters:
Return type:

DictConfig | None