Handle zero-token source rows in code trace audit

This commit is contained in:
2026-07-23 23:52:03 +08:00
parent fbaa909723
commit 1d9182f305
5 changed files with 50 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ strict decode-only 必须同时具备:
- timestamp 单调,存在 6075min 连续稳定窗口;
- `timestamp/input_length/output_length` 全行存在;
- `input_length<=0``output_length<=0` 的行不进入 replay但必须计数并保留样例。已抽查的两条 0→0 行在 raw trace 中同时满足 `usage.total_tokens=0``response_message={}`,属于未发生模型执行的 source request不是 full-cache decode
- `hash_ids` 数量与某个 source block size 在全行严格满足
`ceil(ISL/source_block_size)`;预计值 512但以审计结果为准
- 记录 ISL/OSL/ISL+OSL 的 p50/p90/p95/p99/max、gap、request rate、prompt/sampling 字段覆盖。