Commit Graph
128 Commits
Author SHA1 Message Date
tmm621 a11fde9de5 feat(runner): add run_external_groups for black-box datasets 2026-09-13 15:00:19 +08:00
tmm621 bc83a3b8ac refactor(runner): allow explicit java output dir in _run_java_scene 2026-09-13 14:59:05 +08:00
tmm621 27b8c5ed97 feat(output): add drop_secondary_tail flag for external records 2026-09-13 14:58:08 +08:00
tmm621 4b275075c9 fix(blackbox): accept black_box dir, guard ambiguous FD and non-dict JSON 2026-09-13 14:57:20 +08:00
tmm621 12d07797b7 feat(blackbox): add black-box JSON to internal record mapping 2026-09-13 14:55:38 +08:00
hangshuo652 7e7bc41848 feat: gixsql隐式小数DB数值修正 + LLM无Key跳过 2026-09-12 18:18:31 +08:00
hangshuo652 bdc1584b3c feat: 修复 Java Runner command_line 参数传递 + DB-Java 比对功能
- 修复 orchestrator_db.py: Java Runner 未传递 command_line 参数导致 ABEND
- 新增 DB-Java 文件式运行 + DB 表比对功能
- 优化输出目录结构: output/<PROGRAM_ID>/cobol/
- 新增测试文件: test_java_comparison.py, test_java_e2e.py
- 更新 AI 使用日志
2026-09-09 21:35:21 +08:00
hangshuo652 f712b7b527 test: add web coverage and e2e tests 2026-09-05 15:25:53 +08:00
hangshuo652 e5efb49dd4 docs: 更新项目文档和配置 2026-08-31 22:28:53 +08:00
hangshuo652 23596826a1 fix: 添加外部数据依赖的skip标记 2026-08-31 21:40:38 +08:00
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 f48251affd docs: 记录推送至中期成果物提交仓库的日志 2026-08-30 09:13:22 +08:00
hangshuo652 7a84761e96 chore: 重命名特殊字符目录为规范命名,更新.gitignore 2026-08-30 09:03:08 +08:00
zdp be94a479f8 docs: 合并 cobol-tna-system 的 AI 使用日志(2026-06-07~08-06,38 条)到 v3 日志 2026-08-29 19:44:15 +08:00
hangshuo652 5fe72c8ece refactor: 测试出力结果从runtime迁移到output,实现入力(test-data)与出力(output)分离 2026-08-29 14:33:59 +08:00
tmm621 7a2963d783 chore: 合并black-box-data-create(原jcl-cobol-data-create)完整AI使用日志 2026-08-29 14:06:18 +08:00
hangshuo652 7cdca190c5 chore: 更新AI使用日志记录本次提交 2026-08-29 13:25:59 +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 c6fa6b1aeb fix: 清除错误默认模型与端口硬编码,文档机器路径占位符化 2026-08-25 22:35:35 +08:00
hangshuo652 8e81f960af fix: 清除硬编码API Key与机器特定路径,改用环境变量+混合式路径解析 2026-08-25 21:53:18 +08:00
tmm621 b3895a905e 硬编码改为配置文件 2026-08-25 20:35:52 +08:00
hangshuo652 bd5926aeed docs: 更新V3总体设计文档,添加黑盒模块设计、PGMパターン、多KEY测试 2026-08-24 21:57:59 +08:00
hangshuo652 aabc41ad02 docs: 更新README竞赛格式,添加黑盒功能描述,生成分支差异报告 2026-08-24 21:39:08 +08:00
hangshuo652 5b04c72e19 merge: pull remote Black-white-box-Merge (resolve conflicts, accept remote) 2026-08-24 20:52:27 +08:00
tmm621 cbaf3deb36 黑盒,白盒处理合并 2026-08-24 18:34:17 +08:00
hangshuo652 87e62fd3b6 restore: YAML schema files KIN06CLD, KIN08DBU, KIN09CSV 2026-08-23 21:48:09 +08:00
hangshuo652 732a0bbdaa chore: 恢复10个缺失的YAML schema文件
从 feat/phase2-review-fixes 恢复:
JIN05UPD, KYU02REG, KYU04CAL, KYU05DED, KYU06UPD,
SHA02MNC, SHA03MNP, SHA04TWO, SHA06TWM, SHA07KBR
2026-08-23 21:35:33 +08:00
hangshuo652 dec597eff0 docs: 更新设计文档以匹配Black-white-box-Merge分支最新代码
- 00-overview.md: 重写架构图(移除web/入口)、更新模块清单、更新API签名
- 05-agents-llm.md: 修复章节编号(Section 7/8子节编号错误)
- 08-data-flow.md: 修复Mermaid代码块格式(单反引号→三反引号)
- 09-run-pipeline.md: 新增run.py全流程入口+black-box-data-create详细设计
- DESIGN.md: 重写为竞赛要求格式(场景价值、范式图、Agent架构、工具清单)
- README.md: 添加项目性质声明(新规)、团队分工、技术难度评估
2026-08-23 21:10:33 +08:00
hangshuo652 5342220de5 docs: restore detailed design documents
Restored the following documents that were removed in Black-white-box-Merge:
- docs/detailed-design/ (9 detailed design documents + append_doc.py)
- docs/development-paradigm.md (development paradigm flowchart)
- docs/test-report.md (test report)
- AGENTS.md (project instructions)
- _AI_USAGE_LOG.md (AI usage log)
- CLAUDE.md (project instructions)
- sample/ (4 example files)
2026-08-23 17:22:13 +08:00
tmm621 80f561a552 docs: README 添加 run.py 全流程数据生成用法 2026-08-23 11:32:40 +08:00
tmm621 8ac2d65568 feat: run.py 改为全流程入口,先白盒 cobol_testgen 后黑盒 LLM 数据生成 2026-08-23 11:28:13 +08:00
tmm621 4b8d214260 黑盒数据做成合并 2026-08-23 10:46:56 +08:00
hangshuo652 5a968b4e37 fix: remove hardcoded Windows temp path debug code from to_sql.py
Removed debug file write at line 930 that hardcoded
C:\Users\marye\AppData\Local\Temp\opencode\build_db_input_debug.txt
All 36 to_sql tests pass (no regression)
2026-08-22 22:53:31 +08:00
hangshuo652 459e05a4c0 docs: 完成缺口分析项3-7 - AGENTS.md、README完善、测试报告、示例数据、Agent架构图 2026-08-22 22:35:49 +08:00
hangshuo652 57db3a3ee6 docs: update README with detailed design documents index 2026-08-22 21:57:35 +08:00
hangshuo652 d1f3d69445 docs: add V3 detailed design documents, AI usage log, and development paradigm 2026-08-22 18:05:24 +08:00
hangshuo652 f67a5bf769 docs: add detailed design documents (詳細設計書) 2026-08-09 17:43:28 +08:00
hangshuo652 ff51bda962 test: cover between/hostvar/gcov-merge, class conditions, schema drop-tables, gixsql fixes 2026-08-09 17:43:16 +08:00
hangshuo652 273a3f8211 feat: SQL between/hostvar-key alignment, class-condition parsing, gcov merge across scenario runs 2026-08-09 17:43:00 +08:00
hangshuo652 f331c8fa2a chore: ignore stray --gcow/ runtime output 2026-08-09 17:41:47 +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
hangshuo652 327ede372f docs: add db-pipeline-agent2data integration plan 2026-07-16 20:21:32 +08:00
hangshuo652 296e762c99 docs: add comprehensive system analysis document (docs/system-analysis.md) 2026-07-15 22:23:02 +08:00
hangshuo652 bf207c20f5 docs: add README.md, update SETUP.md with DB pipeline documentation 2026-07-15 22:08:03 +08:00
hangshuo652 54d4e81240 feat: phase2 review fixes
- TIME injection: change from spaces to '2500' (hour>23) for NUMVAL trigger
- Runner: add .resolve() to work_dir to fix chdir+relative path breakage
- Coverage: per-target field overrides for DP#9-#12 (START-DATE=20240115 etc.)
- .gitignore: add compilation artifacts, temp scripts, test outputs
2026-07-15 21:46:28 +08:00
hangshuo652 f3be17e5eb feat: 多轮运行 + GCOV 合并 + JSON 出力 + DesignDataGenerator 2026-07-12 21:04:58 +08:00
hangshuo652 af37e33b98 feat: DB管线补全 + 新增orchestrator_db/program_schema/to_sql + 清理临时脚本 2026-07-11 14:55:52 +08:00
hangshuo652 40e8a50ab4 fix: gcov Windows本地化 + runner合并 + 决策覆盖率修复
- gcov从WSL 15.2改为Windows MinGW 9.2.0,消除.gcno格式不匹配
- coverage.py去除leaf_stats复位bug(决策覆盖率恢复)
- runner.py合并V3编译+SOURCE分组执行+出力保存
- __init__.py gcov条件/outdir解析修复
2026-07-02 21:26:51 +08:00
hangshuo652 b3d1643220 feat: UNSTRING解析增强 + 跨FD数值统一 + 文件I/O模块 2026-06-30 22:14:47 +08:00
NB-076 2f61ad7f1a feat: 集成code-review skill到项目
- 项目级 skill: .claude/skills/code-review/ (398行SKILL.md + 参考文件)
- 自动触发: AI修改.py/.cbl/.cpy/.lark后自动review
- CLAUDE.md: 定义触发规则、review流程、严重级别
- .code-review.yaml: tier=standard, 高风险模块配置

效果: clone即用, 每次代码变更后自动审查, 防止低质量代码入库
Co-Authored-By: Claude <[email protected]>
2026-06-25 10:24:15 +08:00