Week 40
Prerequisite lessons: 4.3.2 (diagnosing sim-to-real failures), 4.3.1 (systematic experimentation and ablations), 4.2.4 (safety and recovery), 4.2.2 (policy layer), 3.2.3 (planning with world models), 1.1.4 (the full-stack pick-and-place pipeline), 3.3.4 (safety and constraints on LLM outputs).
Prior results used in this lesson. From 4.3.2: the stopping rule and the residual inside tolerance, restated in §L.A.3. From 4.3.1: the power arithmetic and the confidence-interval lower bound, restated in §L.B.2. From 4.2.4: the five recovery kinds, the composed recovery rate, and the register residuals, restated in §L.C.3. From 4.2.2: the total blind window and the attribution procedure, restated in §L.C.2. From 3.2.3: the usable horizon and the coverage flag, restated in §L.C.1. From 1.1.4: the seven-stage pipeline health checks and the state-machine recovery, restated in §L.A.2. From 3.3.4: the register residuals and the safe state, restated in §L.E.3. Each is restated at the point of use.
Hands forward. The horizon failure law, the long-horizon metrics, the drift maintenance policy, and the four degradation modes. Module 4.4 (the master’s defence) uses the horizon failure law and the maintenance policy as its forward-looking evidence.
The running case in one sentence. The arm, gripper, eye-in-hand camera, table, cube, bin, divider, and three distractors are unchanged; one pick-and-place takes 25 seconds, and the cell must run an 8-hour shift — 1,152 consecutive episodes — so this lesson asks how the success rate decays over that horizon, why it decays, and when maintenance must intervene before the decay crosses the deployment floor.
§L.0 — Lesson map, objectives, and misconceptions
| Part | Content | Lab step | Word budget |
|---|---|---|---|
| A | The compounding law and what the floor requires | Compute the horizon decay | 1,900 |
| B | Long-horizon metrics and window sizing | Compute the window | 2,000 |
| C | Drift sources and the maintenance policy | Run the drift injection | 1,900 |
| D | Recovery across horizons, degradation modes, schedule design | Compute the recovery compounding | 1,800 |
| E | Running case: the 8-hour shift plan | Assemble the maintenance plan | 1,600 |
Observable outcomes. By the end of this lesson you can, without notes: (1) derive the horizon failure law from the per-episode rate and state its three regimes; (2) compute the horizon at which a per-episode rate crosses a deployment floor, and say what recovery rate the floor actually demands; (3) distinguish independent from correlated failures and state what the correlation does to the tail; (4) name the five long-horizon metrics and their bounds; (5) compute the evaluation window from a confidence-interval resolution; (6) name the four drift sources, their detection channels, and their time constants; (7) state the maintenance policy’s three thresholds and their decisions; (8) state the recovery compounding law and the per-segment failure rate that follows from it; (9) name the four degradation modes and their signatures; (10) assemble the 8-hour shift plan with its maintenance schedule and register entries.
Misconception inventory.
| Wrong model | Why attractive | Where displaced | Correct model |
|---|---|---|---|
| A high success rate means long-horizon robustness. | The rate is the headline metric. | §L.A.1 | The per-episode rate is the base of a power law. At 0.82 per episode over 1,152 episodes the independent survival is ; the headline number says nothing about the shift until you raise it to the horizon. |
| Failures are independent across episodes. | Each episode starts from a fresh reset. | §L.A.2 | Failures cluster because the environment drifts. At the running case’s drift constant the linear-hazard survival is against the constant-hazard — a factor of — and no reset schedule recovers the gap. |
| The evaluation window is the shift. | The shift is the deployment horizon, so measure the shift. | §L.B.2 | The window is sized by the confidence-interval resolution, not by the deployment target. At a five-point resolution on a 0.90 proportion the window is 138 shifts — 46 days of continuous operation — which is infeasible, so the shift is extrapolated from an episode-level suite under a stated contract. |
| Drift is slow degradation you can ignore. | The system works at the start of the shift. | §L.C.1 | Drift is the mechanism that produces correlated failures, and the maintenance interval is set by the smallest of the four drift constants — 4 hours in the running case, not the 8-hour camera constant the intuition reaches for. |
| Recovery is a per-episode property. | The recovery rate is quoted per episode. | §L.C.3 | Recovery compounds within a segment. The composed rate gives a per-episode escalation probability , and a 48-episode segment survives with probability . The per-segment failure is 0.81, not “essentially certain” and not . |
Everything is self-contained. Where a prerequisite lesson is used, the result is restated at the point of use.
§L.0.5 — Retrieval warm-up
Q1. In 4.3.2 §L.C.3 the stopping rule stopped when the residual fell inside tolerance. What does that residual represent for long-horizon robustness, and why is it the seed of drift?
Answer. The residual is the unattributed part of the sim-to-real gap: whatever the identified parameters failed to explain. It is the seed of drift because an unattributed residual is a state dependence on the environment, and drift is exactly the environment moving through that dependence. The residual inside tolerance is the current acceptance; the long-horizon question is whether the residual grows. Used in §L.A.3 to place drift inside the diagnosis residual.
Q2. In 4.2.4 §L.C.3 the composed recovery rate was 0.809 per episode. What does the long horizon ask of that number?
Answer. Whether 0.809 holds across the horizon, or whether the recovery’s own failures accumulate. The per-episode reading is that 80.9% of detected failures are recovered without escalation; the horizon reading is that the unrecovered fraction, , multiplies the per-episode failure rate into an escalation rate, and that rate compounds over the shift. Used in §L.C.3 to define the recovery compounding.
Q3. In 4.2.2 §L.B.1 the layer’s total blind window was 1.2 s. What does that window contribute to the horizon failure law, and how is it different from the per-episode success rate?
Answer. The blind window bounds reactivity within an episode, so it contributes to the per-episode failure rate. The horizon law compounds across episodes. The two are nested: the per-episode rate is the consequence of the blind window plus every other cause, and the horizon law raises that consequence to a power. Used in §L.A.2 to separate within-episode from across-episode compounding.
Q4. In 3.2.3 §L.D.1 the planner’s usable horizon was 20 steps. What is the analogous long-horizon bound for the shift, and why is it not 1,152 episodes?
Answer. The bound is the drift time constant: the interval over which the environment’s statistics move by more than the tolerance. It is not 1,152 because episodes after a drift are drawn from a different distribution, so the product of per-episode survivals no longer describes the shift. Used in §L.C.1 to define the drift time constant.
Part A — The compounding law and what the floor requires
§L.A.1 — The independent law and its three regimes
The horizon failure law relates a per-episode failure probability to the probability of at least one failure in a horizon of episodes. For independent episodes,
Nothing in (A.1) is subtle; everything difficult in this lesson is about which to substitute and whether independence holds. The law has three regimes.
Small . When , : survival falls linearly and the per-episode rate is a good local description. This is the regime of a single demonstration or a short trial.
Unit . When , . The horizon at which this happens, , is the mean time to failure measured in episodes. This is the characteristic horizon of the system.
Large . When , survival decays exponentially and failure is nearly certain. The horizon budget — the largest at which survival stays above a stated floor — is what a deployment needs, and it is this regime.
The running case sits far inside the third regime. The measured per-episode success in 4.3.2 §L.E.1 is 0.82, so , and the shift is episodes. The logarithm of survival is
so . The horizon budget at this rate is episodes: the floor is breached inside the first episode.
That number is not a prediction that the cell never completes a shift. It is a statement that a cell with no recovery and no maintenance, running at 0.82 per episode, has no shift to speak of. The observed shift does complete, and the difference between the arithmetic and the observation is the entire subject of Parts C and D: recovery and maintenance supply the survival the per-episode rate denies.
§L.A.2 — Why independence fails: the drift hazard
Equation (A.1) assumes is a constant that does not know what happened last episode. In a real cell the environment moves: lights cycle with the building’s HVAC, the camera’s extrinsics creep under thermal load, gripper pads wear, and the policy meets scenes further into the tails of its training distribution. When the environment moves, moves with it, and failures arrive in clusters rather than at a constant rate.
The correlated law replaces the constant with a hazard that depends on the environment’s state:
where is the baseline hazard, the -th drift variable, and its sensitivity. Survival is , and the content of the correlated law is entirely in the time dependence of .
For the running case the four drift variables are:
Camera calibration, . Extrinsic parameters drift by roughly 0.1 mm per hour of thermal cycling, and pose error grows with them. The sensitivity converts millimetres of calibration error into escalation probability.
Lighting, . Overhead lights change with the HVAC cycle, and the perception MMD rises. converts MMD units into escalation probability.
Gripper pad wear, . Pad friction falls by about 2% per 1,000 grasps, and slip rate rises. converts friction loss into escalation probability.
Policy confidence, . The VLA’s action distribution shifts as deployment scenes visit the tails of the training distribution. converts confidence loss into escalation probability.
The signature of the correlated law is clustering. Inter-failure times are less variable than the exponential that (A.1) implies, and a burst corresponds to the drift crossing a threshold. The measurable signature is the autocorrelation of the failure indicator: at lag , a positive value means a failure raises the probability of another failure episodes later. The lab measures this, and §L.C.1 reports the result — which is more interesting than the textbook expects, because at the running case’s drift constant the lag-1 autocorrelation is statistically indistinguishable from zero.
The practical consequence of (A.2) is that maintenance must be scheduled against the hazard integral over an interval, not against an average rate. A schedule that resets the hazard to truncates the integral; a schedule that does not, integrates a rising function.
Concept check. Inter-failure times are exponentially distributed with mean 10 episodes, but observed failures arrive in bursts of three to five separated by gaps of about 40 episodes. What is the diagnosis and what follows?
Answer. The exponential fit is an artefact of matching the mean. Bursts mean the hazard is time-varying, and the bursts are drift crossings. The consequence is that the independent arithmetic at reproduces the average rate and understates the tail; maintenance must trigger at burst onset, not at the average.
[displaces M2]
§L.A.3 — The deployment floor and what it actually requires
The deployment floor is the minimum acceptable shift survival — the operator’s requirement. The horizon budget is the largest at which survival stays above it.
For the running case the operator requires . Invert (A.1) at zero failures:
With the recovery rate folded in, the per-episode escalation probability is , so (A.3) demands
The composed recovery rate from 4.2.4 §L.C.3 is 0.809, and the resulting escalation rate is — 376 times the rate (A.3) permits. At that rate the horizon budget is
and the shift survival is .
This is the central quantitative result of the lesson, and it is worth stating plainly because it contradicts the natural reading of the earlier draft of this material: no maintenance schedule rescues a recovery rate of 0.809. §L.C.3 and §L.D.3 show that resets do help — 9.2 decades for the first reset, 14.7 decades by the fourth — and that even the safety-factor schedule of 5 resets, at 2.5 hours of maintenance, leaves survival at . The lever that reaches the floor is , not the reset frequency.
A more permissive reading of the floor gives the same verdict with a smaller shortfall. If “at least 0.90” means “at most one escalation in the shift” rather than “no escalations”, the constraint is Poisson with mean :
so and — 74.5 times the available recovery rate rather than 376. The expected escalation count at the operating point is per shift, against 207.4 raw failures, so recovery removes about 81% of failures and leaves four times the floor’s allowance.
Two numbers make the required region concrete. At the shift survival is 0.813; at it is 0.902; at it is 0.980. The floor sits between 0.999 and 0.9995, and every design decision in Part D should be read as an attempt to move into that band, not to move the reset count.
The maintenance contribution is still real. The residual of 1.4 cm from 4.3.2 §L.C.3 is the drift seed, and a reset at drift onset returns the hazard to . A reset is an intervention in the sense of 4.2.4 §L.C.2, and the maintenance schedule is its frequency. What the arithmetic above establishes is that the reset frequency is a second-order control relative to : it buys orders of magnitude in survival but cannot buy the last four.
Consolidation checkpoint 1
(a) Three capabilities. You can state the independent law and its three regimes. You can state the correlated hazard and its clustering signature. You can compute what recovery rate a stated floor demands.
(b) Transfer probe. The per-episode failure rate is 0.05 and the floor is . Compute the shift survival and the floor status. Answer: , far below 0.90. The required per-episode success is , so the required failure rate is — 47.5 times smaller than 0.05. Recovery and maintenance must supply the difference.
(c) Remediation rule. If you cannot say why the independent law overstates survival when failures are positively correlated, re-read §L.A.2 before Part B.
Part B — Long-horizon metrics and window sizing
§L.B.1 — The five metrics
Long-horizon evaluation reports five quantities, each with a bound.
Shift survival rate. The fraction of shifts that complete without an escalation. Bound: 0.90, from the operator.
Mean time between failures (MTBF). The average number of episodes between detected failures. Bound: above 10 episodes. At the running case’s raw rate MTBF is episodes; with recovery folded in it is episodes, so the bound is met only in the recovered reading. The distinction matters and must be stated whenever MTBF is quoted.
Drift time constant . The interval over which the hazard doubles. Bound: the maintenance interval must satisfy , the safety factor from 4.3.1 §L.C.1.
Recovery effectiveness decay. The composed rate at the end of the horizon divided by the rate at the start. Bound: ratio above 0.80.
Maintenance rate. Resets per shift. Bound: at most 4 for the running case.
The five are the long-horizon complement of the six metrics in 4.1.1 §L.C.1, and their conjunction is the shift acceptance.
§L.B.2 — Window sizing
Window sizing is the episode count needed to estimate a metric at a required confidence-interval resolution. It is the power arithmetic of 4.3.1 §L.C.1 applied at the shift level.
For a shift survival proportion near 0.90 at a five-point resolution with a 95% interval,
138 shifts at 8 hours each is 1,106 hours, or 46 days of continuous operation. The window is not the deployment target: the target is 1 shift, and the window needed to measure shift survival directly is 138 times larger.
Substitution. A 138-shift window is infeasible for a capstone, so the evaluation uses an episode-level suite — the 400-episode suite of 4.3.2 §L.E.2 — to estimate the per-episode rate, and extrapolates to shift survival through the model in §L.C.3. The extrapolation is the object that must be defended, and its validity is the contract of §L.B.4.
Upper bound on the window. The window cannot exceed the drift time constant , because episodes after a drift are drawn from a different distribution. In the running case episodes, so a 400-episode suite fits inside one drift phase — but only just, and the margin is what makes stratification necessary.
Design. The 400-episode suite is the short window, inside . The long-horizon window is the sequence of reset intervals, with shift survival extrapolated. The extrapolation’s interval is the model’s uncertainty, and the conservative choice is its lower bound.
§L.B.3 — The horizon confidence interval
The survival estimate at the horizon end carries an interval far wider than the per-episode interval. Writing for the per-episode success rate and for its standard error, , and the delta method gives
The standard deviation grows linearly in , so the interval on the log survival widens linearly and the interval on survival widens exponentially.
Numbers for the running case, all computed:
| Suite | sd of | 95% half-width | interval | ||||
|---|---|---|---|---|---|---|---|
| 400-episode | 0.82 | 0.02 | 400 | 9.8 nats | nats ( decades) | ||
| shift | 0.82 | 0.02 | 1,152 | 28.1 nats | nats ( decades) | ||
| shift | 0.82 | 0.03 | 1,152 | 42.1 nats | nats ( decades) |
The point estimate is not a usable statement. It is indistinguishable from and from at the same confidence, and both of those differ from it by more than any decision would tolerate. What the design uses is the lower bound, per 4.3.1 §L.C.4: a decision must be made on the pessimistic end.
Control. Stratified windows — one per drift phase — give a narrower interval than a pooled window, because within-phase variance is smaller than across-phase variance. The stratified logging of 4.3.1 §L.D.1 is the mechanism.
§L.B.4 — The extrapolation contract
The extrapolation contract is the set of assumptions under which an episode-level window predicts shift survival. It is the condition on any long-horizon evidence claim, and it has three clauses.
Hazard stationarity within the phase. The per-episode rate is constant between resets. Violation: fast drift inside a phase. Detection: the drift channel of 4.3.1 §L.D.2.
Recovery independence across episodes. Recovery effectiveness is not degraded by prior recoveries. Violation: recovery state — a consumed retry budget, an accumulated degrade tolerance. Detection: the recovery kind distribution.
Reset completeness. A reset restores the hazard to . Violation: partial recalibration. Detection: the post-reset checks of 4.2.1 §L.B.3.
The contract is recorded in the analysis field of the 4.3.1 §L.A.2 registry, and a violated clause is a diagnosed failure mode, not a caveat to be noted in passing.
Self-explanation 2. Why is the lower bound the decision and the upper bound the optimism?
Answer. The decision is the operator’s acceptance of shift reliability, and acceptance must be conservative. The lower bound is the pessimistic estimate; the upper bound would overstate reliability if used. The lower-bound discipline of
3.1.4§L.D.1 is the same rule applied to a different quantity. Note that at the horizon the interval is so wide that “upper bound” can exceed 1 — see the checkpoint below — which is a second reason the upper end carries no information.
Concept check. A 400-episode suite gives a per-episode success rate of 0.82 with , and the shift survival is extrapolated as . Is the point estimate useful?
Answer. No. By (B.2) the log interval is decades, so is not distinguishable from or . What carries information is the contract of §L.B.4 plus the lower bound.
[displaces M3]
Consolidation checkpoint 2
(a) Three capabilities. You can name the five metrics and their bounds. You can compute a window from an interval resolution. You can state the three contract clauses.
(b) Transfer probe. The per-episode success rate is 0.90 with , and the horizon is 500 episodes. Compute the log interval. Answer: , so the standard deviation is 5.56 nats and the 95% half-width is nats, or decades. The point estimate is , so the interval is . Note how much narrower this is than the running case: the interval scales with , and 500 episodes at is a far better measurement than 1,152 at 0.02.
(c) Remediation rule. If you cannot say why the window is not the shift, re-read §L.B.2 before Part C.
Part C — Drift sources and the maintenance policy
§L.C.1 — The four drift sources and the drift time constant
The drift sources are the four of (A.2). Each has a detection channel and a time constant.
Camera calibration drift. Extrinsics drift about 0.1 mm per hour. Detection: the frame check of 4.2.1 §L.B.3, which compares the SLAM estimate against the kinematic prior. Time constant: 8 hours.
Lighting drift. Overhead lights track the building’s HVAC cycle. Detection: the MMD of 3.4.4 §L.D.1. Time constant: 4 hours.
Gripper pad wear. Friction falls 2% per 1,000 grasps, and a shift is roughly 1,152 grasps, so a shift costs about 2.3% of the pad’s friction. Detection: the momentum observer residual of 2.3.3 §L.E.2. Time constant: 36 hours, or about 4.5 shifts.
Policy confidence drift. The VLA’s action distribution shifts as scenes visit the training tails. Detection: the Q-shield rejection rate of 2.2.4 §L.D.3. Time constant: 16 hours, or 2 shifts.
The sensitivities are the contribution shares measured in 4.3.2 §L.D.1 — perception 1.3 cm, actuation 0.5 cm, dynamics 1.1 cm, policy 0.3 cm — projected onto the escalation rate.
The drift time constant is the smallest of the four, which is 4 hours (lighting), not the 8-hour camera constant and not the 16-hour policy constant. The safety factor of 4.3.1 §L.C.1 then gives hours. At a 30-minute reset cost that is 6 intervals, 5 resets, and 2.5 hours of maintenance. The running case’s 4 resets per shift give a 1.60-hour interval — a looser interval than the safety factor allows, by 20%. §L.D.3 works the cost of both.
The choice of the smallest constant is not a conservative flourish. Each drift has its own detection channel, and the channel with the shortest constant is the one that fires first; scheduling to any larger constant leaves the lighting channel’s drift unaddressed between resets.
§L.C.2 — The maintenance policy: three thresholds
The maintenance policy is the schedule of resets. It has three thresholds, each a decision.
Monitor threshold. The drift-channel statistic — MMD for lighting, calibration disagreement for the camera, observer residual for wear, Q-shield rejection rate for policy — is compared against the baseline upper bound. A statistic above the bound is a drift detection.
Reset threshold. A statistic sustained above the bound for a dwell of three consecutive monitor windows triggers a reset. The dwell is the false-alarm control, the hysteresis of 4.2.4 §L.B.3.
Escalation threshold. A reset that fails — the post-reset statistic still above the bound — triggers escalation to the operator, per 4.2.4 §L.C.2.
The three are the reactive half. The proactive half is a reset at regardless of the statistic. The trade is direct: proactive resets cost a fixed amount per interval and eliminate the drift entirely; reactive resets cost only when drift is detected but carry the risk of drift between detection and reset.
For the running case a reset is a recalibration package — camera extrinsic re-check, lighting baseline re-capture, gripper friction re-identification, Q-shield recalibration — costing 30 minutes.
§L.C.3 — The recovery compounding
Recovery compounding is the decay of recovery effectiveness across a horizon. It is the composed rate of 4.2.4 §L.C.3 nested inside the horizon law, and the nesting is where a common error lives.
The composed recovery rate is : the probability that a detected failure is recovered without escalation. It is not a survival probability, and it does not raise to a power as one. What raises to a power is the per-episode escalation probability,
and the survival of a -episode segment is .
The distinction is worth a factor. At the correct segment survival is ; the tempting is off by a factor of 4,900 and points at the wrong design conclusion. The temptation is the substitution of the recovery’s success probability for the shift’s survival probability — two quantities with the same units and no relation.
Recovery effectiveness does decay, and for three reasons.
Retry budget. The two-retry bound is consumed by earlier failures, so late failures have fewer retries.
Degrade tolerance. Coarser tolerances accumulate: the -th degrade is times coarser than the first.
Abort state. An abort reaches the safe state and the next episode starts from it, per step 4 of 4.2.4 §L.C.2, which is itself a reset.
The compounding law is therefore nested inside the drift segments, with rising across segments as falls. The measured decay is the subject of §L.D.1.
For the running case at hours and the 1.33-hour interval, a segment is 192 episodes and the segment survival is — still catastrophic, which is why §L.A.3’s verdict stands.
Self-explanation 3. Why is the compounding per-segment rather than per-episode, and why is not the quantity that compounds?
Answer. The maintenance reset restores the recovery’s state — recalibration resets the retry budget and the degrade tolerance — so a segment is the interval between resets, and the compounding is within it. And is the probability of recovering a failure, not of surviving an episode; the episode survives if it does not fail, or if it fails and is recovered, so the escalation probability is and that is what compounds.
Concept check. The recovery rate is 0.90, the per-episode failure rate is 0.18, and the segment is 6 episodes. Compute the segment survival and the segment failure probability.
Answer. , so the segment survival is and the segment failure is 0.103. Note that is the wrong answer and is wrong in the direction that makes the system look worse than it is.
[displaces M5]
Consolidation checkpoint 3
(a) Three capabilities. You can name the four drift sources, their channels, and their constants. You can state the three maintenance thresholds. You can compute a segment survival from and .
(b) Transfer probe. The recovery rate is 0.85, the per-episode failure rate is 0.18, and the segment is 10 episodes. Compute the segment survival. Answer: , so the segment survival is and the segment failure is 0.239. For contrast, — the wrong formula again, and again pessimistic.
(c) Remediation rule. If you cannot say why rather than , re-read §L.C.3 before Part D.
Part D — Recovery across horizons, degradation modes, schedule design
§L.D.1 — The recovery effectiveness decay
Recovery effectiveness decay is the rate at which the composed rate falls across segments. Its measurement is the interval of 4.3.1 §L.C.4 at each segment index.
The form is with the segment length and the segment’s escalation rate. Decay means rises with segment index as recovery state accumulates; the signature is the recovery kind distribution shifting toward abort and escalate.
Measurement. At the running case has 5 resets per shift and segments of 192 episodes. A 400-episode suite covers roughly two segments, which is not enough to fit a trend. The interval on a per-segment survival at 192 episodes and is, by (B.2), decades — wide enough that a decay of the size the mechanism predicts is not separable from noise at this sample size. This is a real limitation, and the honest response is to report the decay as unmeasured rather than to fit a trend to two points.
Consequence. A detected decay re-runs the stopping rule of 4.3.2 §L.C.3 on the residual: the residual is no longer stationary, so the diagnosis must be reopened.
§L.D.2 — The four degradation modes
Degradation modes are the ways a system fails over a horizon. Each has a signature and a detector.
Cumulative wear. Pad friction falls and slip rate rises. Signature: monotone rise in slip rate across shifts. Detector: the momentum observer residual of 2.3.3 §L.E.2.
Calibration drift. Extrinsics move and pose error grows. Signature: monotone rise in the frame-check disagreement of 4.2.1 §L.B.3. Detector: the frame check.
Policy distribution shift. Deployment scenes visit training tails and confidence falls. Signature: monotone rise in Q-shield rejection rate. Detector: the rejection rate.
Recovery state. Retry budget consumed and degrade tolerance accumulated. Signature: the recovery kind distribution shifts toward abort and escalate. Detector: the kind distribution.
The first three are environment- or hardware-driven and respond to resets. The fourth is the recovery’s own degradation, and it responds to resets too — which is why the reset schedule is the answer to a mode that is otherwise self-reinforcing. The four are the horizon entries of the 3.3.4 §L.E.3 register.
§L.D.3 — The maintenance schedule and its trade
The maintenance schedule is the set of reset times across a shift, composed from the proactive and reactive halves of §L.C.2.
Proactive at . h gives a 1.33-hour interval: 6 intervals, 5 resets per shift, at 30 minutes each, is 2.5 hours or 31% of the shift.
Reactive. Reset on detection with a three-window dwell. Cost is 30 minutes times the detection count, typically three or four per shift. Risk is the drift between detection and reset.
Composed. Proactive at a 1.60-hour interval — 4 resets, 2.0 hours — plus reactive on detection. This is the running case’s schedule, and it costs 25% of the shift for the proactive half.
The trade is not subtle. Proactive cost is linear in frequency; reactive cost is the detection count, and its risk is the unmonitored drift. The optimum is the expected-information-gain arithmetic of 4.3.1 §L.C.2: reset when the expected reduction in hazard integral exceeds the reset’s cost.
What the schedule cannot do is set . §L.A.3 established that the floor needs and the composed rate is 0.809, so the schedule buys survival orders of magnitude and stops roughly 17 orders short. The running case’s schedule is therefore a drift control, not a floor-compliance mechanism, and the register in §L.E.3 must say so.
Consolidation checkpoint 4
(a) Three capabilities. You can state the decay form and why it is hard to measure. You can name the four degradation modes and their signatures. You can state the composed schedule and its cost.
(b) Transfer probe. The proactive reset costs 15 minutes and hours. Compute the proactive frequency and per-shift cost. Answer: hours, which is more than half a shift, so a shift contains at most one proactive reset; the cost is 15 minutes. If instead the schedule uses hours, it is one reset per shift at 15 minutes. The point of the probe is that a long makes the proactive half cheap, and the running case’s hours is what makes it expensive.
(c) Remediation rule. If you cannot say why the recovery kind distribution is the signature of the fourth mode, re-read §L.D.2 before Part E.
Part E — The running case
§L.E.1 — The 8-hour shift plan
The plan assembles the evidence chain of 4.3.2 §L.E.1 and the recovery budget of 4.2.4 §L.E.2.
Target. 1,152 episodes at 25 seconds, shift survival floor 0.90, at most 4 resets per shift.
Rates. Per-episode failure 0.18; composed recovery 0.809; escalation .
Segments. Four proactive resets cut the shift into five intervals, and 1,152 does not divide by 5: . A schedule of five equal segments of 230 episodes silently drops two episodes, so the last segment takes the remainder and the plan reports . The interval is then 1.60 hours, not the 2 hours a five-into-eight division would suggest.
This is where the two constraints meet and bind. The maintenance budget of 4 resets caps the interval from below at 1.60 hours. The safety factor requires 1.33 hours, which needs 5 resets and costs 2.5 hours. The running case’s 4 resets therefore violate the safety factor by 20% to stay inside the cost bound, and §L.D.3 is the account of that trade.
Schedule. 4 proactive resets at a 1.60-hour interval, plus reactive resets on detection. Cost 2.0 hours per shift; risk is the drift inside the interval.
Numbers.
| Component | Value | Source |
|---|---|---|
| Shift episodes | 1,152 | 8 h / 25 s |
| Per-episode failure rate | 0.18 | 4.3.2 §L.E.1 |
| Recovery rate | 0.809 | 4.2.4 §L.C.3 |
| Escalation rate | 0.03438 | |
| Expected escalations per shift | 39.6 | |
| Raw failures per shift | 207.4 | |
| Shift survival, constant hazard | ||
| Shift survival, drift, no reset | linear hazard | |
| Shift survival, drift, 4 resets | 5 segments, 230 + 232 | |
| Required for floor (zero-failure) | 0.99949 | (A.3) |
| Required for floor (at most one) | 0.99744 | Poisson |
| Maintenance cost | 2.0 h | 4 × 30 min |
The two survival rows are the lesson’s punchline. Drift costs 18 orders of magnitude; four resets recover 14 of them; the floor is still 21 orders away. The schedule is doing exactly what it was designed to do, and it is not the constraint that matters.
§L.E.2 — The horizon evidence
Metrics. The five of §L.B.1 with their bounds.
Window. The 400-episode suite, plus the stratified per-phase windows.
Interval. At 400 episodes and the log interval is decades; extrapolated to the shift it is decades. The extrapolation contract, not the interval, is what makes the statement usable.
Evidence failure. The 1.4 cm residual of 4.3.2 §L.E.2 is the drift seed, and the reset is the residual’s reset. The horizon evidence is the pre-reset and post-reset comparison.
Conclusion. The shift survival lower bound is the decision, per 4.3.1 §L.C.4. At the running case’s numbers the lower bound is far below the floor, so the honest conclusion of the horizon evidence is a refusal: the cell does not meet its reliability requirement at the current recovery rate, and the register must record that.
§L.E.3 — The register entries
| Failure | Probability | Consequence | Mitigation | Residual |
|---|---|---|---|---|
| Drift unmonitored inside the reset interval | Moderate | Clustered failures | 4 proactive resets | Drift within the 1.60-hour interval |
| Recovery effectiveness decay | High | Escalation rate rises across segments | Reset schedule | Segment length |
| Policy confidence drift | High | Q-shield rejection rate rises | Recalibration | Recalibration cost |
| Gripper wear | Moderate | Slip rate rises | Friction re-identification | Wear between resets |
| Extrapolation contract violation | Moderate | Prediction invalid | Stratified windows | The three contract clauses |
| Recovery rate below the floor requirement | High | Shift survival , floor 0.90 | None available at | The 0.19 unrecovered fraction |
The last row is the one the arithmetic forces and the earlier draft of this material omitted. A register that lists drift and wear but not the recovery-rate shortfall is a register that has not read its own §L.A.3.
Self-explanation 2. Why is within-interval drift the residual even with reactive resets?
Answer. A reactive reset fires after the statistic crosses, so drift inside the detection latency is unmonitored by construction. The monitor’s window is the detection latency, and it is not zero. The
4.3.1§L.D.2 drift channel sets that window.
Worked-example ladder.
WE-L.E.a (fully worked). The shift is 1,152 episodes with 4 resets. Compute the segment survival and the shift survival under the constant hazard.
Solution. Four resets give five intervals, and 1,152 divides by 5 as 230.4, so the segments are four of 230 episodes and one of 232. The escalation rate is , so under the constant hazard the shift survives with probability and a 230-episode segment survives with . Under the constant hazard the resets do not change the product: five segments totalling 1,152 episodes is 1,152 episodes once. The resets matter only because the hazard is not constant, which is the point of §L.A.2.
WE-L.E.b (completion). Now include the drift: with episodes, phase reset to zero at each reset. Compute the shift survival at 0, 1, 2, 3, 4, 5, and 7 resets.
Completion.
| Segments | Resets | Interval (h) | Cost (h) | Shift survival | vs 0 resets |
|---|---|---|---|---|---|
| 1 | 0 | 8.00 | 0.0 | 1× | |
| 2 | 1 | 4.00 | 0.5 | × | |
| 3 | 2 | 2.67 | 1.0 | × | |
| 4 | 3 | 2.00 | 1.5 | × | |
| 5 | 4 | 1.60 | 2.0 | × | |
| 6 | 5 | 1.33 | 2.5 | × | |
| 8 | 7 | 1.00 | 3.5 | × |
Every reset buys survival, and the returns diminish steeply: the first reset is worth 9.24 decades, the fourth is worth 0.90, and the eighth adds 0.75 on top of the fifth. The floor at 0.90 is not reachable at any of these costs. The table is the quantitative form of §L.D.3’s trade, and it also shows the safety-factor bind: the budget allows 4 resets, while requires 5.
WE-L.E.c (faded). Write the register entry for the recovery-rate shortfall.
Faded step. Failure: the composed recovery rate is 0.809 and the floor requires 0.9995. Probability: certain — it is arithmetic. Consequence: shift survival against a floor of 0.90. Mitigation: none available by scheduling; the recovery must be improved. Residual: the 0.191 unrecovered fraction.
Completion. The residual’s acceptance is the operator’s, and it is not acceptable at these numbers. The register’s purpose is to make that visible before a shift rather than after.
WE-L.E.d (contrastive near-miss). A team reports a shift survival point estimate of 0.999 as the acceptance, and a lower bound of 0.97 which is above the 0.90 floor. Why it fails: the point estimate is not the decision, and the interval is wide enough that the lower bound at 0.97 could come from a suite whose true rate is far worse; more importantly, the estimate must be checked against the compounding law rather than against a floor alone. If the suite’s per-episode rate is 0.82 and the shift is 1,152 episodes, a shift survival of 0.999 is arithmetically impossible without a recovery rate near 0.9995, and the team’s number therefore contradicts its own inputs. The fix: recompute from , , and the segment structure, and report the lower bound of that computation.
Comparative table: horizon evidence items.
| Item | Value | Bound | Status |
|---|---|---|---|
| Shift survival lower bound | Fail | ||
| MTBF (with recovery) | 29.1 episodes | Pass | |
| 4 h | — | Reported | |
| Recovery effectiveness decay | Not measurable at 2 segments | Unmeasured | |
| Maintenance rate | 4 per shift | Pass | |
| Maintenance cost | 2.0 h | h | Pass |
Design principle P59.1. The floor is a constraint on the recovery rate, and the maintenance schedule is a constraint on the drift integral; a schedule that meets its cost bound and leaves the recovery rate short has met the cheaper constraint and failed the one that decides.
Consolidation checkpoint 5
(a) Three capabilities. You can state the shift plan’s numbers. You can read the horizon evidence against its bounds. You can write the register entries, including the recovery shortfall.
(b) Transfer probe. Resets are 4 per shift at 30 minutes and the maintenance budget is 1.5 hours. Is the schedule feasible? Answer: no — minutes exceeds 90. The fix is 3 resets at a 2-hour interval, costing 1.5 hours, and the price is a longer segment and a larger drift integral within it. Note what the fix does not do: it does not change , so the shift survival falls from to — a factor of 254, against a floor that is 21 orders away.
(c) Remediation rule. If you cannot say why the segment count must divide the episode count, re-read §L.E.1 before the lab.
Failure taxonomy
| Symptom | Causes ranked | Discriminating test | Fix |
|---|---|---|---|
| Shift survival below floor | Recovery rate short; resets too few; drift fast | Compute required from (A.3) and compare | Raise ; resets alone cannot close it |
| Failures cluster | Drift correlated; recovery state | Lag- autocorrelation, compared against the noise floor | Reset at drift onset |
| Recovery decays across segments | Recovery state; drift; segment too long | Recovery kind distribution | Shorten segments; reset the retry budget |
| Extrapolation invalid | Contract clause violated; window too short | Stratified windows | Re-examine the clause |
| Maintenance cost over budget | Too many resets; reset too expensive | Cost arithmetic | Fewer resets, longer segments, accept the drift |
| Drift unmonitored | Monitor window too wide; threshold too loose | Monitor latency | Tighten the window |
| Autocorrelation reads zero at a real drift | Drift too slow relative to the failure rate | Sweep and compare to noise | Report the test’s power, not the point estimate |
The last row is not in the earlier draft and belongs there: §L.C.1 promises that clustering is the correlated law’s signature, and the lab finds the signature absent at the operating point. A taxonomy that lists only the failures the lab exercised would miss the failure of the lab’s own instrument.
The lab
Task. Implement the horizon failure law, the drift hazard, and the segment compounding for the running case’s 8-hour shift. Compute shift survival at several reset schedules under both the constant and the linear-drift hazard, and report the recovery rate the floor requires.
Conditions. Python 3.10+, NumPy. Per-episode failure 0.18; recovery 0.809; h episodes; four drift variables with constants 8, 4, 36, and 16 hours. Seed every RNG.
Controls. (i) zero resets; (ii) 1 reset; (iii) 2 resets; (iv) 3 resets; (v) the constant hazard as a reference, under which every schedule gives the same product.
Metrics.
| Metric | Definition | Target |
|---|---|---|
| Shift survival | Product over segments of the discrete drift hazard | Report per schedule |
| Segment survival | under the constant hazard | Report |
| Required | From (A.3) | Report |
| MTBF | ||
| Maintenance cost | Resets × 30 min | h |
| Lag-1 autocorrelation | Of the failure indicator | Report with its noise floor |
Pre-registered hypotheses.
H1. The 4-reset schedule meets the 0.90 floor, because the per-segment failure is reset before it compounds.
H2. Zero resets gives the independent-law survival and the drift law a higher survival, because the drift saturates the hazard.
H3. The 2-reset schedule sits below the floor under the independent law and above it under the correlated law, because drift within the interval is the effective rate.
H4. The drift law’s lag-1 autocorrelation is positive and the independent law’s is zero.
Break-it sequence.
- Substitute for the segment survival. The 48-episode segment reports instead of , and the shift survival becomes a product of numbers that are not survival probabilities. Silent: the number looks like a low probability, and low is what the floor expects.
- Drop the recovery rate from the per-episode rate. Set and the shift survival is , which is 81 orders worse than the model’s own answer. Silent: a very small number looks like a conservative bound.
- Report the point estimate instead of the lower bound. The shift survival is and its 95% interval spans decades. Silent: the point estimate is the plausible one.
Acceptance criteria.
| Criterion | Pass condition | Measured |
|---|---|---|
| H1 supported | 4-reset survival | Refuted — |
| H2 supported | Drift survival above the independent law | Refuted with the sign reversed — vs |
| H3 supported | 2-reset between the two laws | Refuted — both schedules fail |
| H4 supported | Lag-1 autocorrelation positive and outside noise | Refuted at h — |
| Break-it 1 detected | The substitution is caught | Caught by the segment-survival check |
| Break-it 2 detected | The dropped recovery rate is caught | Caught by the required- computation |
| Break-it 3 detected | The point-estimate report is caught | Caught by the interval width |
What good looks like. A good artefact has five properties. (1) The independent and drift laws are computed and compared. (2) The segment survival uses , not . (3) The required recovery rate is computed from the floor and compared against 0.809. (4) The reset schedules are tabulated with their costs. (5) The autocorrelation is reported with its noise floor, and a null result is reported as a null.
A runnable core, seeded and annotated:
# lab_4_3_3.py — horizon failure law, drift hazard, reset schedules, horizon CI
import numpy as np
from math import log, log10, exp
# ---- running-case constants -------------------------------------------
$P_FAIL$ = 0.18 # per-episode failure rate; 4.3.2 §L.E.1 success 0.82
$R_REC$ = 0.809 # composed recovery rate; 4.2.4 §L.C.3
CYCLE_S = 25
SHIFT_H = 8.0
$N_SHIFT$ = int(SHIFT_H * 3600 / CYCLE_S) # 1152 episodes
EP_PER_H = $N_SHIFT$ / SHIFT_H # 144
FLOOR = 0.90
RESET_MIN = 30
# four drift time constants, in hours (camera, lighting, wear, policy)
$T_DRIFT_H$ = dict(camera=8.0, lighting=4.0, wear=36.0, policy=16.0)
$T_D_H$ = $min(T_DRIFT_H$.values()) # 4.0 h
$T_D$ = $T_D_H$ * EP_PER_H # 576 episodes
Q = $P_FAIL$ * (1.0 - $R_REC$) # per-episode escalation rate
# ---- the two laws -----------------------------------------------------
def surv_const(q, n):
"""Independent episodes: no resets can help, the product is fixed."""
return (1.0 - q) ** n
def $segment_lengths(n_resets$, $n=N_SHIFT$):
"""$n_resets$ cut points give $n_resets+1$ intervals; the last absorbs the remainder."""
m = $n_resets$ + 1
base = n // m
return [base] * (m - 1) + [n - base * (m - 1)]
def $surv_drift(n_resets$, q=Q, $t_d=T_D$, $n=N_SHIFT$):
"""Each interval restarts the hazard at lambda_0 with drift phase zero."""
ks = $segment_lengths(n_resets$, n)
assert sum(ks) == n, "segments must tile the shift"
return float(np.prod([np.prod(1.0 - q * (1.0 + np.arange(k) / $t_d$)) for k in ks]))
def horizon_budget(q, floor=FLOOR):
return log(floor) / log(1.0 - q)
def required_rate(floor=FLOOR, $n=N_SHIFT$):
"""Per-episode escalation rate that meets the floor with zero failures."""
return 1.0 - floor ** (1.0 / n)
def $lag_autocorr(t_d=T_D$, lag=1, $n=N_SHIFT$, q=Q, seed=0):
rng = np.random.default_rng(seed)
f = (rng.random(n) < q * (1.0 + np.arange(n) / $t_d$)).astype(float)
return 0.0 if f.std() == 0 else float(np.corrcoef(f[:-lag], f[lag:])[0, 1])
def log_surv_ci(p, sigma, n, z=1.96):
"""Delta method on ln $P_survive(n$) = n ln(1 - p); p is the failure rate."""
sd = n * sigma / (1.0 - p)
return sd, z * sd
# ---- canaries ---------------------------------------------------------
print("== canaries ==")
c1 = surv_drift(4, $t_d=1e12$)
print("C1 $T_d-$>inf must equal the constant law : %.15e vs %.15e rel %.1e"
% (c1, surv_const(Q, $N_SHIFT$), abs(c1 - surv_const(Q, $N_SHIFT$)) / surv_const(Q, $N_SHIFT$)))
print("C2 q=0 must give 1 : %.15f" % surv_drift(4, q=0.0))
print("C3 alternating pattern lag-1 must be -1 : %.4f"
% np.corrcoef([0, 1, 0, 1, 0, 1][:-1], [0, 1, 0, 1, 0, 1][1:])[0, 1])
rng = np.random.default_rng(7)
nmc, sig = 400, np.$sqrt(P_FAIL$ * (1 - $P_FAIL$) / 400)
sd_mc = np.std(nmc * np.log(1 - rng.binomial(nmc, $P_FAIL$, 20000) / nmc))
print("C4 delta method vs Monte Carlo at n=400 : %.4f vs %.4f" % ($log_surv_ci(P_FAIL$, sig, nmc)[0], sd_mc))
# ---- the laws ---------------------------------------------------------
print("\n== laws at n = %d, q = %.5f ==" % ($N_SHIFT$, Q))
print("independent, raw p = %.2f : %.4e (10^%.1f)" % ($P_FAIL$, $surv_const(P_FAIL$, $N_SHIFT$), $N_SHIFT$ * log10(1 - $P_FAIL$)))
print("independent, with recovery : %.4e (10^%.1f)" % (surv_const(Q, $N_SHIFT$), $N_SHIFT$ * log10(1 - Q)))
print("drift hazard, no reset : %.4e (10^%.1f)" % (surv_drift(0), log10(surv_drift(0))))
print("MTBF raw %.2f episodes, with recovery %.1f episodes" % (1 / $P_FAIL$, 1 / Q))
print("horizon budget raw %.2f episodes, with recovery %.2f episodes"
% ($horizon_budget(P_FAIL$), horizon_budget(Q)))
# ---- what the floor requires -----------------------------------------
qr = required_rate()
print("\n== floor %.2f over %d episodes ==" % (FLOOR, $N_SHIFT$))
print("zero-failure reading : q <= %.4e -> R >= %.5f (have %.4e, short %.0fx)"
% (qr, 1 - qr / $P_FAIL$, Q, Q / qr))
lo, hi = 0.0, 20.0
for _ in range(300):
mid = (lo + hi) / 2
lo, hi = (mid, hi) if exp(-mid) * (1 + mid) > FLOOR else (lo, mid)
lam = (lo + hi) / 2
print("at-most-one reading : lam <= %.4f escalations/shift -> q <= %.4e, R >= %.5f (short %.1fx)"
% (lam, lam / $N_SHIFT$, 1 - (lam / $N_SHIFT$) / $P_FAIL$, Q / (lam / $N_SHIFT$)))
print("expected escalations per shift: %.1f (raw failures %.1f)" % (Q * $N_SHIFT$, $P_FAIL$ * $N_SHIFT$))
# ---- reset schedules --------------------------------------------------
print("\n== reset schedules, $T_d$ = %.0f h = %.0f episodes ==" % ($T_D_H$, $T_D$))
print("resets segs interval_h cost_h drift_surv const_surv vs_zero")
base = surv_drift(0)
for nr in (0, 1, 2, 3, 4, 5, 7):
ks = segment_lengths(nr)
s = surv_drift(nr)
print("%6d %4d %10.2f %6.1f %.3e %.3e %8.1fx"
% (nr, len(ks), $N_SHIFT$ / len(ks) / EP_PER_H, nr * RESET_MIN / 60.0,
s, surv_const(Q, $N_SHIFT$), s / base))
# ---- autocorrelation --------------------------------------------------
print("\n== lag-1 autocorrelation of the failure indicator (30 seeds) ==")
for td_h in (8.0, 4.0, 2.0, 1.0, 0.5, 0.25):
v = np.array([lag_autocorr(td_h * EP_PER_H, seed=s) for s in range(30)])
print("$T_d$ = %4.2f h (%5.0f ep) : %+.3f +- %.3f" % (td_h, td_h * EP_PER_H, v.mean(), v.std()))
# ---- horizon CI -------------------------------------------------------
print("\n== CI on ln $P_survive$, delta method ==")
for p, sigma, n, tag in [($P_FAIL$, 0.02, 400, "400-episode suite"),
($P_FAIL$, 0.0192, 1152, "shift, binomial SE"),
($P_FAIL$, 0.03, 1152, "shift, sigma_p = 0.03"),
(0.10, 0.01, 500, "checkpoint 2")]:
sd, half = log_surv_ci(p, sigma, n)
lp = n * log10(1 - p)
print("%-19s sd %5.1f nats 95%% +-%.1f nats (+-%.1f decades) logP %.1f CI [%.1f, %.1f]"
% (tag, sd, half, half / log(10), lp, lp - half / log(10), lp + half / log(10)))
Measured output (this machine, NumPy, seeds as above):
== canaries ==
C1 $T_d-$>inf must equal the constant law : 3.139082114546570e-18 vs 3.139082129314720e-18 rel 4.7e-09
C2 q=0 must give 1 : 1.000000000000000
C3 alternating pattern lag-1 must be -1 : -1.0000
C4 delta method vs Monte Carlo at n=400 : 9.3704 vs 9.3891
== laws at n = 1152, q = 0.03438 ==
independent, raw p = 0.18 : 5.1708e-100 (10^-99.3)
independent, with recovery : 3.1391e-18 (10^-17.5)
drift hazard, no reset : 1.8253e-36 (10^-35.7)
MTBF raw 5.56 episodes, with recovery 29.1 episodes
horizon budget raw 0.53 episodes, with recovery 3.01 episodes
== floor 0.90 over 1152 episodes ==
zero-failure reading : q <= 9.1455e-05 -> R >= 0.99949 (have 3.4380e-02, short 376x)
at-most-one reading : lam <= 0.5318 escalations/shift -> q <= 4.6164e-04, R >= 0.99744 (short 74.5x)
expected escalations per shift: 39.6 (raw failures 207.4)
== reset schedules, $T_d$ = 4 h = 576 episodes ==
resets segs interval_h cost_h drift_surv const_surv vs_zero
0 1 8.00 0.0 1.825e-36 3.139e-18 1.0x
1 2 4.00 0.5 3.151e-27 3.139e-18 1726250000.1x
2 3 2.67 1.0 3.367e-24 3.139e-18 1844666440738.4x
3 4 2.00 1.5 1.078e-22 3.139e-18 59042696888076.5x
4 5 1.60 2.0 8.565e-22 3.139e-18 469215817542328.0x
5 6 1.33 2.5 3.402e-21 3.139e-18 1863726826010834.5x
7 8 1.00 3.5 1.901e-20 3.139e-18 10417059631620288.0x
== lag-1 autocorrelation of the failure indicator (30 seeds) ==
$T_d$ = 8.00 h ( 1152 ep) : +0.003 +- 0.032
$T_d$ = 4.00 h ( 576 ep) : +0.010 +- 0.034
$T_d$ = 2.00 h ( 288 ep) : +0.022 +- 0.036
$T_d$ = 1.00 h ( 144 ep) : +0.038 +- 0.035
$T_d$ = 0.50 h ( 72 ep) : +0.118 +- 0.036
$T_d$ = 0.25 h ( 36 ep) : +0.379 +- 0.035
== CI on ln $P_survive$, delta method ==
400-episode suite sd 9.8 nats 95% +-19.1 nats (+-8.3 decades) logP -34.5 CI [-42.8, -26.2]
shift, binomial SE sd 27.0 nats 95% +-52.9 nats (+-23.0 decades) logP -99.3 CI [-122.2, -76.3]
shift, sigma_p = 0.03 sd 42.1 nats 95% +-82.6 nats (+-35.9 decades) logP -99.3 CI [-135.2, -63.4]
checkpoint 2 sd 5.6 nats 95% +-10.9 nats (+-4.7 decades) logP -22.9 CI [-27.6, -18.1]
Reading the result. Three of four hypotheses are refuted, and each refutation has a mechanism worth keeping.
H1 fails because a reset cannot lower the escalation rate. Under the constant hazard the product is invariant to segmentation — six segments of 192 episodes is 1,152 episodes — and under the drift hazard the resets buy 14 orders of magnitude out of the 18 the drift costs, which is not enough because the starting point was already 17 orders below the floor.
H2 fails with the sign reversed. Drift does not saturate the hazard and improve survival; it makes survival worse, by 18 orders, because the hazard integral over a rising function exceeds the integral over its mean. The “saturation” intuition comes from a bounded hazard, and the linear hazard of (A.2) is not bounded within a shift.
H3 fails for the same reason as H1: both schedules are far below the floor, so there is no between.
H4 fails at the operating point and passes elsewhere, which is the most useful result. The lag-1 autocorrelation is at hours — indistinguishable from zero — and only becomes visible below about hours, where it reads . The reason is that a failure rate of 0.034 per episode is one failure every 29 episodes, so a drift constant of 576 episodes is 20 mean inter-failure times; within one inter-failure gap the hazard barely moves, and the clustering the law predicts is spread over a window the sample cannot resolve. The correlated law is real; its lag-1 signature has no power at this operating point. The honest report is the power curve, not the point estimate.
Cheat sheet
| Term or result | Statement | Role |
|---|---|---|
| Horizon failure law | 4.3.3, Eq. (A.1) | |
| Drift hazard | 4.3.3, Eq. (A.2) | |
| Escalation rate | 4.3.3, Eq. (C.1) | |
| Required rate for a floor | 4.3.3, Eq. (A.3) | |
| Horizon budget | 4.3.3, §L.A.3 | |
| Deployment floor | Minimum acceptable shift survival | 4.3.3, §L.A.3 |
| Five metrics | Survival, MTBF, , decay, maintenance rate | 4.3.3, §L.B.1 |
| Window sizing | 4.3.3, Eq. (B.1) | |
| Horizon interval | 4.3.3, Eq. (B.2) | |
| Extrapolation contract | Stationarity, recovery independence, reset completeness | 4.3.3, §L.B.4 |
| Four drift sources | Camera 8 h, lighting 4 h, wear 36 h, policy 16 h | 4.3.3, §L.C.1 |
| Drift constant | h | 4.3.3, §L.C.1 |
| Three thresholds | Monitor, reset, escalate | 4.3.3, §L.C.2 |
| Segment survival | , not | 4.3.3, §L.C.3 |
| Four degradation modes | Wear, calibration, distribution, recovery state | 4.3.3, §L.D.2 |
| Maintenance schedule | Proactive at plus reactive on detection | 4.3.3, §L.D.3 |
| Register horizon entries | Drift, decay, confidence, wear, contract, rate shortfall | 3.3.4, applied 4.3.3 |
Exercises with solutions
E 4.3.3.1. Compute the horizon at which survival falls to 0.90 at .
S 4.3.3.1. . The horizon is two episodes. The lesson: a 5% per-episode rate crosses the 0.90 floor at the second episode, so the interventions are the source of shift survival.
E 4.3.3.2 (transfer). Inter-failure times have a lag-1 autocorrelation of 0.3. What is the diagnosis and the consequence?
S 4.3.3.2. The hazard is time-varying, and the independent law understates the tail. Maintenance must be scheduled against the drift integral, not the average rate. The lesson: autocorrelation is the correlated law’s signature — and, per the lab, it is only detectable when the drift constant is short relative to the mean inter-failure time. An autocorrelation of 0.3 at a 29-episode MTBF implies a drift constant of order a few tens of episodes.
E 4.3.3.3. State the five metrics and their bounds for the running case.
S 4.3.3.3. Shift survival ; MTBF episodes; ; recovery decay ; maintenance rate per shift. The lesson: the five are the shift acceptance, and the bounds come from the operator and from the safety factor.
E 4.3.3.4 (diagnostic). A 400-episode suite gives a per-episode success rate of 0.82 with , and the extrapolated shift survival is . Is the point estimate useful?
S 4.3.3.4. No. By (B.2) the log interval at 400 episodes is decades, so the point estimate is not distinguishable from or ; at the shift it widens to decades. The lower bound and the extrapolation contract are the useful statements. The lesson: the interval widens linearly in on the log scale, and the point estimate is useless at the horizon.
E 4.3.3.5. Compute the segment survival at , , and a 20-episode segment. Then compute and explain the difference.
S 4.3.3.5. , so . And . The second is the probability that 20 consecutive recoveries all succeed, which is not the probability that a 20-episode segment survives: the segment survives if no episode fails, or if a failing episode is recovered, so the per-episode escalation probability is and not . The lesson: the compounding quantity is the escalation rate, and substituting for it understates segment survival by a factor of 34 here and by thousands at longer segments.
E 4.3.3.6 (transfer). Four drift sources have time constants 8, 4, 36, and 16 hours. Compute the drift constant and the proactive interval.
S 4.3.3.6. is the minimum, 4 hours. The proactive interval is hours, which gives 6 intervals and 5 resets per 8-hour shift at a cost of 2.5 hours. The lesson: the smallest constant dominates the schedule, and the schedule cost is proportional to how small it is.
E 4.3.3.7 (diagnostic). The recovery kind distribution shifts toward abort and escalate across shifts. Which degradation mode?
S 4.3.3.7. Recovery state: the retry budget is consumed and the degrade tolerance accumulates. The fix is the reset schedule. The lesson: recovery state is the fourth degradation mode, and its signature is the kind distribution rather than any environmental statistic.
E 4.3.3.8. Write the register entry for the recovery-rate shortfall.
S 4.3.3.8. Failure: composed recovery rate 0.809 against a required 0.9995. Probability: certain, by arithmetic. Consequence: shift survival against a 0.90 floor. Mitigation: none by scheduling. Residual: the 0.191 unrecovered fraction. The lesson: a register that omits the constraint the arithmetic violates is a register that has not been read.
E 4.3.3.9 (transfer). The maintenance budget is 1.5 hours and 4 resets at 30 minutes costs 2 hours. What is the fix, and what does it buy?
S 4.3.3.9. Three resets at a 2-hour interval costs 1.5 hours, and shift survival falls from to — a factor of 254. The lesson: the budget constrains the reset count, the reset count sets the segment length, and the segment length moves survival by orders of magnitude that are still orders short of the floor.
Exit test
You are ready for Module 4.4 when you can, without notes:
- Derive the horizon failure law and state its three regimes.
- State the drift hazard and explain why it produces clustering.
- Compute the recovery rate a stated floor requires, and compare it against 0.809.
- Name the five long-horizon metrics and their bounds.
- Compute the evaluation window from an interval resolution.
- State the three clauses of the extrapolation contract.
- Name the four drift sources, their detection channels, and their time constants.
- State why the drift constant is the smallest of the four.
- State the three maintenance thresholds and their decisions.
- Compute a segment survival from , , and the segment length, and say why is wrong.
- Name the four degradation modes and their signatures.
- State the composed maintenance schedule and its cost.
- Assemble the 8-hour shift plan’s numbers.
- Read the horizon evidence against its bounds and state the verdict.
- Explain why the autocorrelation test has no power at hours and what that implies for the claim that clustering is the correlated law’s signature.
Cross-references. 4.3.2 supplies the stopping rule and the residual, restated in §L.A.3 and §L.C.1. 4.3.1 supplies the power arithmetic and the interval lower bound, restated in §L.B.2 and §L.B.3. 4.2.4 supplies the five recovery kinds, the composed rate, and the register, restated in §L.A.3, §L.C.3, and §L.E.3. 4.2.2 supplies the total blind window and the attribution, restated in §L.A.2 and §L.C.2. 3.2.3 supplies the usable horizon and the coverage flag, restated in §L.C.1. 1.1.4 supplies the pipeline health checks, restated in §L.A.2. 3.3.4 supplies the register residuals and the safe state, restated in §L.E.3. Module 4.4 uses the horizon failure law and the maintenance policy as forward-looking defence evidence.
§L.10 — Provenance
Every load-bearing number in this lesson, with its evidence tier and reproduction status. Tier A: measured in the lab on this machine. Tier B: derived from a stated closed form. Tier C: quoted from a prior lesson. Status R: reproduced here; S: stated only; P: partial.
| Claim | Value | Tier | Status | Source |
|---|---|---|---|---|
| Shift length in episodes | 1,152 | B | R | |
| Per-episode failure rate | 0.18 | C | S | 4.3.2 §L.E.1 |
| Composed recovery rate | 0.809 | C | S | 4.2.4 §L.C.3 |
| Escalation rate | 0.03438 | B | R | |
| Independent survival, raw | B | R | (A.1) | |
| Independent survival, recovered | B | R | (A.1) | |
| Drift survival, no reset | A | R | lab, surv_drift(1) | |
| Required recovery, zero-failure | 0.99949 | B | R | (A.3) |
| Required recovery, at most one | 0.99744 | B | R | Poisson inversion |
| Reset schedule table | 7 rows | A | R | lab |
| Lag-1 autocorrelation, h | A | R | lab, 30 seeds | |
| Lag-1 autocorrelation, h | A | R | lab, 30 seeds | |
| Log interval at 400 episodes | decades | A | R | lab, checked against Monte Carlo (9.37 vs 9.39 nats) |
| Window at five-point resolution | 138.3 shifts | B | R | (B.1) |
| Drift constants | 8, 4, 36, 16 h | C | S | 4.3.2 §L.D.1, 3.4.4, 2.3.3, 2.2.4 |
Corrections to the previous draft of this lesson. Three defects were found by running the lab against the prose, and each is recorded here because the failure mode is general.
- The per-segment recovery rate was given as — — with the conclusion that per-segment failure is “essentially certain”. The compounding quantity is the escalation rate , so the segment survival is and the segment failure is 0.81. The substitution of a recovery probability for a survival probability is the error §L.C.3 now warns against explicitly.
- The floor arithmetic followed from (1): the draft claimed a 4-reset schedule meets 0.90. It gives . The correct conclusion, that no schedule reaches the floor and the recovery rate is the binding constraint, is now the lesson’s central result.
- The drift constant was taken as 16 hours (“2 shifts”), described as the smallest of the four, when two of the four constants are 8 and 4 hours. hours, and the proactive interval follows as 1.33 hours.
A fourth, smaller defect: the draft’s “5 segments of 230 episodes” does not divide 1,152. The lab now tiles the shift with a remainder segment and asserts the tiling. A fifth: the draft called the 16-hour policy constant the smallest of the four; two of the four are 8 and 4 hours.