pzhang_zywl
|
268520d453
|
fix: step3 过滤非法 source type + step1 重试质量门控 - Closes #57
CI / test (pull_request) Successful in 11s
- step3 _normalize_rule: 将 function_unit_description 等非法 source type 标准化为 text
- step1 覆盖反馈重试: 仅纳入实际提升覆盖率的 retry 结果,避免低质量输出稀释 ensemble
- 新增 UT: test_normalize_source_invalid_type
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-02 16:16:47 +08:00 |
|
pzhang_zywl
|
1477dbdd18
|
fix: step3 _normalize_rule 为缺失 section 的 table/text source 补齐字段 - Closes #53
CI / test (pull_request) Successful in 8s
LLM 生成的 source 有时缺少 section 字段,导致 Layer A schema 验证失败。
在 _normalize_rule 中添加防御性处理:从兄弟 source 或 rule path 推断 section。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-02 15:46:59 +08:00 |
|
pzhang_zywl
|
da17b3b3b2
|
fix: rule_signature conditions=None防御 + 0行表格覆盖率 + UT覆盖 - Closes #21
CI / test (pull_request) Successful in 9s
- step3 rule_signature: trigger.conditions=None 时使用 `or []` 防御
- step1 _quick_validate: total_rows=0 时行覆盖率设为 100% 而非 0%
- test_step1: 新增 TestHasSectionContent (10个) + TestQuickValidateEmptySections (2个)
- test_step3: 新增 TestRuleSignature (7个) + TestNormalizeRule (4个)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-01 13:29:25 +08:00 |
|
pzhang_zywl
|
ebda8e37d1
|
fix: step1 空章节过滤 + step3 rule_signature None-safe - Closes #21
CI / test (pull_request) Successful in 9s
- step1 _quick_validate 添加 _has_section_content() 过滤空内容章节
(如仅含"无"字的图片章节),避免误报低覆盖率警告
- step3 rule_signature 使用 `or {}` 防御 trigger=None 场景
修复 QE 报告的 step3 AttributeError
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-01 13:15:19 +08:00 |
|
pzhang_zywl
|
62266dde4d
|
fix: 修复 trigger.operator null + 添加覆盖反馈重试 - Closes #22, Closes #21
CI / test (pull_request) Successful in 7s
#22: _normalize_rule 补充 trigger 级别 operator (AND/OR) 默认值
#21: step1 验证失败时自动生成覆盖反馈并重试一轮
#22: step2 过滤空规则片段,避免污染下游
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 20:20:54 +08:00 |
|
pzhang_zywl
|
82b6184691
|
fix: step3 添加 _normalize_rule 修复 trigger 缺失/null operator - Closes #22
CI / test (pull_request) Successful in 7s
- 新增 _normalize_rule 函数,对合并后的 rules 进行标准化
- 缺失 trigger → 补充默认 trigger + conditions
- trigger.operator 为 null → 默认设为 "=="
- trigger.conditions 为空 → 补充默认 condition
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 19:53:41 +08:00 |
|
pzhang_zywl
|
8069fc2f8a
|
fix: pipeline LLM 全失败时明确报错而非静默输出空 IR - Closes #15
CI / test (pull_request) Successful in 7s
- step1: 所有 LLM 调用返回空 function_units 时抛出 RuntimeError
- step1: main() 在 _quick_validate 未通过时 sys.exit(1)
- step2: function_units 为空时提前报错终止
- step3: fragments 为空时提前报错终止
- test: test_step1 捕获 SystemExit, test_step2_5/step3 空数据改为 skip
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 17:41:16 +08:00 |
|
pzhang_zywl
|
fec4c09ee0
|
sync: update all skills from latest workspace code
CI / test (push) Successful in 8s
doc_parser_skill:
- New: verify_flowchart.py (flowchart validation)
- Updated: LLM.py (multi-provider: DeepSeek + DashScope)
- Updated: image_parser.py (logic tree support, external prompts)
- Updated: SKILL.md, prompts/image_prompt.md
conflict_detection_skill:
- Updated: LLM.py (multi-provider sync)
- Updated: detect_conflicts.py (logic tree text conversion)
ir_generation_skill:
- Replaced old scripts/LLM.py + ir_generator.py with standalone project
- New: main.py, config.py, step1-3_*.py, ensemble_merge.py
- New: prompts/, tests/ subdirectories
tests:
- New: acceptance/ test suite with schema validation
- Fixed: conftest no longer globally skips non-acceptance tests
- Updated: test_sample.py for new ir_generation structure
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-30 22:45:08 +08:00 |
|