P2-01: 移除 lifespan create_all,改为仅验证连接 新增 /health/ready 就绪检查 P0-04: LLM 输出严格 Pydantic 校验 - Agent 输出越界/非法 → parse_error - 预测输出自动修正 1X2 与比分一致性 P0-01: injuries cutoff 修复 - get_injuries_for_match 增加 as_of 参数 - injuries_slice 使用 as_of 过滤 retrieved_at - 防止回测时未来采集数据泄漏 P1-12: 批量入库优化 - 预加载 teams 到内存 dict - 预加载 existing matches 到内存 set - 消灭 N+1 查询
- 新增 src/core/retry.py: 指数退避 + 抖动的重试装饰器 - bzzoiro: 改进重试逻辑 - 429/5xx/网络错误均触发指数退避重试 - 4xx 直接抛(不重试) - understat: 新增重试(原无重试) - injuries: 新增重试 + 文件缓存 7 天过期 - sources.py: 延迟导入修复循环导入
Profeto — 给 LLM 提供数据,让 LLM 预测足球比分。 核心模块: - FastAPI 后端 + PostgreSQL (SQLAlchemy async) - 多 Agent LLM 预测 (5 专家 + 终裁) - 数据采集 (bzzoiro / understat / injuries) - React 前端 (Vite + Tailwind) 包含: - 数据源抽象 (DataSource 协议 + 注册表) - Alembic 数据库迁移 - Prompt 模板 (单/多 Agent) - 核心路径单元测试