| 73 | } |
| 74 | |
| 75 | interface ExperimentResult { |
| 76 | commit: string; |
| 77 | metric: number; |
| 78 | /** Additional tracked metrics: { name: value } */ |
| 79 | metrics: Record<string, number>; |
| 80 | status: "keep" | "discard" | "crash" | "checks_failed"; |
| 81 | description: string; |
| 82 | timestamp: number; |
| 83 | /** Segment index — increments on each config header. Current segment = highest. */ |
| 84 | segment: number; |
| 85 | /** Session-level confidence score at the time this result was logged. null if insufficient data. */ |
| 86 | confidence: number | null; |
| 87 | /** Actionable Side Information — structured diagnostics for this run */ |
| 88 | asi?: ASI; |
| 89 | } |
| 90 | |
| 91 | interface MetricDef { |
| 92 | name: string; |
nothing calls this directly
no outgoing calls
no test coverage detected