doco: ep002全流程完工(P1→C4) + CLAUDE.md收摊更新
ep002(潜艇仿生)全部产物入库:B稿v2(733行)/ASR(411句)/融合B稿/ 融合A稿.docx/c4_alignment.csv等。fusion_align.py修复align_batch 崩溃bug。CLAUDE.md更新ep002完工状态、新增分段偏差根因和MiMo批次 失败率两条关键决策。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""轮询等待 C4 compose 完成"""
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
ep_dir = Path(r"E:\tps-dashboard\doco\programs\ep002_20260127_qianting_fangsheng")
|
||||
cache_dir = ep_dir / ".c4_cache"
|
||||
|
||||
# Find docx output dynamically
|
||||
while True:
|
||||
n = len(list(cache_dir.iterdir())) if cache_dir.exists() else 0
|
||||
# Check for any 融合A稿 docx
|
||||
docx_files = list(ep_dir.glob("*融合A稿.docx"))
|
||||
csv_files = list(ep_dir.glob("c4_alignment.csv"))
|
||||
|
||||
print(f"[{time.strftime('%H:%M:%S')}] cache={n}, docx={bool(docx_files)}, csv={bool(csv_files)}")
|
||||
|
||||
if docx_files and csv_files:
|
||||
print(f"\nDone! docx={docx_files[0]}, csv={csv_files[0]}")
|
||||
break
|
||||
|
||||
time.sleep(90)
|
||||
|
||||
print("Complete.")
|
||||
Reference in New Issue
Block a user