{% macro performance_table(rows) %}
{% for row in rows %}{% endfor %}
指标 / 对象差值第一次第二次资格 / 原因
{{ row.metric_id }} · {{ row.statistic }}
{{ row.category or '—' }} · {{ row.case_id or '题型汇总' }}
{{ '%+.3f'|format(row.difference) if row.difference is not none else '—' }} {{ row.unit or '' }}{{ '%.3f'|format(row.left) if row.left is not none else '—' }}{{ '%.3f'|format(row.right) if row.right is not none else '—' }}{{ '已获准' if row.eligible else '未获准' }}{% if row.reasons %}
{{ row.reasons|join('; ') }}{% endif %}
来源与限制
{{ row.source }}
第一次:{{ row.left_limits|join('; ') }}
第二次:{{ row.right_limits|join('; ') }}
{% if row.resource_windows is defined %}
观测窗口核对

差值仅适用于所列采样窗口。覆盖率是样本时间跨度,不代表连续观测;系统读数不归因于单个模型。

{% for window in row.resource_windows %}

第{{ loop.index }}次:{% if window.coverage is defined %}覆盖 {{ window.coverage|percent }} · 样本 {{ window.samples }} · 排除 {{ window.excluded }} · 请求内相对位置 {{ window.offsets[0]|percent }}~{{ window.offsets[1]|percent }}{% else %}窗口证据不足{% endif %}

{% endfor %}
{% endif %}
{% endmacro %} {% if index.comparison %}

两次运行的比较

模式:{{ index.comparison.mode }} · 因素:{{ index.comparison.factor or '无' }}。差值方向:第二次减第一次。

受控结论资格 · 质量:{{ '允许' if index.comparison.eligibility.quality else '不可比' }} · 性能:{{ '仅逐项允许' if index.comparison.eligibility.performance else '未获准' }}

{% if index.comparison_source is defined %}

已复核的比较证据 · 筛选隐藏任一运行时,本比较一同隐藏。

{% endif %} {% if index.comparison.calibration_status is defined %}

总开销校准:{% for status in index.comparison.calibration_status %}第{{ loop.index }}次 {{ '已获准' if status.status == 'qualified' else '未提供' if status.status == 'not_supplied' else '受限' }}{% if not loop.last %} · {% endif %}{% endfor %}。增量 ABBA 是独立诊断。

校准状态与适用范围
{{ index.comparison.calibration_status|pretty }}
{% endif %} {% if index.comparison.observed_differences is defined %} {% set observed = index.comparison.observed_differences %}

本次观测差值

仅描述所列样本,不能归因于模型或设备。总体质量未完整评分或口径不匹配时不计算差值。

完成率差值:{{ observed.completion_rate.difference|percent }}

{% for row in observed.quality %}{% endfor %}
质量指标 / 题型第一次第二次差值
{{ row.metric_id }} · {{ row.category or '全部' }}{{ row.left|display }}{{ row.right|display }}{{ row.difference|display }}
样本范围与口径限制
{{ observed.sample_scope|pretty }}
{{ observed.reasons|pretty }}
条件差异
{{ observed.condition_differences|pretty }}
已有逐题评分观测
{{ observed.per_case|pretty }}

性能观测

同口径观测值;差值仍须通过逐指标资格。

{{ performance_table(observed.performance) }}
{% endif %} {% if index.comparison.performance_analysis is defined %} {% set analysis = index.comparison.performance_analysis %} {% set permitted = analysis.differences|selectattr('eligible')|list %} {% set refused = analysis.differences|rejectattr('eligible')|list %}

逐指标性能差值

{{ permitted|length }} 行获准。只描述这两次运行,不自动判断赢家;获准行数不代表独立题数。— 表示没有获准差值。

第一次:{{ index.runs[0].source.run_id }}
第二次:{{ index.runs[1].source.run_id }}

{% if analysis.blockers %}
共同阻断原因
{{ analysis.blockers|join('
') }}
{% endif %} {% if permitted %}{{ performance_table(permitted) }}{% else %}

暂无获准的性能差值。

{% endif %}
未获准指标与原因({{ refused|length }} 行){{ performance_table(refused) }}
比较范围与限制
{{ analysis.limitations|join('
') }}
查看冻结条件
{{ index.comparison.conditions|pretty }}
{% else %}
查看条件与阻断原因
{{ index.comparison|pretty }}
{% endif %}
{% endif %}