Experiments, Versioning, and Regression Gates
Experiments, Versioning, and Regression Gates
Fact-check status
Key jargon
| Term | Plain-language meaning |
|---|---|
| Experiment | A controlled comparison intended to estimate the effect of a change. S1 |
| Baseline | The current reference system against which a candidate is compared. S1 |
| Regression | A previously acceptable behavior that becomes worse after change. S1 |
| Promotion gate | A rule a candidate must satisfy before moving to a wider environment. S1 |
Key concepts
- Change one interpretable factor where practical and record all system versions. S1
- Require both aggregate improvement and protection of critical safety or user slices. S1
Concept map
flowchart LR
A["Freeze dataset and baseline"] --> B["Run candidate comparison"]
B --> C["Analyze quality cost and slices"]
C --> D["Promote only if gates pass"]Diagram semantics verified against S1 and S2 on 2026-09-02.
Experiment record
Hypothesis, changed variable, fixed variables, dataset version, system versions, seed/sampling settings, metrics, confidence/variance, cost, raw results, decision, owner, and date. S1
Change one major variable at a time when attribution matters. If multiple layers change together, call it a system comparison rather than claiming which component caused improvement. S1
Regression gate
- Minimum target-quality threshold. S1
- No critical safety/permission regression. S1
- Latency and cost budget. S1
- Important subgroup floors. S1
- Structured-output/tool correctness. S1
- Manual review of changed failure classes. S1
Exercise
Design an A/B test for a prompt revision. State sample allocation, primary metric, guardrails, stopping rule, and what would invalidate the conclusion.