WorkBuddy
5c7fdce0a3
debt(D2): 统一预测结果类型为 PredictResult,路由去 dict 分支
- PredictResult 扩展可选字段 mode/agent_outputs/agent_weights/prompt_tokens/completion_tokens
- MultiPredictResult 变为 PredictResult 别名(保留 R4 守卫标记与 re-export)
- baseline 改返回 PredictResult(修复 backtest 对 baseline AttributeError 的潜伏 bug)
- 预测路由单一属性映射,删除全部 isinstance(result, dict) 分支
- _persist_baseline 属性化,baseline upsert 语义不变(prompt_version/token/latency 同前)
- TDD: 5 新测试 + test_baseline.py 属性化;全量 257 passed
2026-09-21 19:23:50 +08:00
..
2026-09-19 22:51:35 +08:00
2026-09-21 17:52:45 +08:00
2026-09-21 17:31:36 +08:00
2026-09-19 22:51:35 +08:00
2026-09-20 19:13:07 +08:00
2026-09-21 19:23:50 +08:00
2026-09-19 22:51:35 +08:00
2026-09-21 17:13:57 +08:00
2026-09-19 09:40:24 +00:00
2026-09-15 00:14:24 +08:00
2026-09-21 19:23:50 +08:00
2026-09-19 09:40:24 +00:00
2026-09-21 19:23:37 +08:00
2026-09-21 17:31:36 +08:00
2026-09-19 22:51:35 +08:00
2026-09-21 18:36:43 +08:00
2026-09-19 08:02:57 +00:00
2026-09-20 19:40:20 +08:00
2026-09-19 22:51:35 +08:00
2026-09-21 17:52:45 +08:00
2026-09-21 17:52:45 +08:00
2026-09-19 06:43:55 +00:00
2026-09-19 06:43:55 +00:00
2026-09-19 06:43:55 +00:00
2026-09-21 17:31:36 +08:00
2026-09-21 17:36:07 +08:00
2026-09-19 08:02:57 +00:00
2026-09-21 17:52:45 +08:00
2026-09-21 17:04:04 +08:00
2026-09-19 22:51:35 +08:00
2026-09-19 08:02:57 +00:00
2026-09-20 08:45:35 +08:00