Skip to content
Back to skills

Score Based Subset Selection

ASecurity

Select retained and pruned supervised-training examples from EL2N or GraNd scores using deterministic pruning rules.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Score Based Subset Selection?

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

Security grade badge for Score Based Subset Selection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-score-based-subset-selection/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-score-based-subset-selection)

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

SKILL.md
---
name: score_based_subset_selection
description: Select retained and pruned supervised-training examples from EL2N or GraNd scores using deterministic pruning rules.
---

# Score-Based Subset Selection

Use this skill after EL2N or GraNd scores have been computed and a pruning experiment needs a reproducible retained subset. It implements the paper's standard rule of pruning low-score examples and retaining high-score examples, plus an offset-window mode for noise-analysis style checks.

## Inputs
- Example records with `id` and numeric `score`.
- `retain_fraction` or `retain_count`.
- Optional `mode`: `high_score` or `offset_window`.
- Optional `offset_fraction` for offset-window selection.

## Outputs
- Selected example ids.
- Pruned example ids.
- Selection statistics and tie policy.

## Workflow
1. Validate unique ids and finite scores.
2. Sort by descending score for standard high-score retention.
3. Convert fraction to an exact selected count with floor and minimum one.
4. Apply deterministic tie-breaking by id string.
5. Return selected/pruned complements and score-boundary statistics.

## Validation
Run:

```bash
python tests/test_selection.py
python scripts/select_subset.py --fixture
```

## Limitations
- This skill consumes scores; it does not compute EL2N/GraNd.
- It does not train models or decide whether final accuracy is acceptable.

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…