计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
sbi_task_protocol【效率与协作】Build and validate simulation-based inference benchmark task records with priors, simulators, observations, and reference posteriors.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery or benchmark experiment needs a small, auditable SBI task interface rather than a repository-specific task object. It is appropriate for Gaussian-linear reduced recoveries and for checking that a task exposes the same information required by the paper: prior, simulator, observation, dimensions, simulation budget, and reference posterior samples.
Do not use this skill to claim full sbibm compatibility. It implements a compact protocol and a Gaussian-linear helper that preserves the benchmark mechanism without importing the original repository.
scripts/sbi_task_protocol.py normalize-task.scripts/sbi_task_protocol.py simulate.scripts/sbi_task_protocol.py posterior.scripts/sbi_task_protocol.py sample-reference.Run:
python scripts/sbi_task_protocol.py self-test
python tests/test_sbi_task_protocol.py
The Distiller skill-tree validator also runs the tests:
python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py <skill_dir> --run-tests
The deterministic helper supports diagonal Gaussian priors and Gaussian-linear simulators. Other benchmark tasks should be represented with the same task contract but need their own simulator and reference posterior implementation.