Skip to content
Back to skills

Coreset Recovery Harness

ASecurity

Run a bounded CCS proxy experiment and emit validator-compatible recovery evidence.

  • 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 coreset_recovery_harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coreset Recovery Harness?

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

Security grade badge for Coreset Recovery Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-coreset-recovery-harness/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-coreset-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: coreset_recovery_harness
description: Run a bounded CCS proxy experiment and emit validator-compatible recovery evidence.
---

# Coreset Recovery Harness

Use this skill during Paper2Skills recovery for Coverage-centric Coreset Selection when full CIFAR/ImageNet training is blocked by runtime cost or missing datasets. It builds a deterministic proxy dataset, invokes the generated scoring and selection skills, compares CCS against monotonic top-score selection, and runs a tiny optimizer update on the selected examples.

Do not use this harness to claim full paper accuracy. It produces soft-mode proxy evidence with explicit mechanism checks and source-boundary-safe logs.

## Inputs

- Attempt directory containing `module_plan.json` and `environment/runtime_handoff.json`.
- Generated skills root containing `training_dynamics_scoring` and `coverage_stratified_selection`.
- Output directory under the current attempt's `recovery/` tree.

## Outputs

- `recovery_result.json` with numeric `coverage_gain_over_monotonic`.
- `logs/generated_data_item.json` describing the synthetic benchmark.
- `logs/training_trace.json` with `params_before` and `params_after`.
- Mechanism checks that prove scoring, mislabel filtering, stratified coverage, and optimizer execution ran.

## Workflow

1. Construct a deterministic two-class score-stratified dataset.
2. Generate probability traces and call `training_dynamics_scoring.compute_scores`.
3. Call `coverage_stratified_selection.select_coverage_coreset` and `monotonic_selection`.
4. Measure coverage gain as represented score-bin fraction difference.
5. Run one logistic-regression-style gradient step on CCS-selected examples.
6. Save all validator-compatible artifacts from the executable command.

## Validation

Run `python tests/test_coreset_recovery_harness.py`; during recovery, run the script as `python scripts/run_proxy_recovery.py --attempt-dir ... --skills-root ...`.

## Limitations

This harness is intentionally small and deterministic. It verifies the mechanism, not the paper's full dataset accuracy.

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…