From d29b3d60bba0f0763ad55ecde93e6a388d2e87d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=8B=9C=EC=9B=90?= Date: Thu, 7 May 2026 01:15:34 +0900 Subject: [PATCH] =?UTF-8?q?Deep=20CFR=20=EC=9E=AC=ED=98=84=20config=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...p_cfr_selfplay_full_depth_slot_playability.yaml} | 4 ++-- docs/deep-cfr-legacy-experiment-reproduction.md | 4 ++++ tests/games/classic/test_deep_cfr_trainer.py | 13 ++++--------- 3 files changed, 10 insertions(+), 11 deletions(-) rename configs/deep_cfr/{pure_self_play_zero_pit_poc_full_depth_slot_aware_playability.yaml => deep_cfr_selfplay_full_depth_slot_playability.yaml} (90%) diff --git a/configs/deep_cfr/pure_self_play_zero_pit_poc_full_depth_slot_aware_playability.yaml b/configs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability.yaml similarity index 90% rename from configs/deep_cfr/pure_self_play_zero_pit_poc_full_depth_slot_aware_playability.yaml rename to configs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability.yaml index 7b39795..453a933 100644 --- a/configs/deep_cfr/pure_self_play_zero_pit_poc_full_depth_slot_aware_playability.yaml +++ b/configs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability.yaml @@ -1,5 +1,5 @@ run: - experiment_name: lost_cities_deep_cfr_pure_self_play_zero_pit_poc_full_depth_slot_aware_playability + experiment_name: lost_cities_deep_cfr_selfplay_full_depth_slot_playability seed: 79 max_iterations: null max_hours: 4 @@ -82,7 +82,7 @@ evaluation: - noisy_safe checkpoint: - directory: runs/deep_cfr/pure_self_play_zero_pit_poc_full_depth_slot_aware_playability + directory: runs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability save_every_iteration: false save_iteration_interval: 10 save_latest_only: false diff --git a/docs/deep-cfr-legacy-experiment-reproduction.md b/docs/deep-cfr-legacy-experiment-reproduction.md index 559480b..209203c 100644 --- a/docs/deep-cfr-legacy-experiment-reproduction.md +++ b/docs/deep-cfr-legacy-experiment-reproduction.md @@ -13,6 +13,10 @@ Exact legacy YAML compatibility is not required. It is acceptable to create a new config file under this repository as long as every relevant legacy hyperparameter is represented explicitly and the differences are documented. +Mapped config in this repository: + +`configs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability.yaml` + ## Source Experiment Legacy config path: diff --git a/tests/games/classic/test_deep_cfr_trainer.py b/tests/games/classic/test_deep_cfr_trainer.py index 91b7aee..9c0c610 100644 --- a/tests/games/classic/test_deep_cfr_trainer.py +++ b/tests/games/classic/test_deep_cfr_trainer.py @@ -32,11 +32,9 @@ def test_deep_cfr_loads_smoke_yaml_config() -> None: def test_deep_cfr_loads_mapped_legacy_reproduction_config() -> None: - config = load_config( - "configs/deep_cfr/pure_self_play_zero_pit_poc_full_depth_slot_aware_playability.yaml" - ) + config = load_config("configs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability.yaml") - assert config.run.experiment_name.endswith("slot_aware_playability") + assert config.run.experiment_name.endswith("slot_playability") assert config.run.seed == 79 assert config.run.max_iterations is None assert config.run.max_hours == 4 @@ -57,8 +55,7 @@ def test_deep_cfr_loads_mapped_legacy_reproduction_config() -> None: assert config.evaluation.on_max_steps == "score_diff" assert config.checkpoint.save_iteration_interval == 10 assert ( - config.checkpoint.directory - == "runs/deep_cfr/pure_self_play_zero_pit_poc_full_depth_slot_aware_playability" + config.checkpoint.directory == "runs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability" ) @@ -79,9 +76,7 @@ def test_deep_cfr_train_cli_count_overrides_disable_duration_limits() -> None: "no_save": True, }, )() - config = load_config( - "configs/deep_cfr/pure_self_play_zero_pit_poc_full_depth_slot_aware_playability.yaml" - ) + config = load_config("configs/deep_cfr/deep_cfr_selfplay_full_depth_slot_playability.yaml") overridden = _with_overrides(config, _train_overrides_from_args(args))