9 Commits
Author SHA1 Message Date
hangshuo652 21040bfcc2 fix: 修复测试导入错误、playwright配置、pytest配置
- 修复orchestrator.py check_coverage导入路径
- 修复test_golden.py/test_e2e.py/test_design.py导入错误
- 删除过时test_preprocessor.py
- 修复test_confidence.py compare_coverage导入路径
- 修复pytest模块命名冲突(hina/e2e添加__init__.py)
- 配置pytest.ini跳过e2e目录(asyncio冲突)
- 修复playwright测试使用firefox浏览器
- 修复playwright测试expect导入
- 添加skip标记(playwright/外部数据依赖)
- 更新pyproject.toml setuptools配置
- 更新README.md/AGENTS.md/test-report.md文档
2026-08-31 21:33:32 +08:00
hangshuo652 b94757d9df feat: V3系统评审问题修复
1. 场景价值与技术合理性修复:
   - 补充docs/SCENE_VALUE.md(业务背景、痛点分析、用户场景、竞品对比、价值量化)
   - 添加用户操作流程图(Mermaid)
   - 添加3个真实业务案例量化数据

2. 演示与文档修复:
   - 创建docs/API.md(完整API文档)
   - 创建docs/QUICKSTART.md(5分钟快速入门指南)

3. AI使用日志修复:
   - 更新AGENTS.md,添加强制自动执行的AI使用日志记录指令
   - 在_AI_USAGE_LOG.md末尾添加范式执行统计

4. 安全性修复:
   - 在agents/llm.py中添加输入过滤(防Prompt注入)
   - 添加输出验证、速率限制、详细日志

5. 架构设计修复:
   - 创建tools/registry.py工具注册表
   - 修改orchestrator.py和orchestrator_db.py使用注册表动态获取运行器

6. 开发范式修复:
   - 在_AI_USAGE_LOG.md末尾添加范式执行统计
2026-08-29 13:23:28 +08:00
hangshuo652 0203ead96b feat: config-driven multi-scenario + gcda accumulation fix + gcov merge fix
Config-driven architecture:
- coverage_dates: YAML-driven date replacement for LEAVE_RECORDS
- row_overrides: per-scenario field overrides (e.g. STATUS='9')
- delete_all_rows: per-scenario table emptying for empty-cursor tests

gcda accumulation fix (V3 bug #7):
- Delete .gcda before each scenario run to prevent GnuCOBOL accumulation
- Force-copy scenario gcda (skip mtime check)
- Copy scenario DB to CWD data/kin.db for CONNECT TO path resolution

Multi-run gcov merge fix:
- Always merge multi-run gcov data regardless of generate_coverage flag
- Fix v3_root UnboundLocalError in cleanup path

Other fixes:
- _make_key_unique: skip WHERE-constrained columns to avoid PK conflict
- incremental_supplement: support fields_dict for base record generation
- check_coverage: use structure coverage data if available
- orchestrator.py: filter _-prefixed fields in TestCase; merge Agent2Data cases
2026-07-18 08:42:55 +08:00
hangshuo652andClaude 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 <[email protected]>
2026-06-19 23:51:55 +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 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 7fcdb41a85 init: cobol-java migration verification platform v3 (42 tests, JCL module) 2026-05-27 08:42:41 +08:00
hangshuo652 818e81269c v3: gstack-code-gen 生成 2026-05-24 12:36:44 +08:00