Scientific Rigor
Use this skill to make experimental claims narrow, testable, repeatable, and
empirically grounded. Treat unmeasured explanations as hypotheses, not
conclusions.
Workflow
- State the decision the experiment is meant to inform.
- Define the hypothesis and null hypothesis before running tests.
- Identify the single independent variable being changed.
- Hold confounders fixed: hardware, location, workload, inputs, versions,
flags, time window, data source, and operator actions.
- Define dependent metrics before observing results. Include primary metrics
and guardrail metrics.
- Establish a baseline with the same measurement path as the treatment.
- Run enough repetitions or samples to characterize variance.
- Use appropriate statistical checks when sample size and data shape justify
them.
- Report confidence, uncertainty, and residual risk separately from the
conclusion.
Variable Discipline
Change one variable per experiment. If multiple changes already happened,
split the analysis into:
- known changes
- unknown or uncontrolled changes
- measurements that can still isolate one factor
- measurements that cannot support causal claims
Do not attribute an improvement or regression to a change if another plausible
change occurred in the same window.
Measurement Design
Prefer direct measurements over proxies. When proxies are unavoidable, name the
inference explicitly.
When numeric measurements or effect comparisons are involved, use
the get-stats skill as the required statistics contract. At minimum, every measured
variable needs sample count, invalid/dropped count, min, max, mean, median,
standard deviation, and standard error when estimating or comparing means. For
latency and other heavy-tailed distributions, include p50, p95, and p99. For
two-sample effects, include Welch's t-test when its assumptions are reasonable,
or state why a different test is required.
For latency or throughput experiments, capture:
- exact code revision, config, feature flags, and host
- start/end times and timezone
- workload definition and sample selection
- warmup behavior and whether warmup samples are excluded
- raw per-event observations, not only aggregates
- p50, p95, p99, mean, standard deviation, min, max, and sample count where
meaningful
- failure rate, timeout rate, dropped samples, and retry behavior
Keep raw data and commands sufficient for another operator to reproduce the
analysis.
Statistical Checks
Use statistics to test a narrow question, not to decorate a weak design.
Use Welch's t-test when comparing two sets of roughly independent continuous
measurements with unequal variance, such as two latency-delta samples. Report
the test used, p-value, effect size, sample sizes, and whether the practical
effect matters.
Use non-parametric or distribution-aware methods when data is highly skewed,
heavy-tailed, censored, or dominated by outliers. For win/loss counts or
first-detection share, use count-based tests such as chi-squared or Fisher's
exact test when appropriate.
Never treat statistical significance as production significance. A small
p-value with a tiny effect size may not justify a change.
Conclusion Standard
Use this hierarchy:
- Confirmed: measured, reproduced, and statistically/practically meaningful.
- Likely: measured with some uncertainty or limited sample size.
- Inconclusive: signal is weak, confounded, or underpowered.
- Hypothesis: plausible but not yet tested.
State what would falsify the conclusion and what the next clean experiment is.
Production-Sensitive Experiments
For live systems, preserve safety before elegance:
- prefer passive observers and read-only probes
- cap runtime and output volume
- pin sidecars away from hot cores when relevant
- avoid packet capture, logging, or polling that can perturb latency unless the
perturbation is part of the experiment
- do not restart or reconfigure production processes unless the experiment
explicitly includes a maintenance window
If the measurement tool can alter the system being measured, call that out and
design a lower-impact measurement first.
1---2name: scientific-rigor3description: Design, run, and evaluate controlled empirical experiments with one variable changed at a time, explicit hypotheses, reproducible protocols, statistical significance checks such as t-tests where appropriate, and conclusions backed by measured evidence. Use when the agent is planning or judging performance tests, latency experiments, A/B comparisons, benchmark runs, optimization claims, production-vs-baseline comparisons, or any investigation where assumptions must be minimized and results must be statistically defensible.4---56# Scientific Rigor78Use this skill to make experimental claims narrow, testable, repeatable, and9empirically grounded. Treat unmeasured explanations as hypotheses, not10conclusions.1112## Workflow13141. State the decision the experiment is meant to inform.152. Define the hypothesis and null hypothesis before running tests.163. Identify the single independent variable being changed.174. Hold confounders fixed: hardware, location, workload, inputs, versions,18 flags, time window, data source, and operator actions.195. Define dependent metrics before observing results. Include primary metrics20 and guardrail metrics.216. Establish a baseline with the same measurement path as the treatment.227. Run enough repetitions or samples to characterize variance.238. Use appropriate statistical checks when sample size and data shape justify24 them.259. Report confidence, uncertainty, and residual risk separately from the26 conclusion.2728## Variable Discipline2930Change one variable per experiment. If multiple changes already happened,31split the analysis into:3233- known changes34- unknown or uncontrolled changes35- measurements that can still isolate one factor36- measurements that cannot support causal claims3738Do not attribute an improvement or regression to a change if another plausible39change occurred in the same window.4041## Measurement Design4243Prefer direct measurements over proxies. When proxies are unavoidable, name the44inference explicitly.4546When numeric measurements or effect comparisons are involved, use47the `get-stats` skill as the required statistics contract. At minimum, every measured48variable needs sample count, invalid/dropped count, min, max, mean, median,49standard deviation, and standard error when estimating or comparing means. For50latency and other heavy-tailed distributions, include p50, p95, and p99. For51two-sample effects, include Welch's t-test when its assumptions are reasonable,52or state why a different test is required.5354For latency or throughput experiments, capture:5556- exact code revision, config, feature flags, and host57- start/end times and timezone58- workload definition and sample selection59- warmup behavior and whether warmup samples are excluded60- raw per-event observations, not only aggregates61- p50, p95, p99, mean, standard deviation, min, max, and sample count where62 meaningful63- failure rate, timeout rate, dropped samples, and retry behavior6465Keep raw data and commands sufficient for another operator to reproduce the66analysis.6768## Statistical Checks6970Use statistics to test a narrow question, not to decorate a weak design.7172Use Welch's t-test when comparing two sets of roughly independent continuous73measurements with unequal variance, such as two latency-delta samples. Report74the test used, p-value, effect size, sample sizes, and whether the practical75effect matters.7677Use non-parametric or distribution-aware methods when data is highly skewed,78heavy-tailed, censored, or dominated by outliers. For win/loss counts or79first-detection share, use count-based tests such as chi-squared or Fisher's80exact test when appropriate.8182Never treat statistical significance as production significance. A small83p-value with a tiny effect size may not justify a change.8485## Conclusion Standard8687Use this hierarchy:8889- **Confirmed**: measured, reproduced, and statistically/practically meaningful.90- **Likely**: measured with some uncertainty or limited sample size.91- **Inconclusive**: signal is weak, confounded, or underpowered.92- **Hypothesis**: plausible but not yet tested.9394State what would falsify the conclusion and what the next clean experiment is.9596## Production-Sensitive Experiments9798For live systems, preserve safety before elegance:99100- prefer passive observers and read-only probes101- cap runtime and output volume102- pin sidecars away from hot cores when relevant103- avoid packet capture, logging, or polling that can perturb latency unless the104 perturbation is part of the experiment105- do not restart or reconfigure production processes unless the experiment106 explicitly includes a maintenance window107108If the measurement tool can alter the system being measured, call that out and109design a lower-impact measurement first.