executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
sbi_posterior_apiProvide observation-conditioned posterior sampling and log-probability APIs for SBI recovery estimators.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill after an SBI estimator has been trained and a task needs to expose distribution-like posterior behavior. It represents the paper's NeuralPosterior abstraction: a common object conditioned on observations that can produce parameter samples and, when supported, density values.
Do not use this skill to run simulators or train estimator parameters. It consumes an estimator and validates posterior behavior.
x_o for conditioning.theta values for log-probability evaluation.Run:
python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py /share/project/yuyang/workspace/Paperbench/record/case15/extracted_skills_attempt_001/sbi_toolkit/sbi_posterior_api --run-tests
For a standalone smoke run:
python scripts/posterior_api.py --demo
The bundled script implements a scalar Gaussian reduced posterior. Full sbi posteriors can use richer samplers and conditional density estimators, but recovery code should keep the same contract: condition, sample, summarize, and evaluate density only when valid.