principle-explain-the-number
About principle-explain-the-number
A testing skill for evaluating whether a performance or evaluation result is supported by evidence. It identifies the resource limiting a result, rules out alternative explanations, and keeps run counts, variation, and limiter alongside the number.
Key features
- 01Identify the measured resource limit
- 02Rule out alternative explanations
- 03Record run count and result spread
- 04Apply checks to performance and evals
Use cases
- 01Validate a performance benchmark result
- 02Check whether an evaluation gap holds across trials
- 03Document evidence behind a reported number
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ backnotprop/ pstack --skill principle-explain-the-numberAfter installing, type/principle-explain-the-numberin Claude Code to confirm it loaded.
Details
From the project READMEExplain the Number
- Ask "why not double?" Name the resource or code path that bounds the result, such as a core, a lock, the disk, the network, or the load generator itself. Get it from a profile or from system counters taken during a run, then map it to source. A guess from reading the code is not a limiter. If you cannot say why the number is not twice as good, you do not know what you measured.
- List what else the number could be measuring, and rule out each one with evidence. The usual suspects are errors, skipped or cached work, code that never ran, an untuned side (one left on default settings), noise, and a piece too small to matter end to end.
- Keep the evidence with the number. Put the run count, the spread, and the limiter in the notes or a linked artifact.
For a performance number, run the full procedure with the benchmark-checklist skill. For an eval result, ask the same of the trials: did every run do the task, does the gap hold across trials and models, and does the scenario matter.
You skipped this when the evidence behind a number has no run count, no spread, or no named limiter, or when the time saved is larger than the time the changed piece took.
Distinct from Prove It Works, which checks that an output is real.