Skip to content
Back to skills

Robustness Benchmark Protocol

ASecurity

Validate clean and shifted robustness benchmark protocols with class-overlap and metric-gap contracts.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Robustness Benchmark Protocol?

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

Security grade badge for Robustness Benchmark Protocol
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-robustness-benchmark-protocol/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-robustness-benchmark-protocol)

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

SKILL.md
---
name: robustness_benchmark_protocol
description: Validate clean and shifted robustness benchmark protocols with class-overlap and metric-gap contracts.
---

# Robustness Benchmark Protocol

Use this skill when an experiment needs an ImageNet-R-style robustness protocol: a clean control split, a shifted split, a shared label set, and an explicit metric direction. Do not use it to claim full ImageNet reproduction; it only validates benchmark structure and computes gap semantics.

## Inputs
- Clean examples as dictionaries with `id`, `label`, and optional features.
- Shifted examples with the same label vocabulary.
- Metric name and direction: `lower_is_better` for error or `higher_is_better` for accuracy.

## Outputs
- A benchmark specification with clean classes, shifted classes, overlap status, and metric direction.
- A gap value computed as shifted minus clean for error metrics or clean minus shifted for accuracy metrics.

## Workflow
1. Load or construct clean and shifted example lists.
2. Verify that the shifted labels are a subset of the clean labels.
3. Record the shift type and class-overlap evidence.
4. Compute clean/shifted metric gaps using direction-aware semantics.
5. Reject protocols that hide class mismatch or metric direction.

## Validation
Run `python tests/test_protocol.py` or validate the tree with the Distiller skill validator.

## Limitations
This skill validates protocol mechanics. It does not download ImageNet-R, train models, or certify that a proxy dataset is equivalent to the paper benchmark.

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.