当用户需要单独执行数据映射或队列可行性分析时使用,例如:
如果是完整任务流程的一部分,则由 task-planner 调度。
curl -s -X POST http://localhost:5001/api/report \
-H "Content-Type: application/json" \
-d '{"skill":"cohort-analyst","display_name":"数据映射与队列分析","status":"running","message":"正在连接院内数据字典,匹配变量与评估缺失率..."}'
读取 /home/ubuntu/workspace/demo/mock_data/cohort.json,向用户展示:
group_preview,展示各方案的样本量curl -s -X POST http://localhost:5001/api/report \
-H "Content-Type: application/json" \
-d '{"skill":"cohort-analyst","display_name":"数据映射与队列分析","status":"completed","message":"已完成 9 个变量映射,候选队列 1,284 例"}'
共 1 个版本