feat(小宝预警): 增加版本风险预测引擎
This commit is contained in:
15
apps/web/lib/xiaobao-risk-trend.ts
Normal file
15
apps/web/lib/xiaobao-risk-trend.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { XiaobaoRiskLevel } from './xiaobao-risk';
|
||||
|
||||
export interface XiaobaoRiskSnapshot {
|
||||
versionId: string;
|
||||
date: string;
|
||||
riskScore: number;
|
||||
riskLevel: XiaobaoRiskLevel;
|
||||
forecastReleaseDate?: string;
|
||||
openBugCount: number;
|
||||
failedTestCount: number;
|
||||
blockedCount: number;
|
||||
silentRiskCount: number;
|
||||
confidence: number;
|
||||
createdAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user