目录文档-技术白皮书(V5.05)50-参数注册卡 Template v1.0

第3章 参数分类与命名(编码规则)


I. 目的与范围(Purpose & Scope)


II. 参数分类(Categories)

复合参数按主类确定 CAT,辅类记录于 tags[](如 CAL 主类 + GEO 标签)。


III. 命名与编码(Naming & Coding)

  1. 参数卡 ID:param_id = "<CAT>-<两位序号>-<短名可选>",如 CAL-01-τ_sys;注册表主键唯一。
  2. 符号(symbol):使用国际短符号(如 c_ref、λ_ref、τ_sys、n_eff);避免大写全词。
  3. 字段风格:标识与列名使用 snake_case;单位与量纲使用 SI 与国际符号。
  4. 别名与弃用
    • 别名写入 aliases[],仅内部解析;对外以 symbol 为准。
    • 弃用通过 status: "deprecated" 标注,并给出 replaced_by。
  5. 路径口径:与路径量耦合的参数(如 n_eff(ell)、路径权重)必须携带 delta_form,并在注释中标明 gamma(ell)/d ell。
  6. 冲突名:T_fil ≠ T_trans、n ≠ n_eff;禁止裸用 c、T、n。
  7. 版本:卡片版本采用 SemVer,字段 version 必填并随注册更新。

IV. 编码规则(细则)


V. 规范示例(Valid Examples)

# 1) 计量/标定类:系统延时

version: "1.0.1"

param_id: "CAL-01-τ_sys"

name: "system_delay"

symbol: "τ_sys"

domain: { type: "real", unit: "s", range: [0, 1e-3], default: 1.0e-6, precision: "float64" }

lineage: { source_type: "measured", method: "loopback", instrument: "DPO-7k", calib_run_id: "CAL2025-09-24-01" }

freshness: { valid_from: "2025-09-24T00:00:00Z", valid_to: "2025-10-24T00:00:00Z",

policy: { tau_calib_s_max: 86400, clock_state: "locked" } }

uncertainty: { type: "A", estimate: 2.0e-8, distribution: "normal", coverage: { k: 2 } }

constraints: { depends_on: ["TEMP"], derived: "" }

cov_group: "timing"

status: "stable"

see: ["Metrology.Sync v1.0:PPS","EFT.WP.Core.Metrology v1.0:check_dim"]

# 2) 介质/路径类:有效折射率剖面

version: "1.0.0"

param_id: "PHY-03-n_eff_profile"

name: "effective_index_profile"

symbol: "n_eff(ell)"

domain: { type: "array", unit: "1", range: [0.8, 2.5], precision: "float64" }

lineage: { source_type: "derived", method: "kernel_fit", instrument: "—", calib_run_id: "—" }

freshness: { valid_from: "2025-09-24T00:00:00Z", valid_to: "2026-09-24T00:00:00Z", policy: { tau_calib_s_max: 86400, clock_state: "locked" } }

uncertainty: { type: "A/B", estimate: 3.0e-3, distribution: "gaussian", coverage: { k: 2 } }

constraints: { depends_on: ["ENV-01-α_T","ENV-02-ΔT"], derived: "" }

path:

gamma: "gamma(ell)" # 显式路径

measure: "d ell" # 显式测度

delta_form: "general" # 或 "factored"

cov_group: "medium"

tags: ["coherence_window"]

status: "stable"

see: ["EFT.WP.Core.Equations v1.1:S20-1","EFT.WP.Core.Metrology v1.0:check_dim"]

# 3) 算法超参:Huber 损失的 δ

version: "1.0.0"

param_id: "ALG-05-huber_delta"

name: "huber_delta"

symbol: "δ_huber"

domain: { type: "real", unit: "1", range: [0.1, 5.0], default: 1.345, precision: "float64" }

lineage: { source_type: "configured", method: "benchmark", instrument: "—", calib_run_id: "—" }

freshness: { valid_from: "2025-01-01T00:00:00Z", valid_to: "9999-12-31T23:59:59Z", policy: { tau_calib_s_max: 86400, clock_state: "locked" } }

uncertainty: { type: "B", estimate: 0.0, distribution: "degenerate", coverage: { k: 2 } }

constraints: { depends_on: [], derived: "" }

cov_group: "algo"

status: "stable"

see: ["ErrorBudget.Template v1.0:Ch.6","PTN.Template v1.0:Ch.7"]


VI. 别名、弃用与回滚(Aliases, Deprecation & Rollback)


VII. 质量门映射(Gates Mapping)


VIII. 表模式与校验(Schema & Validation)

{

"$schema": "https://json-schema.org/draft/2020-12/schema",

"title": "param_card v1.0.0",

"type": "object",

"required": ["param_id","symbol","domain","status","version","see"],

"properties": {

"param_id": {"type": "string","pattern":"^[A-Z]{3}-\\d{2}(-[A-Za-z_]{1,16})?$"},

"symbol": {"type": "string"},

"domain": {

"type":"object",

"required":["type","unit"],

"properties":{"type":{"enum":["real","integer","enum","array","tensor"]},"unit":{"type":"string"}}

},

"status":{"enum":["draft","stable","deprecated"]},

"see":{"type":"array","items":{"type":"string"}, "minItems":1}

}

}


IX. 与其它章节衔接(Cross-Refs)


X. 执行勾选清单(Checklist)


版权与许可:除另有说明外,《能量丝理论》(含文本、图表、插图、符号与公式)的著作权由作者(屠广林)享有。
许可方式(CC BY 4.0):在注明作者与来源的前提下,允许复制、转载、节选、改编与再分发。
署名格式(建议):作者:屠广林|作品:《能量丝理论》|来源:energyfilament.org|许可证:CC BY 4.0
验证召集: 作者独立自费、无雇主无资助;下一阶段将优先在最愿意公开讨论、公开复现、公开挑错的环境中推进落地,不限国家。欢迎各国媒体与同行抓住窗口组织验证,并与我们联系。
版本信息: 首次发布:2025-11-11 | 当前版本:v6.0+5.05