Skip to content

Monte-Carlo balance harness & CI assertions #582

@SorraTheOrc

Description

@SorraTheOrc

Summary: Run monte-carlo balance sweep with expanded pool and add strict, machine-checkable balance assertions in CI.

Acceptance Criteria

  • Monte Carlo harness runs with expanded pool and writes aggregate metrics.
  • CI enforces: no deck starvation; 100% game completion across seeds; average coin-per-turn change vs baseline within ±15%; aggregate win-rate delta within ±10%.
  • If thresholds exceeded, CI fails and surface actionable metrics in results artifacts.

Minimal implementation:

  • Update market.integration.test.ts or add new test to run monte-carlo sweep and assert thresholds.
  • Run smaller local sweep (e.g., 200 seeds) to tune thresholds before full CI.

Deliverables: updated monte-carlo tests, result artifacts, CI gating config.

Dependencies: CG-0MP1QZF7V001TWRY (Integration), CG-0MP1QZHPO003OVU5 (Unit tests & schema).},

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions