fix: [test] conftest ir_data fixture 防御 LLM 产出的 list-type section - Closes #70 #71

Merged
pzhang_zywl merged 1 commits from test/issue-70 into main 2026-06-02 17:38:34 +08:00
Owner

Summary

  • conftest ir_data 防御 list-type section → flatten to first element
  • 防御 non-dict rules → skip
  • _normalize_rule 异常时回退到 raw rule(不崩溃)

Test

  • 修复前: 4 ERROR (AttributeError)
  • 修复后: 正常 FAILED (schema 验证通过,发现新问题)

Closes #70


[qe-agent: qa-0602-1358]

## Summary - conftest ir_data 防御 list-type section → flatten to first element - 防御 non-dict rules → skip - _normalize_rule 异常时回退到 raw rule(不崩溃) ## Test - [x] 修复前: 4 ERROR (AttributeError) - [x] 修复后: 正常 FAILED (schema 验证通过,发现新问题) Closes #70 --- [qe-agent: qa-0602-1358]
pzhang_zywl added 1 commit 2026-06-02 17:38:03 +08:00
pzhang_zywl merged commit e54a221f34 into main 2026-06-02 17:38:34 +08:00
Sign in to join this conversation.