corpus-sweep-measurement

Extends property checks from sampled cases into full-corpus sweeps with exact measured figures.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/NarenKarthikBM/specseyal --skill corpus-sweep-measurement-narenkarthikbm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: corpus-sweep-measurement
Source: https://github.com/NarenKarthikBM/specseyal/tree/main/.claude/skills/corpus-sweep-measurement
Command: npx skills add https://github.com/NarenKarthikBM/specseyal --skill corpus-sweep-measurement-narenkarthikbm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Property checks run on small, hand-picked samples often produce misleading pass/fail summaries that hide sampling bias, per-group violations, and unmeasured claims. This Skill turns those spot checks into full-corpus sweeps that report exact, verifiable measurements instead of aggregate verdicts. ## Core Features & Use Cases - Full-population measurement: Re-computes invariants, monotonicity guarantees, and signed-quantity distributions across the entire corpus, always reporting the denominator alongside each figure. - Bias and coverage disclosure: Names biased case selections explicitly, marks each claimed property as measured or unmeasured, and labels any uncovered remainder instead of projecting partial results. - Decision-impact tracing: When a measured invariant invalidates a candidate result, traces whether downstream decisions, classifications, or table rows actually change. - Use Case: After fixing a token-capture bug verified on 12 hand-picked failing requests, run a sweep over the full request corpus to report the exact distribution of delta signs, verify the invariant per request group, and state which claimed properties remain unmeasured. ## Quick Start Re-measure the invariant from the last check across the full corpus and report exact figures with per-group breakdowns and any unmeasured properties.

Frequently Asked Questions about corpus-sweep-measurement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify an invariant across a full dataset instead of a sample?

Run a corpus sweep that recomputes the invariant over every record rather than the selected subset, and report the exact corpus size alongside each figure. Verify per-group claims separately for every distinct group and report both the count checked and the count that satisfied it.

How to report measurement results without sampling bias?

Name any case selection that was chosen for a reason, such as unusual or disagreeing cases, as explicitly biased. Then recompute the figure from the full corpus before presenting it as representative of the whole population.

Why is a single aggregate number misleading for signed quantities?

A single aggregate can hide the distribution of a directional quantity, such as a delta's sign or a trend's direction. Report counts in each bucket of the full distribution instead of collapsing the result into one summary number.

What should I do when a full corpus sweep cannot complete?

Report the exact count actually covered and label the remainder as unmeasured. A partial result must never be projected onto the full population as if it were representative.

When is a sampled property check not enough?

A sampled check is insufficient when claims are made per group, when cases were selected for a reason, or when a candidate asserts equivalence or monotonicity without independent computation. These claims must be re-derived directly against the corpus data.