Skip to content
Back to skills

C2st Metric Evaluation

ASecurity

Compute a deterministic classifier two-sample accuracy proxy for comparing posterior sample distributions.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of C2st Metric Evaluation?

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

Security grade badge for C2st Metric Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-c2st-metric-evaluation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-c2st-metric-evaluation)

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

SKILL.md
---
name: c2st_metric_evaluation
description: Compute a deterministic classifier two-sample accuracy proxy for comparing posterior sample distributions.
---

# C2ST Metric Evaluation

Use this skill when a recovery experiment must compare reference posterior samples and approximate posterior samples with a C2ST-style distributional metric. The score is an accuracy where 0.5 indicates indistinguishable distributions.

## Inputs
- Sample JSON containing `reference_samples` and `approximate_samples`.
- Optional threshold and seed.

## Outputs
- Metric JSON with `c2st_accuracy`, mean-distance diagnostics, and pass/fail flag.

## Workflow
1. Validate non-empty sample matrices with equal dimensions.
2. Z-score both groups using reference-sample statistics.
3. Build a deterministic linear-threshold classifier from the difference of group means.
4. Report balanced classification accuracy and whether it is near the reference target.

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

## Limitations
This script is a lightweight deterministic proxy for bounded recovery; the paper used an MLP classifier with cross-validation for full benchmark results.

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…