fix: enable ML decision logging in multi-thread batch path

This commit is contained in:
KoalaTrapLord authored and GitHub committed 2026-03-23 18:58:14 -04:00
1 parent b37968e3c2
commit 7036c9568f
1 file changed
+6
@@ -344,6 +344,12 @@ public class LabCli implements Callable<Integer> {
mtRunner.setAiOptimization(aiSimplified, aiThinkTimeMs);
if (maxQueueDepth > 0) {
mtRunner.setMaxQueueDepth(maxQueueDepth);
}
// v4: Enable ML decision logging if requested
if (mlLog) {
String batchId = UUID.randomUUID().toString().substring(0, 8);
mtRunner.enableMlLogging("results", batchId);
System.out.println("[ML] Decision logging enabled (multi-thread) — data will be saved to results/");
}
games = mtRunner.runBatch(numGames, masterSeed);
} else {