Refine documentation and code comments
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user