def run_experiment_from_configs(
    config_dir: Path, main_config: str, *auxiliary_configs: str
) -> None:
    """Runs experiment from config (for Config API tests)."""
    main_config = str(config_dir / main_config)
    auxiliary_configs = " ".join(str(config_dir / c) for c in auxiliary_configs)

    script = Path("catalyst", "contrib", "scripts", "run.py")
    cmd = f"python {script} -C {main_config} {auxiliary_configs}"
    subprocess.run(cmd.split(), check=True)
Runs experiment from config (for Config API tests).
tests/misc.py