6 Commits

Author SHA1 Message Date
Val-sss
01f8dccc06 release: v2.0.0 — Eval驱动架构升级,数据量化验证每个改动
核心成果:Eval 0%→20% (3/15 PASS),总测试通过数 294→377 (+28%)

新增:
- usage_finder: AST确定性调用关系传递
- bug_decomposed: 多bug任务逐TestClass拆解修复
- 新文件创建: _maybe_create_missing_module
- 工程约束注入: _detect_engineering_hints
- 自适应采样: 大文件1次/小文件3次
- bench诊断报告系统: bench_diagnose.py

实验验证(数据说话):
- diff格式对32B弊大于利(超时),已回滚
- 自适应采样解决超时但降低多样性
- usage_finder/bug_decomposed机制有效但受模型能力限制

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-10 15:59:59 +08:00
Val-sss
9dca7da712 release: v1.8.0
- feat: trajectory attempts detailed logging (llm_prompt_tail, raw_output, patches_count, etc.)
- feat: regression guard — best_tests_passed tracking + rollback on regression
- feat: structured_failures in retry hint (test_name + expected/actual)
- fix: regression guard closure — best state written back before failure exit
- fix: hashline silent fallback to full-function (no retry consumed)
- fix: vision expert keyword matching (stricter single-word rejection)
- fix: audit logger tests (LOGS_DIR → LOGS_SUCCESS/LOGS_FAILED/LOGS_LEGACY)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-08 11:49:54 +08:00
Val-sss
ca55970ad8 release: v1.6.2 版本号统一 + README/CHANGELOG/STATUS更新
- 版本号统一到1.6.2(pyproject/__init__/formatters/telemetry/server)
- README: badge 1.6.2, License Apache-2.0, 更新日志加v1.6.2条目
- CHANGELOG: 完整v1.6.2变更记录
- STATUS: 当前版本更新到v1.6.2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-07 14:42:21 +08:00
Val-sss
fa1390f8a9 release: v1.6.1 版本号统一 + README/STATUS更新 + License Apache-2.0
- pyproject.toml/formatters/telemetry/server/models/__init__ 全部统一到 1.6.1
- README: badge更新、更新日志加v1.6.0/v1.6.1条目
- STATUS: 版本号描述更新

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-07 09:23:19 +08:00
Val-sss
739020a63c fix: version tests use __version__, align_indentation strip before align
- kaiwu/__init__.py: add __version__ from importlib.metadata (single source)
- test_server.py: 2 hardcoded "1.5.0" → dynamic __version__ (fixes 2 test failures)
- generator.py: strip('\n') before _align_indentation to prevent empty-line indent miscalc

All 50+16=66 tests green, 0 failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 20:23:08 +08:00
Val-sss
363d5dce36 Kaiwu v3 MVP: deterministic expert pipeline for local-model coding agent
Gate(JSON routing) → Locator → Generator → Verifier → KAIWU.md memory.
E2E validated with gemma3:4b (5.7s, 5/5 tests passed).
V1 Gate: 100% JSON parse rate. V3 Locator: 90% file accuracy.
Reasoning model compat (deepseek-r1): stop param + token budget fixes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-26 12:47:34 +08:00