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

Chapter 1 — Error System and Naming


I. Chapter Scope and Applicability


II. Error Domain Taxonomy and Boundaries


III. Severity Levels and Action Matrix

  1. Levels: severity ∈ {info, warn, minor, major, critical}.
  2. Impact dimensions: safety, scientific_validity, latency, availability, cost.
  3. Action matrix (summary):
    • info: log and visualize; no automatic action.
    • warn: log, sample report, advisory retry.
    • minor: retry(policy) once; fallback if needed.
    • major: enforce fallback(models, "weighted") or graceful_degradation; mark sample mask_outlier=1.
    • critical: cut the path immediately, preserve state, raise alerts and roll back; block non-compliant reports (e.g., failed check_dim).

IV. Postulates P71-1…P71-3 (Error Naming and Severity)


V. Coding Scheme and Field Specification

  1. Syntax: E-<DOMAIN>-<CLASS>-<NNN>[@vMAJOR]
    • <DOMAIN> ∈ {MET, MOD, DAT, NUM, OPS, INT}.
    • <CLASS> is UPPER_SNAKE_CASE English, e.g., DIMENSION, CALIB, PRIOR, MISSING, OUTLIER, ROUNDING, TIMEOUT.
    • <NNN> is a three-digit sequence, incremented per domain; @vMAJOR is optional for declaring a compatibility breakpoint.
  2. Registration fields (aligned with register_error_code):
    code, name (lower_snake_case, e.g., dimension_mismatch), severity, domain, message, remediation, see.
  3. Requirements:
    • message must be English-only with interpolable placeholders (e.g., {unit_from}->{unit_to}).
    • When arrival time appears, write full path and measure: T_arr = ( ∫ ( n_eff / c_ref ) d ell ), and specify gamma(ell) and d ell.
    • Do not use non-ASCII characters, unit symbols, or spaces in code or name.

VI. Workflow M71-1: Error Normalization and Handling


VII. Canonical Code Catalog (Excerpt)


VIII. Example: Arrival-Time Error Naming Consistency

  1. If a path integral mixes the two conventions or omits path and measure, trigger:
    • E-INT-ARR-003 (mixed conventions);
    • E-MET-DIM-001 (dimensional check failed, e.g., when ( n_eff / c_ref ) * d ell is not rendered dimensionless).
  2. Residual convention: for arrival-time observation y = T_arr_meas and model f(x; theta), define r def= y - f(x; theta); units and dimensions must match. A failed check_dim( y - f(x; theta) ) is critical.

IX. Compatibility and Version Governance


X. Chapter Summary and Outputs


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/