docs(p1): 补齐 record/私聊/转发读回三证据,定性合并转发不可还原
- 新增 forward-readback-probe(只读):对 history 全部 8 条外层 multimsg 逐条 重试 get_forward_msg,含数分钟前的 seq=3115,19 种参数组合全失败, 排除「消息已过期」解释,确认为接口能力缺口(第 20.2 旧依据就地标注缺陷) - 关键发现:news[].text 能否 parse 成段数组取决于当初 node.content 传数组还是 JSON 字符串,唯一能 parse 的两条恰是发送形态用错的那两条 ⇒ 属字面文本假象, 非还原能力。正确形态下段类型与嵌套结构不可逆丢失(GC-012, severity high) - 未采边界显式登记:正确形态样本节点全是 text,媒体节点降级形态无实测依据, 不得宣称「只是降级为文本」 - get_msg 实测 9/9 retcode=0 ⇒ 新增 OP-get-msg,作为不依赖 history 窗口分页的 单条定点读回路径,用于兜底 file 段零事件与私聊 history 分页缺口 - resid 非恒定存在(tsum=0 的静默失效消息 detail_keys 无 resid)⇒ 按可空建模 - record 定性收紧为 MSG-record / MSG-record-silk / MSG-record-transcode 三项; 私聊段矩阵第三证据 6/6 一致;门禁缺测项 1 → 0 - 能力基线 29 → 30 项、globalConstraints 11 → 12;capability-check 识别 forwardReadback 自动源。结构校验 0 错误 0 警告,漂移比对自动 21 项、 漂移 0、缺测 0、人工确认 4 → PASS
This commit is contained in:
@@ -103,14 +103,16 @@ function validateAgainst(measureFiles) {
|
||||
console.log(`\n载入实测记录 ${rows.length} 条,来自 ${measureFiles.map((f) => path.basename(f)).join(', ')}`);
|
||||
|
||||
// 建立 case -> 实测行 的索引(matrix / url-media / record / followup 都是 id 字段)
|
||||
// kind=history 的行是「第三证据」专用行,只有段类型没有 retcode,
|
||||
// 若混入 byCase 会把同名的发送侧行覆盖掉,造成 retcode 假漂移。
|
||||
const byCase = new Map();
|
||||
for (const r of rows) if (r.id && !r.__summary) byCase.set(String(r.id), r);
|
||||
for (const r of rows) if (r.id && !r.__summary && r.kind !== 'history') byCase.set(String(r.id), r);
|
||||
// history-audit 提供 history_segs
|
||||
const audit = new Map();
|
||||
for (const r of rows) if (r.history_segs) audit.set(String(r.id), r);
|
||||
|
||||
// probe 名为 manual/any 的项无法从实测 jsonl 自动比对,单列为人工确认项
|
||||
const AUTO = new Set(['matrix', 'segments', 'record', 'urlMedia', 'forwardFollowup']);
|
||||
const AUTO = new Set(['matrix', 'segments', 'record', 'recordAmr', 'recordDecoder', 'urlMedia', 'forwardFollowup', 'forwardReadback']);
|
||||
let checked = 0, drifted = 0, missing = 0, manual = 0;
|
||||
for (const c of caps) {
|
||||
const p = c.regressionProbe;
|
||||
|
||||
Reference in New Issue
Block a user