HomeDocs-Technical WhitePaper05-EFT.WP.Core.Errors v1.0

Chapter 6 — Logging, Traceability, and Diagnostics


I. Objectives and Scope


II. Postulates (Recording and Traceability)


III. Recording Layer: Event Schema and Fields


IV. Trace Layer: Chains and Evidence


V. Diagnostic Layer: From Event to Root Cause

  1. Statistical diagnostics
    • Residual r def= y - f(x; theta); weighted statistic chi2 = r^T R r; under normal assumptions, chi2 / dof ≈ 1 indicates health.
    • Pattern recognition: sustained acf(r) implies model omissions; heavy tails in r_bar = r / sigma imply noise-model mismatch (see StudentT(nu)).
  2. Structural diagnostics
    • Dimensional closure: verify check_dim( y - f(x; theta) ); on failure, first attribute to unit policy or RefCond.
    • Numerical symptoms: p_hat below method order, elevated E_round, or cancellation-shaped residuals point to discretization or stability issues (see Chapter 5).
  3. Causal summary
    Generate traceback_summary(ex:any) -> str; when multi-factor, output contribution ranking contrib_i aligned with EB.

VI. SLI/SLO and Threshold Conventions


VII. Workflow Mx-4 (Logging → Trace → Diagnostics)


VIII. Arrival-Time T_arr Logging and Diagnostics Example

  1. Recording essentials
    • measurand="T_arr", path_spec="gamma(ell): polyline with N=512", quadrature="simpson", h=1.25e-3 m, p_hat=3.9.
    • value = ( ∑_k ( n_eff,k / c_ref ) * Δell_k ), unit="s", U = k * u_c(T_arr), k=2.
  2. Diagnostic priorities
    • If chi2 / dof > 1.5 and r_bar shows segmentwise bias, first verify RefCond and that corr_env(•; RefCond) was applied;
    • If p_hat < 3, refine h or enforce knotting at curvature changes;
    • If E_round is elevated, enable compensated summation and segment-wise scaling of n_eff / c_ref.

IX. Interface Mapping and Compliance


X. Minimal Report Field Set (Directly Checkable)


XI. Safety and Compliance (Minimum Requirements)


XII. Chapter Outputs and Linkage


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/