Files
AIHostingTycoon/.gitea/workflows/balance-check.yml
T
josh 416b6bfe8d
Balance Check / balance-simulation (push) Successful in 11m19s
Balance Check / multi-run-balance (push) Has been cancelled
CI / build-and-push (push) Successful in 40s
Add research money costs, longer research times, era-scaled talent costs, and persona strategy
Research now costs money (drained per-tick) with ~2.5-3.5x longer durations by category.
Early-game talent budget costs reduced via era multiplier (startup 0.2x → bigtech 1.0x).
New seed-driven PersonaStrategy with 8 axes of variation for meaningful multi-run testing.
CI multi-run switched from greedy to persona strategy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-26 16:14:27 -04:00

62 lines
1.5 KiB
YAML

name: Balance Check
on:
push:
branches: [main]
paths:
- 'packages/shared/src/constants/**'
- 'packages/game-engine/src/**'
- 'packages/game-simulation/**'
pull_request:
branches: [main]
paths:
- 'packages/shared/src/constants/**'
- 'packages/game-engine/src/**'
- 'packages/game-simulation/**'
jobs:
balance-simulation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test
- name: Run greedy simulation
run: pnpm --filter @ai-tycoon/game-simulation simulate:ci
multi-run-balance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- 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 2 --strategy persona --ticks 28800 --no-timeseries
- name: Interpret results
if: always()
run: pnpm --filter @ai-tycoon/game-simulation interpret -- --summary multirun-summary.csv