fix: [test-dev] _extract_content_units 空章节误计为功能章节 - Closes #29 #30

Merged
pzhang_zywl merged 1 commits from test/issue-29 into main 2026-06-01 11:24:08 +08:00
Owner

新增 _has_section_content() 辅助函数,过滤掉无实际内容的章节(text < 10 且无 table/image),修复覆盖率误报。

修复前: 2.3, 2.4, 2.5, 2.6.1 等空章节被计入 functional_sections 导致覆盖率虚低 (36.1%)
修复后: 章节覆盖率 100% (4/4),只统计有实际内容的章节

Closes #29


[qe-agent: qa-01]

新增 `_has_section_content()` 辅助函数,过滤掉无实际内容的章节(text < 10 且无 table/image),修复覆盖率误报。 **修复前**: 2.3, 2.4, 2.5, 2.6.1 等空章节被计入 functional_sections 导致覆盖率虚低 (36.1%) **修复后**: 章节覆盖率 100% (4/4),只统计有实际内容的章节 Closes #29 --- [qe-agent: qa-01]
pzhang_zywl added 1 commit 2026-06-01 10:17:15 +08:00
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
pzhang_zywl merged commit d1e36b20ee into main 2026-06-01 11:24:08 +08:00
Sign in to join this conversation.