Skip to content
Back to skills

Posterior Sampling Baseline

ASecurity

Generate deterministic reference and approximate posterior samples for bounded simulation-based inference recovery experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testinggo

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill posterior_sampling_baseline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Posterior Sampling Baseline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Posterior Sampling Baseline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-posterior-sampling-baseline/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-posterior-sampling-baseline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: posterior_sampling_baseline
description: Generate deterministic reference and approximate posterior samples for bounded simulation-based inference recovery experiments.
---

# Posterior Sampling Baseline

Use this skill when an SBI benchmark recovery needs posterior samples to feed into distributional metrics. It consumes a task item from `sbibm_task_protocol` and emits reference and approximate sample matrices.

## Inputs
- Task item JSON containing analytic posterior mean and variance.
- Number of samples, random seed, and approximation mode: `matched`, `shifted`, or `wide`.

## Outputs
- JSON sample file containing reference samples, approximate samples, and sampling metadata.

## Workflow
1. Read the task item and validate posterior parameters.
2. Draw reference samples from the analytic posterior.
3. Draw approximate samples from the selected approximation distribution.
4. Record sample count, dimension, seed, and approximation mode.

## Validation
Run the included tests or `validate_skill_tree.py --run-tests`.

## Limitations
The module is a reduced posterior-sampling baseline, not a full neural SBI algorithm. It is valid for soft-mode proxy recovery when the goal is to exercise the benchmark comparison mechanism.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…