HomeDocs-Technical WhitePaper54-Reproducibility Checklist Template v1.0

Chapter 11 — Diagnosis & Rollback (Drift / Bias / Safety)


I. Purpose & Scope


II. Inputs & Dependencies


III. Triggers


IV. Diagnosis Workflow


V. Drift & Bias Localization


VI. Rollback Mechanism (FSM)

  1. States: normal → degrade → rollback → recover → normal (events: gate breach / drift confirmed / perf alert / safety violation).
  2. Degrade strategies:
    • Model: robust surrogate (Huber/quantile), disable unstable ops, enable conservative intervals.
    • Data: isolate risky slices, tighten gates, shorten windows.
    • Path: switch to fullband/short-window or raise guards (without breaking Δell upper bound).
  3. Rollback execution: lock *-lock stable version; verify sha256 + signature; keep I/O contracts & coverage unchanged; canary replay before full rollout.
  4. Recovery verification: /validate passes G1–G8, perf/quality meet SLA/SLO & thresholds, then return to normal.

VII. Normative Path Forms

Before diagnosis/rollback, align time → path → phase; arrays len(gamma_ell)=len(d_ell)=len(n_eff)≥2; echo delta_form; run I70-dim_check with p_dim = 1.0.


VIII. Gate Mapping


IX. Machine-Readable Artifacts
A. diagnosis_report.md (outline)

# Diagnosis Report

- Triggers & symptoms

- Env/seed/data/path checks

- Metric & interval analysis

- UQ & covariance checks

- Bias/ethics/safety notes

- Decision: degrade | rollback | recover plan

B. rollback_fsm.yaml

version: "1.0.0"

states: [normal, degrade, rollback, recover]

transitions:

- { from: normal, to: degrade, when: "gate_alert or drift_alert" }

- { from: degrade, to: rollback, when: "gate_critical or perf_critical" }

- { from: rollback,to: recover, when: "stable_prev_version_ready" }

- { from: recover, to: normal, when: "validate_pass and perf_ok" }

degrade:

strategies: ["robust_surrogate","tighten_gates","isolate_slices"]

rollback:

version_tag: "v1.2.3-lock"

verify: ["checksum","/validate","SLA/SLO"]

recover:

rollout: { canary_percent: 10, steps: 3, pause_s: 600 }


C. alerts.jsonl (sample)

JSON json
{
  "ts": "2025-09-24T16:10:00Z",
  "level": "critical",
  "event": "gate_fail",
  "gate": "G4",
  "detail": "p_dim < 1.0",
  "action": "rollback"
}

X. Anti-Patterns & Fixes


XI. Cross-References


XII. Checklist


Copyright & License (CC BY 4.0)

Copyright: Unless otherwise noted, the copyright of “Energy Filament Theory” (text, charts, illustrations, symbols, and formulas) belongs to the author “Guanglin Tu”.
License: This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, excerpt, adapt, and share for commercial or non‑commercial purposes with proper attribution.
Suggested attribution: Author: “Guanglin Tu”; Work: “Energy Filament Theory”; Source: energyfilament.org; License: CC BY 4.0.

First published: 2025-11-11|Current version:v5.1
License link:https://creativecommons.org/licenses/by/4.0/