自检循环2完成: E表⏸️修正 + R01→🔄
- checklist_audit: 支持⏸️表格单元格检测 - E元成长表: ❌→⏸️(Phase3暂缓) - 自检报告: 19✅/3🔄/6⏸️/4❌ - 剩余4❌: R06(架构) + 交付物3项(文档)
This commit is contained in:
@@ -27,9 +27,20 @@ def extract_annotations(path):
|
||||
if line.startswith("#"):
|
||||
current_section = line.strip()
|
||||
# Check for ❌ in table cells (e.g. | R01 | ... | ... | ... | ... | ❌ 未修复 |)
|
||||
# Check for ❌ in table cells (separate regexes for each status)
|
||||
for m in re.finditer(r'\|\s*❌\s*([^|]*?)\s*\|', line):
|
||||
cell_content = "❌ " + m.group(1).strip()
|
||||
status = "fail"
|
||||
status = "fail" if "暂缓" not in cell_content else "postponed"
|
||||
results.append({
|
||||
"annotation": cell_content,
|
||||
"status": status,
|
||||
"section": current_section,
|
||||
"source": os.path.basename(path),
|
||||
"in_table": True,
|
||||
})
|
||||
for m in re.finditer(r'\|\s*⏸️\s*([^|]*?)\s*\|', line):
|
||||
cell_content = "⏸️ " + m.group(1).strip()
|
||||
status = "postponed"
|
||||
results.append({
|
||||
"annotation": cell_content,
|
||||
"status": status,
|
||||
|
||||
Reference in New Issue
Block a user