Skip to content
Back to skills

Sbibm Task Protocol

ASecurity

Build validated simulation-based inference benchmark task items with prior, simulator, observation, and reference posterior metadata.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
businesspythongo

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Sbibm Task Protocol?

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

Security grade badge for Sbibm Task Protocol
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sbibm-task-protocol/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sbibm-task-protocol)

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

SKILL.md
---
name: sbibm_task_protocol
description: Build validated simulation-based inference benchmark task items with prior, simulator, observation, and reference posterior metadata.
---

# SBI Benchmark Task Protocol

Use this skill when a recovery experiment needs a small `sbibm`-style task without reading the original benchmark repository. It is appropriate for Gaussian Linear proxy recovery and for checking that downstream posterior and metric modules receive a complete task contract.

## Inputs
- Task name, currently `gaussian_linear_proxy` for deterministic recovery.
- Dimension, prior scale, simulator scale, observation seed, and optional explicit observation vector.
- Output path for the task item JSON.

## Outputs
- A JSON task item with prior parameters, simulator parameters, observation, analytic posterior mean/covariance, simulation budget, and provenance.
- Validation errors for invalid dimensions, scales, or observation lengths.

## Workflow
1. Choose a bounded Gaussian Linear proxy when full `sbibm` execution is unavailable.
2. Construct zero-mean Gaussian prior and Gaussian simulator noise.
3. Generate or validate one observation vector.
4. Compute the conjugate posterior parameters for one observation.
5. Record whether the item is benchmark-style or derived from concrete resources.

## Validation
Run `python tests/test_task_protocol.py` or validate the skill tree with `validate_skill_tree.py --run-tests`.

## Limitations
This skill does not reproduce all ten benchmark tasks. It preserves the paper mechanism for bounded recovery by exposing the same task-level contract used by SBI algorithms and metrics.

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…