feat: 新增风险图谱算法与系统仪表盘及操作反馈体系
后端新增风险图谱算法模块、风险观察与反馈服务、规则 DSL 校验器和可解释性引擎,完善系统仪表盘和财务仪表盘统计, 优化 agent 运行和编排执行链路,清理旧开发文档,前端新增 系统趋势、负载热力图等多种仪表盘图表组件,完善操作反馈 对话框和工作台日期选择器,优化报销创建和审批详情交互, 补充单元测试覆盖。
This commit is contained in:
@@ -13,6 +13,8 @@ def test_openapi_schema_includes_documented_backend_routes() -> None:
|
||||
assert any(tag["name"] == "ocr" for tag in schema["tags"])
|
||||
assert any(tag["name"] == "ontology" for tag in schema["tags"])
|
||||
assert any(tag["name"] == "orchestrator" for tag in schema["tags"])
|
||||
assert any(tag["name"] == "agent-feedback" for tag in schema["tags"])
|
||||
assert any(tag["name"] == "analytics" for tag in schema["tags"])
|
||||
|
||||
agent_assets_post = schema["paths"]["/api/v1/agent-assets"]["post"]
|
||||
assert agent_assets_post["summary"] == "创建 Agent 资产"
|
||||
@@ -40,5 +42,12 @@ def test_openapi_schema_includes_documented_backend_routes() -> None:
|
||||
assert orchestrator_run_post["summary"] == "运行 Orchestrator 统一调度"
|
||||
assert "application/json" in orchestrator_run_post["requestBody"]["content"]
|
||||
|
||||
feedback_post = schema["paths"]["/api/v1/agent-feedback"]["post"]
|
||||
assert feedback_post["summary"] == "记录 Agent 操作评价"
|
||||
assert "application/json" in feedback_post["requestBody"]["content"]
|
||||
|
||||
analytics_get = schema["paths"]["/api/v1/analytics/system-dashboard"]["get"]
|
||||
assert analytics_get["summary"] == "查询系统看板真实指标"
|
||||
|
||||
root_get = schema["paths"]["/"]["get"]
|
||||
assert root_get["summary"] == "服务根检查"
|
||||
|
||||
Reference in New Issue
Block a user