Commit Graph

3 Commits

Author SHA1 Message Date
NB-076 e90a3a8cf0 fix: jcl parse_jcl FileNotFoundError + module tests
BUG: parse_jcl() 文档说文件不存在时返回 None,
     但实际抛出了 FileNotFoundError。修复。

新增: test-data/step3_module_test.py — 未测试模块的首次实测
- comparator: API确认 (numeric/date/string 正确)
- jcl: 导入+tparse(发现FileNotFoundError bug)
- parametrized: matching(1:1/1:N/N:1) 数据生成
- storage: DiskCache/ReportStore set/get
- quality: L1OffsetValidator/L2RoundtripValidator
- agents: LLMClient 创建确认

验证: 66个COBOL样本全过管道(0崩溃/0无数据)
2026-06-21 21:07:28 +08:00
hangshuo652 bc1d56d1a4 feat: Phase 2 complete — 13 Phases of COBOL type classification and test benchmark
P0.6: gcov infrastructure
P1: extract_structure output expansion (11 new feature fields)
P2: Confusion group rule engine (8 pairs + contradiction + backtrack)
P3: 4-factor confidence calculation + quality gate update
P4: 33+2 COBOL program type test samples (22 files, 7 categories)
P5: parametrized/ test data generation engine
P6: japanese_data.py lookup tables
P7-10: Type-specific test suites (~159 parametrized tests)
P11: Full classification pipeline (classify_program) + orchestrator integration
P12: Documentation (module-interfaces, test-plan v3.0, coverage-matrix)

Architecture decisions:
- classification_pipeline/ merged to hina/pipeline/
- parametrized/ as independent module
- japanese_data.py as root-level file
- hina/__all__ only exports classify_program()

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-19 23:51:55 +08:00
hangshuo652 7fcdb41a85 init: cobol-java migration verification platform v3 (42 tests, JCL module) 2026-05-27 08:42:41 +08:00