Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

measurement-controls

БесплатноБез исполняемых скриптовНе проверен

Check a benchmark, A/B or eval metric measures what it claims: control arms, oracles that can fail, pooled correlations, small x/N. Use when setting up an…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

Measurement Controls

A measurement fails most expensively when it returns a confident, well-formed answer about something it never observed. Nothing in the run contradicts it, so the finding ships. Each numbered section is one way a control, an oracle or a metric produces that answer, and the check that exposes it.

When to Use This Skill

Use this skill when... Use something else when...
Setting up an A/B, an A/A′, or a "did X change the output?" control Timing a change against a baseline → benchmark-controls
An oracle or scorer is about to turn artifacts into verdicts Auditing whether a green suite tests what it aims at → test-strategy-review
A metric says "improved" and a person still complains Finding weak assertions by mutating code → mutation-testing
Correlating two variables, or reporting a rate as x/N A tool's empty result is about to gate an action → agent-patterns-plugin:tool-result-traps
Locating a defect in a long artifact (video, audio, logs, rows)
Claiming an operation is "lossless", "exact" or "byte-identical"

1. A control's two arms differ only in the variable

A comparison control answers "did X change the output?" only while X is the only difference. If the arms also differ in a label, filename, extra step or timestamp, and the compared artifact carries it, the control reports "different" whatever X did. A control that cannot fail has not tested anything. Canonical break: a container format that embeds the generating parameters makes two files differ unconditionally; hash the decoded stream.

  1. Enumerate what differs between the arms besides the variable: step counts, labels, output paths, seeds, timestamps, run order.
  2. Ask whether the compared artifact carries any of it. Containers, embedded metadata, EXIF and log headers do. Compare decoded content.
  3. Prove it can report "same": run A/A′ with the variable removed and confirm an identical digest. If not, every past verdict from it is void.
  4. Keep the arms otherwise byte-identical, output prefix included.

Two gates, not one:

Gate Asks
A == A′ Can the comparison report "same"? (determinism)
B ≠ A in what the system receives Was the variable applied at all?

Diff the input the system actually receives (the converted request, the resolved config), not the source file you edited: a value overridden downstream is inert. Prove the gate refuses a deliberately broken variant.

The instrument, build-time checks and a few more ways a control lies (stale bytecode, a result cache, a test that re-implements its subject, a control that cannot pass) are in REFERENCE.md.

2. Gate the oracle on a known-good case

An oracle can be wrong in the direction that produces a finding. Before an oracle scores a failure case, make it recover a case already known to have succeeded. An instrument no better than chance on the known-good case cannot certify a failure anywhere. The known-good case is usually free: a project chasing a defect has examples where the thing worked.

  1. Name a case known to have worked, independently of the instrument, and name the channel it is known-good for. A case validated on one axis is not validated on another.
  2. Score it. Require a high hit rate and more than one distinct answer. An oracle answering one label for everything scores 2/4 on an alternating two-class script by coincidence; without the degeneracy check, 50% reads as borderline-usable when it is a constant.
  3. Read the raw answer, not the gated verdict. Scoring only the items the oracle was confident about lets it pass by declining everything it would get wrong.
  4. Take ground truth from the artifact's own record (plan, manifest, the input that produced it), never the current tree.
  5. Refuse in the tool, not in a comment someone has to remember, and keep a disqualified oracle as a selectable arm: a gate that has only ever passed something has not been shown to discriminate.
  6. When the oracle reports a surprising negative, re-run the gate before believing it. A negative from an ungated instrument is a claim about the instrument.

3. A pooled correlation or rate can be a grouping artifact

Correlating over several groups stacked together can produce a large r that reports only that the groups differ in both variables. Before believing a correlation, ask what else varies along with both axes. Report the within-group coefficient next to the pooled one.

  1. Name the groups before computing anything: lines per render, renders per arm, files per repo, runs per machine, warm vs cold.
  2. Tabulate each group's mean on both axes. If the groups differ on both, the pooled coefficient is contaminated before you compute it.
  3. Compute r within each group and report both. A pooled figure alone is not a resu
Полный SKILL.md на GitHub

Установить measurement-controls в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
TodoWrite

Вложенные файлы

REFERENCE.md

FAQ

Что делает скилл measurement-controls?

Check a benchmark, A/B or eval metric measures what it claims: control arms, oracles that can fail, pooled correlations, small x/N. Use when setting up an experiment or a metric says improved.

Как установить скилл measurement-controls?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл measurement-controls запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить measurement-controls с