feat(evals): the gate reruns failed cases once and reports a flaky green (GSTA-49 F1)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-20 03:15:41 +00:00
1 parent 85b0f531f5
commit c4099b4e49
21 files changed
+1327 -77

No files matched your search

+5 -1
View File
@@ -37,7 +37,11 @@ export interface TrainRecord {
}
export type AttemptPurpose = 'gate' | 'rebuild' | 'infra-redispatch' | 'bisect';
export type GateOutcome = 'PENDING' | 'GREEN' | 'RED' | 'INCOMPLETE';
export interface CasePanel { case: string; kind: string; status: string; red_class: string | null; cost_usd: number | null }
export interface CasePanel {
case: string; kind: string; status: string; red_class: string | null; cost_usd: number | null;
/** Rule 16: a PASS that failed once and passed on its one rerun, with where each ran. */
flaky?: { first: string; rerun: string };
}
export interface AttemptRecord {
schema: 1; kind: 'train-attempt'; train: string; id: string; purpose: AttemptPurpose; nonce: string; workflow: string; ref: string;
inputs: Record<string, string>; state: 'dispatching' | 'unknown' | 'absent' | 'dispatched' | 'completed'; run: { id: number; url: string } | null;