# Reliability decisions: repeated looks and reset zero-failure windows

Hesela methods example, prepared 2026-11-07.
Evidence type: exact arithmetic on a hypothetical model, NOT measured drive data.
This download accompanies https://hesela.com/analyses/afr-rate-not-probability/.

## Observation contract

Each binary outcome belongs to a distinct device at the same prespecified
device-age horizon. All endpoints are known; the outcomes are independent with
common failure probability 0.01, and their order is fixed independently of them.
There are no firmware, workload or population changes. Counts are endpoints,
not hours, repeated daily telemetry rows or AFR exposure.

The false favorable conclusion is that the common endpoint failure probability
is below 0.01. Each cumulative look qualifies when its exact binomial lower-tail
probability is STRICTLY below its prespecified error level.

## Results and selection rules

The original four plans stop by 1000 outcomes. A single final nominal 5% look
falsely qualifies with probability 2.868640%; ten nominal 5% looks, after each
100 outcomes, give 9.739603%; ten prespecified 0.5% looks give 0.567798%.
The cumulative zero-only rule has 4.904089% error, because every later success
is nested inside the first eligible zero-failure prefix of 300 outcomes.

The reset supplement keeps the same population and asks for 300 consecutive
nonfailures. A fixed prefix has 4.904089% false qualification; any of three
fixed disjoint blocks (using 900 outcomes) gives 14.002560%; searching all
rolling windows within 1000 outcomes gives 36.359259%. Overlapping windows
are not independent. Resetting the counter does not reset the error budget.

These are exact procedure-level probabilities. No simulation, device experiment,
sampling confidence interval, power comparison or optimal design is claimed.
The expected counts in the original packet are not calendar time or measured
costs. Dependence, censoring, heterogeneity and corrective interventions require
a different analysis. A genuine firmware change can define a new target;
this unchanged-population example does not invalidate all retesting.

## Offline reproduction

Requires Python 3.10+ and its standard library. In the extracted directory:

    python3 -B model.py --verify results.json
    python3 -B -m unittest discover -s . -p test_model.py
    python3 -B reset-window/zero_runs.py --verify reset-window/results.json
    python3 -B -m unittest discover -s reset-window -p test_zero_runs.py

Repeat the two test commands with -O after -B to check optimized execution.
The tests independently enumerate small paths and check full-size probabilities
with other exact formulations. Integer mass accounting avoids floating-point
tail underflow. JSON stores exact fractions as strings.

manifest.json lists SHA-256 and byte lengths for every payload other than the
manifest itself. The ZIP contains exactly those payloads plus the manifest.
Its fixed ZIP timestamp is a packaging convention, not a measurement timestamp.
The public original test has one path-resolution fix relative to the initial
research snapshot; model.py and both numerical result packets are unchanged.

## Primary sources

- NIST exact binomial interval construction:
  https://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm
- NIST general Bonferroni inequality, not its ANOVA application:
  https://itl.nist.gov/div898/handbook/prc/section4/prc473.htm
- NIST reliability assessment planning:
  https://www.itl.nist.gov/div898/handbook/apr/section3/apr31.htm
- Howard, Ramdas, McAuliffe and Sekhon (2021), Time-uniform, nonparametric,
  nonasymptotic confidence sequences, DOI 10.1214/20-AOS1991:
  https://arxiv.org/html/1810.08240v6 (equation 1 and section 6).

The numerical rows are Hesela's constructed calculations, not numbers reported
by these sources. Their original retrieval timestamps and hashes are retained
in source-receipts.json; the sources were rechecked for this integration.
No third-party source body is redistributed. Confidence-sequence theory supplies
context, not an implemented or benchmarked confidence sequence here.
