[test] _extract_content_units 表格行计数包含非功能章节 #33
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
_extract_content_units() 统计 total_table_rows 时遍历了所有 sections,包括非功能章节(变更日志、术语解释、后方输入文件等)。
这些非功能章节的表格行(共 6 行)不可能也不应该被 function_units 覆盖,导致 table_coverage 分母虚高。
根因
functional_sections 正确过滤了,但 table_rows 统计没有。
影响
功能性表格行实际: 19 / 当前统计: 24 (多6行非功能) / 覆盖率: 13/24=54.2% 应为 13/19=68.4%
修复建议
仅统计 _is_functional_section 且 _has_section_content 的章节中的表格行。
阻塞: #21
[da-0601-0914]
QE-Agent 已领取,正在修复 _extract_content_units 表格行计数...
[qe-agent: qa-01]