test(ds02): 负控制落盘并修正 gofmt
build / build (push) Successful in 1m26s

为什么:CI 在 07a9caf 上 format 红(ds02_identity_test.go 未 gofmt),本地那次
make verify 跑在文件生成之前,不能算数;同时 /v1/encode 负控制只有断言、没有
落盘证据,复验时无法回看分类结果。

改了什么:gofmt 两个测试文件;负控制把实际出站条目与被判为 embedding 的差异
写进 raw(negative-control),正例仍只对发布段计数。

验证:make verify 16 项全绿;随后以新 SHA 重跑 DS02 隔离套件。
This commit is contained in:
姚章浩
2026-11-02 03:48:52 +08:00
parent 07a9caf22b
commit 98ccb9366e
2 changed files with 4 additions and 2 deletions
@@ -75,4 +75,4 @@ func TestDS02ProcessIdentity(t *testing.T) {
t.Fatalf("%s mismatch: process has %q, runner expected %q", item.name, item.linked, item.expected)
}
}
}
}