From 8faaa2a8a5c5518f96549a045a94004b632d9c6e Mon Sep 17 00:00:00 2001 From: zijunchiang Date: Fri, 18 Sep 2026 02:23:21 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20T-WIN-021=20=E8=AE=B0=E5=BD=95=E6=94=B6?= =?UTF-8?q?=E5=B0=BE=EF=BC=88=E5=8F=96=E6=95=B4=E5=B7=AE=E5=BC=82=E5=B7=B2?= =?UTF-8?q?=E5=9C=A8=20v0.2.4=20=E4=BF=AE=E5=A4=8D=EF=BC=8C=E5=8F=A3?= =?UTF-8?q?=E5=BE=84=E6=94=B6=E7=B4=A7=E4=B8=BA=200=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/021-frame-vector-conformance.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/021-frame-vector-conformance.md b/tasks/021-frame-vector-conformance.md index 8104ea0..b8d46d4 100644 --- a/tasks/021-frame-vector-conformance.md +++ b/tasks/021-frame-vector-conformance.md @@ -51,7 +51,12 @@ `i16` 最大值、`±1` 全量程、置信度 `0 / 128 / 255`、`flags` 低 3 位组合、 `frame_id` 的 `0xFFFFFFFF` 与 `0x80000000`、以及取整边界。 -## 一处**已测量并归类**的差异(非缺陷) +## 一处差异(**已在 v0.2.4 修复**,见 T-WIN-022) + +> 下面记录的差异已修复:本端改为 `_round_like_js(v) = floor(v + 0.5)`, +> 与参考实现的 `Math.round`(半数朝 +∞)一致。`accept-frame-vectors.sh` 的编码口径 +> 也从「差异仅限取整边界」**收紧为「必须为 0」**,实测 0 项差异。 +> 保留此节是因为「为什么会有这个差异、为什么一开始只敢记不敢修」本身是有效的记录。 本端 `KeypointFrame.encode()` 与参考编码器在**一个**用例上差 33 字节: