外包风险评估系统:领域引擎+前端+服务端持久化与生产部署

- 确定性领域引擎(分类/评分/分级/红线/费用/裁决)+LLM(通义千问)语言理解
- 6步评估向导、服务端草稿持久化(跨设备/编辑草稿保护)
- 工作流(草稿→风控→管理层)、RBAC、报告导出、校准、客户/费率/红线/最低工资管理
- 专业图标体系替换全部emoji、看板美化
- 生产化:API_BASE可配置(同源反代)、auth密钥惰性读取修复RBAC
- 444单测+204前端测试+51 e2e
This commit is contained in:
freedakgmail
2026-06-13 01:06:39 +08:00
commit c670b9e454
404 changed files with 61820 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
/**
* External_Data_Adapter 外部数据适配层模块(Req 15)。
*
* 职责:
* - 定义可插拔的 {@link DataSourceAdapter} 接口,新增数据源无需改动
* Scoring_Engine 源代码(Req 15.1, 15.5)。
* - 为成功取得的数据点统一标注 Data_Provenance="外部数据" 与 [0,1] Confidence
* {@link annotateExternalDataPoint} / {@link annotateExternalDataPoints}Req 15.2)。
* - 超时 / 失败 / 错误响应的降级回退:回退用户输入("用户输入"),仍缺失则标注
* "智能体假设"并继续不中断({@link fetchWithFallback} / {@link resolveWithFallback}Req 15.3, 15.4)。
*/
export * from './types.js';
export * from './annotate.js';
export * from './fallback.js';