principle-explain-the-number

Validate performance and eval metrics by identifying resource limits and ruling out measurement artifacts.

15.8k|1.6k|Updated Jan 23, 2026
Ready to run
npx skills add https://github.com/cursor/plugins --skill principle-explain-the-number-cursor
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: principle-explain-the-number
Source: https://github.com/cursor/plugins/tree/main/harness/pstack/claude-code/skills/principle-explain-the-number
Command: npx skills add https://github.com/cursor/plugins --skill principle-explain-the-number-cursor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Numbers from benchmarks and evals are often accepted without scrutiny, leading to false conclusions about performance gains, regressions, or correctness. This Skill forces rigor: before you trust a speedup, latency, throughput, or eval result, you must understand what limits it and confirm you measured what you intended. ## Core Features & Use Cases - Pre-measurement planning: Document the decision threshold and noise floor before running experiments. - Limiter identification: Use profiling and system counters to pinpoint the resource bottleneck (CPU core, lock contention, disk I/O, network, or load generator saturation). - Artifact elimination: Systematically rule out measurement noise, cached work, skipped operations, untuned configurations, and work too small to matter end-to-end. - Use Case: You measure a 20% throughput improvement after an optimization. Apply this Skill to confirm the improvement isn't cache artifacts, verify which resource is now the bottleneck, and document the evidence so stakeholders trust the result. ## Quick Start Before running a benchmark, write down what result would change your decision, identify the expected limiter from code inspection or prior profiling, then execute the run and verify the spread is smaller than the effect size.

Frequently Asked Questions about principle-explain-the-number

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

FAQPage Schema
How do I know if my benchmark result is real or just noise?▼

Compare run-to-run spread against the measured effect size. If the spread is larger than the effect, the signal is lost in noise and the result is unreliable. Document the spread and decision threshold before each run.

What resource limits should I look for in performance profiling?▼

Common limiters are CPU cores (saturated by single-threaded bottleneck), locks (contention in concurrent code), disk I/O (checkpoint or log writes), network bandwidth, memory bandwidth, and the load generator itself (unable to create more load). Use perf, flamegraphs, or system counters to identify which one.

How do I rule out measurement artifacts like caching or skipped work?▼

List the usual suspects: errors silently failing, conditional code paths never executing, results served from cache, configuration left on defaults, or the changed component too small to matter end-to-end. For each, collect evidence (error logs, code coverage, cache hit rates) to rule it out.

Why is 'why not double' the key question for performance analysis?▼

If an optimization doesn't double performance, something is limiting it. Naming that limiter proves you understand the bottleneck. If you cannot answer why the result is not twice as good, you have only a number, not knowledge.

How is this different from the prove-it-works principle?▼

Prove It Works checks that an output is correct and real. Explain the Number checks that a measured value (latency, throughput, accuracy) represents the work you think you measured, not noise or artifacts.