Rtp optimizer

From egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine · View interactive version

Rtp optimizer is an AI agent skill from the GitHub repository egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine. Optimize and validate slot/casino RTP against explicit targets using simulation evidence. Use when defining RTP targets per mode, tuning paytables and feature frequencies, validating convergence from simulation runs, comparing theoretical vs empirical RTP, or preparing release sign-off with pass/fai

How to use this skill

Skill file

RTP Optimizer

Use this skill to move a game from rough math to quantifiably validated RTP.

Workflow

  1. Define targets and guardrails first.
  1. Identify controllable tuning levers.
  1. Run iterative simulation with convergence checks.
  1. Cross-check theoretical and artifact-weighted RTP.
  1. Prepare optimization sign-off.

Commands

python3 scripts/evaluate_rtp_runs.py \
  --input <runs.jsonl> \
  --target-rtp 0.9600 \
  --tolerance 0.0020

Use this command to produce deterministic convergence and pass/fail output for a run set.

Output Contract

Return:

  1. Targets: mode targets, tolerance bands, assumptions.
  2. Lever Plan: changed levers and expected RTP direction.
  3. Run Results: mean RTP, CI, drift, pass/fail verdict.
  4. Patch Plan: exact files/functions requiring edits.
  5. Residual Risks: blockers or statistical uncertainty.

References

Execution Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.