zenigame-fx-calibrate-gate

Compute Stage A gate pass rate from archive Parquet and update threshold in default.yaml.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/kent013/zenigame-fx --skill zenigame-fx-calibrate-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zenigame-fx-calibrate-gate
Source: https://github.com/kent013/zenigame-fx/tree/main/.claude/skills/zenigame-fx-calibrate-gate
Command: npx skills add https://github.com/kent013/zenigame-fx --skill zenigame-fx-calibrate-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill computes the Stage A gate pass rate from the previous run's archived Parquet data and determines a deterministic threshold to adjust stage_gate.stage_a.threshold for the next run.

Core Features & Use Cases

  • Deterministic threshold calibration using archive data to ensure stable Stage A behavior across runs.
  • Writes updates to config/alpha_factory/default.yaml and reports results via structured logs.
  • Works with run_id overrides and supports a dry-run mode to validate changes without applying them.

Quick Start

Run the calibration script to update the Stage A threshold for the next run.

Frequently Asked Questions about zenigame-fx-calibrate-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deterministically calibrate a stage gate threshold from Parquet archive data?

Stage gate threshold calibration computes the pass rate from a previous run's archive Parquet to determine a deterministic threshold. It updates the stage_gate.stage_a.threshold in config/alpha_factory/default.yaml for the next run, ensuring stable behavior.

What Parquet schema is required for computing the Stage A gate pass rate?

Computing the Stage A gate pass rate requires the archive Parquet to match the expected schema. The calibration script validates the input data structure and reports explicit exit codes for various error states if the schema does not match.

Can I override the run ID when calibrating the stage gate threshold?

Yes, stage gate threshold calibration supports a run-id override. This allows you to compute the deterministic threshold from a specific previous run's archive Parquet instead of the default latest run.

Why does my stage gate calibration fail with an error state during the config update?

Stage gate calibration fails with explicit exit codes for various error states, typically caused by an archive Parquet schema mismatch or missing config/alpha_factory/default.yaml. Check the JSONL logs to identify the specific validation failure.