Refine documentation and code comments

This commit is contained in:
seeker
2026-07-11 16:30:21 +08:00
parent fb1bd51046
commit 9527e57947
6 changed files with 20 additions and 31 deletions
+1 -2
View File
@@ -46,8 +46,7 @@ def collect_candidates(
continue
if t0_us + int(future_seconds * 1_000_000) > CLIP_DURATION_US:
continue
# Current PAI releases call the driving rationale/command `coc`.
# Keep `cot` as a compatibility fallback for older metadata shards.
# PAI command text uses `coc`; older metadata shards use `cot`.
reasoning = clean_reasoning_text(str(event.get("coc") or event.get("cot") or ""))
candidates.append({"clip_id": str(clip_id), "t0_us": t0_us, "reasoning": reasoning})
if not candidates: