feat: position rotation every 10 games in self-play

--mix-rotate: 每10局轮换bot排列
[ISMCTS,ISMCTS,NEURAL] → [NEURAL,ISMCTS,ISMCTS] → [ISMCTS,NEURAL,ISMCTS]
Neural 三个位置都练到, 数据分布平衡
orchestrator改用--mix-rotate替换--mix
This commit is contained in:
2026-07-13 11:28:45 +08:00
parent 4e6ad234da
commit dc17c0f464
2 changed files with 16 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def selfplay(games):
env['PATH'] = f"/usr/lib/dotnet:{env.get('PATH','')}"
ok, out = run(['/usr/lib/dotnet/dotnet', 'run', '--project', 'hjha-console', '-c', 'Release',
'--', '--mix', str(games)], to=max(36000, games*2))
'--', '--mix-rotate', str(games)], to=max(36000, games*2))
csv = len(glob.glob(os.path.join(td, 'game_*.csv')))
sf = os.path.join(HJHA_DIR, 'stress_summary.txt')