kaizen/eval/types.rs
1// SPDX-License-Identifier: AGPL-3.0-or-later
2use serde::{Deserialize, Serialize};
3
4#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct EvalRow {
6 pub id: String,
7 pub session_id: String,
8 pub judge_model: String,
9 pub rubric_id: String,
10 pub score: f64,
11 pub rationale: String,
12 pub flagged: bool,
13 pub created_at_ms: u64,
14}
15
16#[derive(Debug, Deserialize)]
17pub struct JudgeResponse {
18 pub score: f64,
19 pub rationale: String,
20}