# Unfinished scrub interval worksheet
Exact arithmetic for constructed schedules, not observed MTTD or a fleet model.
Download model.py, test_model.py and results.json into the same directory.
Run:
    python3 model.py --check
    PYTHONDONTWRITEBYTECODE=1 python3 -m unittest -v test_model.py

The observation is one block checked at days 0, 14, 28, followed through day 56
without another check. Hypothetical onset is uniform over the original 56 days.
Missing the final 28-day interval changes the onset population: 7 days over the
first 28 days is not a full-window estimate. The full-window mean wait has an
infimum of 10.5 days and no finite upper bound without future-inspection evidence.
A check 14 days after cutoff gives 17.5 days; 42 days after gives 31.5 days.
A zero future delay denotes the limiting bound, not an actual recorded check.

For completed gaps d_i, observed unfinished age a, H=sum(d_i)+a and future delay u:
    mean = (sum(d_i**2) + a**2 + 2*a*u)/(2*H)
    P(wait>h) = (sum(max(d_i-h,0)) + min(a,max(a+u-h,0)))/H
Bounds set u=0 for the infimum and allow arbitrarily late future inspection.
The final interval is right-censored as an inspection interval. No physical fault
onsets were observed. This is not a Kaplan-Meier fit or fixed-horizon RMST.
Complete logs, a known initial check and perfect coverage of the specified fault
are assumptions. Administrative cutoff is not a successful verification.
No confidence intervals or data-loss probabilities are claimed.

Results include generator SHA-256, actual UTC generation time and source roles.
The independent tests integrate synthetic timelines; no random seed is needed.
Original Hesela calculation and code; no third-party traces or figures copied.
