Commit Graph

19 Commits

Author SHA1 Message Date
NB-076 a6c454692a fix: resolve 3 MEDIUM code review findings
M1: Cache confusion-pair confidences in Path B (eliminate redundant
    resolve_confusion_pair re-calls in _path_rule_engine)
M2: Resolve contradictions in Path C instead of hardcoding
    resolved_count=0 in _path_llm_assisted
M4: Add DIVIDE_25 to contradiction pair coverage (50-25, 100-25)
    and update test_contradiction_pairs_defined to verify all 3 variants
2026-06-21 11:25:59 +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 63b5284715 fix: _parse_llm_response now handles empty/invalid JSON gracefully
test: add gap coverage tests (hina_agent/JCL/quality gate edge cases)
2026-06-18 17:31:16 +08:00
hangshuo652 b5e76306c3 test: add AI Agent v6 node compliance validation (6 nodes, 24/24) 2026-06-18 17:27:19 +08:00
hangshuo652 e530f6980d test: add deep validation suite (real COBOL/HINA/QG/retry/report/perf - 28/28) 2026-06-18 17:21:12 +08:00
hangshuo652 6ac9861c84 test: add master validation suite (Pipeline/HINA/Benchmark/QG/Retry/Report - 30/30) 2026-06-18 17:17:11 +08:00
hangshuo652 ecc5599b48 test: add platform user story tests (43/43, 4 categories) 2026-06-18 17:10:40 +08:00
hangshuo652 2662c6c0ac test: add comprehensive test plan and auto test runner (20/20 passed, 100%) 2026-06-18 17:05:51 +08:00
hangshuo652 9ad0e88a1a test: add HINA type-specific COBOL test data suite (10 programs, 8/10 pass) 2026-06-18 16:55:43 +08:00
hangshuo652 2e64f208ea fix: P1 - complete_tests now feeds DataWriter; P2 - loop syncs complete_tests; P5 - machine_json gets coverage fields 2026-06-18 16:47:21 +08:00
hangshuo652 c93104e6bf feat: Phase 3+4 - gcov support + enhanced report 2026-06-18 16:31:54 +08:00
hangshuo652 e2486db510 fix: 3 issues found during real COBOL validation 2026-06-18 16:26:44 +08:00
hangshuo652 de506d9c31 feat: Phase 2 - HINA Agent + Strategy Agent + classifier 2026-06-18 16:10:38 +08:00
hangshuo652 c021dfe01e feat: Phase 1 - orchestrator quality gate loop + hina/gate + main CLI args 2026-06-18 16:02:38 +08:00
hangshuo652 097530b036 feat: Phase 1 - cobol_testgen API + quality fields + retry handler 2026-06-18 15:47:35 +08:00
hangshuo652 7fcdb41a85 init: cobol-java migration verification platform v3 (42 tests, JCL module) 2026-05-27 08:42:41 +08:00
hangshuo652 faeedbc77b test: add edge case tests 2026-05-24 13:01:31 +08:00
hangshuo652 331b38eac1 feat: add web layer (FastAPI + worker) 2026-05-24 12:52:20 +08:00
hangshuo652 818e81269c v3: gstack-code-gen 生成 2026-05-24 12:36:44 +08:00