Skip to content
Back to skills

Sequential Sbi Loop

ASecurity

Run a bounded sequential simulation-based inference loop that updates proposals from variational posterior estimates.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Sequential Sbi Loop?

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

Security grade badge for Sequential Sbi Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sequential-sbi-loop/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sequential-sbi-loop)

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

SKILL.md
---
name: sequential_sbi_loop
description: Run a bounded sequential simulation-based inference loop that updates proposals from variational posterior estimates.
---

# sequential_sbi_loop

Use this skill when a recovery or implementation needs the paper mechanism from *Variational Methods for Simulation-Based Inference* without reading the original repository. Do not use it as a full replacement for large-scale `sbi` or `sbibm` benchmark training when those runtimes are available.

## Inputs
- Numeric simulator, posterior, likelihood, or validity data matching the module contract.
- A bounded runtime where deterministic scripts can be executed.
- Optional random seed for reproducible proxy checks.

## Outputs
- JSON-serializable diagnostics from the module script.
- Numeric values that can be cross-checked by a recovery harness.
- Clear flags when the behavior is reduced or proxy-only.

## Workflow
1. Read the caller-provided data and keep source boundaries explicit.
2. Run the deterministic script in `scripts/` for the relevant SNVI component.
3. Check numeric invariants such as normalized weights, data accumulation, posterior movement, or validity correction.
4. Return diagnostics and preserve logs for downstream recovery validation.

## Validation
Run `python scripts/` only through the documented tests, or run `python -m pytest tests` when pytest is available. The Distiller validator command is `python <distiller>/module-to-skill/scripts/validate_skill_tree.py <skill_dir> --run-tests`.

## Limitations
This skill captures reusable SNVI mechanisms. It does not claim to reproduce the paper's full C2ST benchmark curves or pyloric-network experiment unless paired with the required packages, simulators, and compute budget.

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…