# Repeatability

> The degree to which rerunning the same test or process in the same environment gives the same result.

Record: `architecture:repeatability`
Kind: quality-attribute
Layer: [Computation Core](https://banes-lab.com/records/layer/computation-core.md)
Severity: mandatory
Scope: test, build, process
Canonical: https://banes-lab.com/ontology#architecture-repeatability

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Reproducibility](https://banes-lab.com/records/architecture/reproducibility.md) and before [Correctness](https://banes-lab.com/records/architecture/correctness.md).

## Repair

- Refactored by: Isolate Environment, Mock External Inputs
- Detected by: flaky test results
- Violated by: tests depending on ordering/time/external state
- Measured by: rerun consistency
- Enforced by: CI rerun policy

## Requires

- [Controlled State](https://banes-lab.com/records/lexicon/controlled-state.md)

## Reinforces

- [Verification](https://banes-lab.com/records/architecture/verification.md)
- [Predictability](https://banes-lab.com/records/architecture/predictability.md)

## Enables

- [Reliable Automation](https://banes-lab.com/records/lexicon/reliable-automation.md)

## Conflicts with

- [Environment-Sensitive Behavior](https://banes-lab.com/records/lexicon/environment-sensitive-behavior.md)

## In tension with

- [Real-World Variability](https://banes-lab.com/records/lexicon/real-world-variability.md)

## Tensions

- [Repeatability / Real-World Variability](https://banes-lab.com/records/tension/real-world-variability-repeatability.md)

## Severity

- [mandatory](https://banes-lab.com/records/vocabulary/severity-mandatory.md)

## Category

- [Correctness / Determinism / Verification](https://banes-lab.com/records/architecture-category/correctness-determinism-verification.md)

## Linked from

- [Well-formedness](https://banes-lab.com/pag/guide/well-formedness.md)
- [One correct answer](https://banes-lab.com/disciplined-methodology/verify/one-correct-answer.md)
- [Computation and resource](https://banes-lab.com/software-architecture/principles/computation-and-resource.md)
- [Correctness / Determinism / Verification](https://banes-lab.com/ontology/principles/architecture-category-correctness-determinism-verification.md)
- [Correctness / Determinism / Verification](https://banes-lab.com/ontology/lexicon/lexicon-category-correctness-determinism-verification.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)
- [The resolutions](https://banes-lab.com/ontology/schema/the-resolutions.md)
