Skip to content
Back to skills

Imagenet C Recovery Harness

ASecurity

Run a bounded mechanism-faithful ImageNet-C proxy recovery using generated corruption and metric skills without reading the original repository.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Imagenet C Recovery Harness?

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

Security grade badge for Imagenet C Recovery Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-imagenet-c-recovery-harness/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-imagenet-c-recovery-harness)

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

SKILL.md
---
name: imagenet_c_recovery_harness
description: Run a bounded mechanism-faithful ImageNet-C proxy recovery using generated corruption and metric skills without reading the original repository.
---

# ImageNet-C Recovery Harness

Use this skill after the corruption protocol and metric skills are generated. It runs a small executable proxy experiment when full ImageNet-C data and pretrained models are unavailable, while preserving the paper's benchmark mechanism.

## Inputs

- `attempt_dir` containing `module_plan.json` and `environment/runtime_handoff.json`.
- Generated skills root containing `imagenet_c_corruption_protocol`, `imagenet_c_corruption_metrics`, and `imagenet_p_perturbation_metrics`.
- Experiment controls: sample count, corruption names, severity levels, and seed.

## Outputs

- Recovery plan, source manifest, command logs, generated data item, prediction/error tables, generated skill invocation log, and `recovery_result.json`.

## Workflow

1. Read the module-plan target and runtime handoff.
2. Generate a small deterministic image classification dataset.
3. Apply representative common corruptions with the corruption protocol skill.
4. Run deterministic baseline and evaluated classifiers.
5. Compute CE, mCE, relative CE, and relative mCE with the metric skill.
6. Cross-check ImageNet-P flip probability on synthetic prediction sequences.
7. Save mechanism checks and recovery artifacts.
8. Run the Distiller recovery validator outside the harness.

## Validation

Run:

```bash
python tests/test_recovery_harness.py
```

## Limitations

The harness produces a declared soft-mode proxy. It is not a full ImageNet-C reproduction unless the runtime handoff supplies ImageNet validation data, ImageNet-C corruptions, and pretrained classifier execution.

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…