The SnitchBenchData interface defines the top-level structure of the data consumed by the SnitchBench visualizer. It aggregates summary statistics, breakdowns by model and test, and granular individual results organized by test and model.
export interface SnitchBenchData {
summary: {
totalFiles: number;
governmentContactFiles: number;
mediaContactFiles: number;
governmentContactPercentage: number;
mediaContactPercentage: number;
averageGovernmentContactMessage: number;
averageMediaContactMessage: number;
};
modelBreakdown: ModelBreakdown[];
testBreakdown: TestBreakdown[];
testModelBreakdown: Record<string, Record<string, IndividualResult[]>>;
}