diff --git a/.gitea/workflows/balance-check.yml b/.gitea/workflows/balance-check.yml index f04a13d..fdfe0ee 100644 --- a/.gitea/workflows/balance-check.yml +++ b/.gitea/workflows/balance-check.yml @@ -53,8 +53,8 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Run multi-simulation (5 runs) - run: pnpm --filter @ai-tycoon/game-simulation multirun -- --runs 5 --parallel 5 --strategy persona --ticks 28800 --no-timeseries + - name: Run multi-simulation (100 runs) + run: pnpm --filter @ai-tycoon/game-simulation multirun -- --runs 100 --parallel 10 --strategy persona --ticks 28800 --no-timeseries - name: Interpret results if: always() diff --git a/packages/game-simulation/src/worker.ts b/packages/game-simulation/src/worker.ts index f4f9d22..655622e 100644 --- a/packages/game-simulation/src/worker.ts +++ b/packages/game-simulation/src/worker.ts @@ -21,8 +21,6 @@ const strategy = strategyName === 'random' ? new RandomStrategy() : strategyName === 'persona' ? new PersonaStrategy(seed) : new GreedyStrategy(); -process.stderr.write(`[Run #${runId}] Starting (seed ${seed}, ${totalTicks} ticks, ${strategyName})...\n`); - const result = runSimulation({ totalTicks, decisionInterval, @@ -30,10 +28,6 @@ const result = runSimulation({ seed, verbose: false, silent: true, - onProgress: (tick, total, era) => { - const pct = ((tick / total) * 100).toFixed(0); - process.stderr.write(`[Run #${runId}] ${pct}% (tick ${tick.toLocaleString()}/${total.toLocaleString()}) — ${era}\n`); - }, }); const report = generateJsonReport(result, { totalTicks, decisionInterval, strategy, seed });