import type { WorkflowSizingLabel } from './index.js'; export type CalibrationDriftEntry = { storyId: string; sizingLabel: WorkflowSizingLabel; estimatedDays: number; actualDays: number; driftPct: number; weight: number; completedAt: string; }; export type SizingCategoryStats = { sizingLabel: WorkflowSizingLabel; count: number; avgDriftPct: number; weightedAvgDriftPct: number; medianDriftPct: number; minDriftPct: number; maxDriftPct: number; entries: CalibrationDriftEntry[]; }; export type CalibrationLesson = { sizingLabel: WorkflowSizingLabel; direction: 'over' | 'under' | 'accurate'; magnitude: number; suggestion: string; confidence: 'low' | 'medium' | 'high'; sampleSize: number; }; export type CalibrationResult = { categories: SizingCategoryStats[]; lessons: CalibrationLesson[]; totalDataPoints: number; halfLifeDays: number; generatedAt: string; };