界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

reference_summary_checks

reference_summary_checks

【效率与协作】Load posteriordb reference posterior summaries and validate numeric quality fields for benchmark targets.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: reference_summary_checks description: Load posteriordb reference posterior summaries and validate numeric quality fields for benchmark targets.

Reference Summary Checks

Use this skill when a benchmark needs deterministic reference posterior summaries, especially posterior means and optional MCSE values, from a posteriordb-style snapshot. Do not use it to certify full MCMC quality when only summary files are available.

Inputs

  • summary_path: JSON file containing parameter names and numeric summary values.
  • Optional reference_info_path: JSON metadata describing the reference posterior source and diagnostics.
  • Optional statistic: summary vector key, defaulting to mean_value.

Outputs

  • A JSON report with valid, statistic, values, mcse, quality_flags, and blockers.
  • Vector consistency and finite-number checks suitable for downstream scoring.

Workflow

  1. Parse the summary JSON and locate names plus the requested statistic vector.
  2. Validate equal vector lengths and finite numeric values.
  3. Attach MCSE values when mcse_<statistic> or mcse_mean is available with matching length.
  4. Inspect reference-info metadata conservatively and record whether diagnostics are present.
  5. Return blockers instead of inventing missing reference targets.

Validation

Run python scripts/reference_summary.py --summary <file> --output summary_report.json or the included tests through validate_skill_tree.py --run-tests.

Limitations

Summary schemas vary across databases. This skill focuses on deterministic summary loading and does not rerun reference samplers, compute R-hat, or download draw archives.

我的收藏