yzj623/pplab/alpha-subset-protocol

Claude Code and agent skill by yzj623/pplab

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate and validate fixed-cardinality alpha-subset membership matrices for datamodel training and recovery experiments.

Install

npx vskill@latest install yzj623/pplab/alpha-subset-protocol

SKILL.md

The same SKILL.md was published earlier as yzj623/pplab/alpha-subset-protocol.

Alpha-Subset Protocol

Use this skill when a datamodel experiment needs membership vectors sampled from an alpha-fraction subset distribution. Do not use it for variable-size bootstrap subsets unless the caller explicitly declares a different subset distribution.

Inputs

  • Base training-set size d.
  • Subsampling fraction alpha in (0, 1].
  • Number of subsets num_subsets.
  • Integer random seed.

Outputs

  • Binary membership matrix as JSON or a Python list of lists.
  • Metadata with d, alpha, subset_size, num_subsets, and seed.

Workflow

  1. Validate dimensions and alpha.
  2. Compute subset_size = max(1, round(alpha * d)).
  3. Sample each subset without replacement using a deterministic local RNG.
  4. Validate that every row is binary and has the exact subset size.
  5. Pass both matrix and metadata to datamodel fitting.

Validation

Run:

bash
python scripts/subset_protocol.py --d 8 --alpha 0.5 --num-subsets 4 --seed 3
python tests/test_subset_protocol.py

Limitations

This skill samples membership only. It does not train base models or compute target outcomes.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yzj623/pplab/alpha-subset-protocol/badge)](https://verified-skill.com/skills/yzj623/pplab/alpha-subset-protocol)

Something wrong with this skill or its page? Tell us.