# Game Playtest Prediction & Calibration

> Build an offline model for one observable game rule, freeze its prediction, compare an independently observed outcome, and diagnose deviations. Includes runnable Python tools, an original microgame, and reproducible calibration reports.

Game Playtest Prediction & Calibration is a free AI agent skill on Agensi by YUXIANG WU, in Game Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [YUXIANG WU](https://www.agensi.io/creators/yuxiang-wu)
- Category: [Game Development](https://www.agensi.io/skills/game-development)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/game-playtest-prediction-calibration
- Tags: gaming, python, testing, data-analysis, simulation

## About this skill

Turn one observable game rule or repeatable decision into an auditable playtest experiment.

This skill guides your agent through defining a small model, preserving the input and prediction before execution, capturing the actual outcome independently, and producing a deviation report. It helps distinguish a misread input, an implementation defect, and a missing rule.

### What you receive
- A reusable workflow for your own game, with English quickstart and explicit JSON formats.
- A Python comparison tool that freezes predictions, tracks source hashes, checks required metrics and units, preserves unknowns, and refuses to overwrite evidence.
- Lantern Courier, an original deterministic microgame with separate predictor and executable game engine.
- Raw boards, normalized inputs, contracts, saved predictions, independently executed outcomes, and JSON/Markdown reports for matches, intentional mismatches, corrections and a reserved-state check.

### How it works
1. Preserve a raw state and define the selected action, game version, outputs and tolerances.
2. Run your model and freeze the prediction before the game action.
3. Execute the game or an independent harness and capture its actual result.
4. Compare required metrics, investigate the evidence, revise one justified assumption, and rerun the same input plus a reserved state.

### Verified scope
The included package was extracted into a clean directory and replayed using its public quickstart: all 9 demonstration cases produced the documented results. Separately located and renamed temporary scripts passed the core workflow. The portable tools passed 14 behavioral tests, including rejection of mismatched evidence and missing values. Actual execution was on macOS with Python 3.14.4.

### Boundaries
Designed for finite numeric outputs, exact labels and booleans. You supply your own game rules, model and actual observations. It does not automatically observe a game, perform OCR, discover all mechanics, optimize whole-game strategy or validate random distributions and long-term balance. The demo discrepancies are intentionally introduced and clearly labeled. The model and game engine are separate implementations authored in the same task, not independent human certification.

No Steam, ai_test checkout, account, API key, network call or third-party Python package is required for the included workflow.

## Requires

- Python 3.10+

## Known limitations

Validates a declared observable rule and tested states, not an entire game. Scalar numbers, booleans and strings only. No bundled OCR, live game control, hidden-state inference or statistical validation of random outcomes. Windows/Linux not yet runtime-tested.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Game Playtest Prediction & Calibration skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Do I need ai_test, Steam or a paid API?

No. The standalone tools and original demo use only Python 3.10+ and its standard library. Your agent needs local execution and file access.

### Can I use this with my own game?

Yes. Supply a small model for your rule, a normalized input and comparison contract, then capture actual results independently from your game or authoritative harness. The comparator has no Lantern Courier field dependencies.

### Does a match prove the model is correct?

A match supports only the tested state, rules and required metrics. Preserve unknowns, rerun counterexamples, and use a reserved state. Random distributions and long-term outcomes need a separate validation design.

### Which environments have been tested?

Actual execution was tested on macOS with Python 3.14.4, from a clean extracted ZIP and with separately located temporary scripts. The code targets Python 3.10+ standard library. Native Windows and Linux execution has not yet been verified.

### What do the source hashes guarantee?

They identify the bytes used in the saved input, model, prediction and observation, and prevent accidental evidence mismatches. They do not prove source authenticity, correct transcription, independent authorship or complete game rules.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
