[数字分身] 需求评估代理 — 拉历史数据给工时预估 #56

Closed
opened 2026-05-10 15:28:06 +08:00 by admin · 0 comments
Owner

目标

用户说"这个需求评估一下",数字分身拉取历史类似需求数据,给出工时预估和风险提示。

输入

  • 需求描述(自然语言)
  • 需求类型(功能/修复/优化)
  • 涉及模块

输出

  • 预估工时(基于历史同类需求的P50/P90)
  • 历史类似需求列表及实际工时
  • 风险提示(涉及模块复杂度、依赖方数量)
  • 建议方案(分阶段/简化方案/参考实现)

技术方案

  • 从 Gitea Issue / 执行历史中提取需求→工时映射
  • LLM 语义匹配需求相似度
  • 统计模型给出工时区间

新增文件

  • backend/app/services/requirement_estimator.py
  • 前端:需求评估输入页
## 目标 用户说"这个需求评估一下",数字分身拉取历史类似需求数据,给出工时预估和风险提示。 ## 输入 - 需求描述(自然语言) - 需求类型(功能/修复/优化) - 涉及模块 ## 输出 - 预估工时(基于历史同类需求的P50/P90) - 历史类似需求列表及实际工时 - 风险提示(涉及模块复杂度、依赖方数量) - 建议方案(分阶段/简化方案/参考实现) ## 技术方案 - 从 Gitea Issue / 执行历史中提取需求→工时映射 - LLM 语义匹配需求相似度 - 统计模型给出工时区间 ## 新增文件 - backend/app/services/requirement_estimator.py - 前端:需求评估输入页
admin closed this issue 2026-05-10 17:58:09 +08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/aiagent#56