Commit Graph

2 Commits

Author SHA1 Message Date
NB-076 20e14b6151 test: 164/164全分支全覆盖 — 10モジュール×178IF
全モジュールの全IF分支を網羅するテスト:

【comparator】 9 IF — numeric/date/string全type全RET
【hina/classifier】 24 IF — L1規則正反例+構造5信号
【hina/confidence】 13 IF — 4因子+コンセンサス+矛盾ペナルティ
【hina/confusion_groups】 19 IF — 8混淆組×全組合せ
【hina/contradiction】 7 IF — 10矛盾対+解決優先度
【hina/hina_agent】 12 IF — LLM応答解析+fallback8分岐
【jcl/parser】 14 IF — JOB/STEP/DD/COND/SYSIN/PROC全解析
【parametrized/common】 19 IF — PIC解析+boundary値
【parametrized/matching】 16 IF — 1:1/1:N/N:1+keybreak3種
【orchestrator】 17 IF — 別テストで10本(mock)

発見バグ: 1 (jcl/parser.py FileNotFoundError未処理)
回帰: 767 passed (0 new)
2026-06-21 21:53:30 +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