pub struct EvalExperiment {
pub id: Uuid,
pub dataset: String,
pub subject: Box<EvalSubject>,
pub run_number: i32,
pub run_job_id: Uuid,
pub case_count: i32,
pub scores: Option<Vec<ExperimentScore>>,
pub running: Option<bool>,
pub created_at: String,
pub created_by: String,
}Expand description
EvalExperiment : One run of a dataset: written once when the dataset is run, and only ever read afterwards. The case set it executed is returned by the results endpoint, not here: a listing would otherwise send the whole dataset back once per experiment.
Fields§
§id: Uuid§dataset: String§subject: Box<EvalSubject>§run_number: i32This agent’s nth run of this dataset, allocated once and never reused. What a run is called. Numbered per agent rather than per subject kind: runs of what is deployed and runs of its draft are the same agent’s history.
run_job_id: UuidThe flow executing the run: one job holding every case and its scores.
case_count: i32§scores: Option<Vec<ExperimentScore>>What the run scored, one entry per scorer that produced a number. Carried on the run itself so a list of runs can say what each one scored without reading every cell of every one of them. Empty on a run whose scores have not been read yet.
running: Option<bool>Whether the flow executing this run is still going. What makes a list of runs worth watching rather than worth reloading.
created_at: String§created_by: StringImplementations§
Source§impl EvalExperiment
impl EvalExperiment
Sourcepub fn new(
id: Uuid,
dataset: String,
subject: EvalSubject,
run_number: i32,
run_job_id: Uuid,
case_count: i32,
created_at: String,
created_by: String,
) -> EvalExperiment
pub fn new( id: Uuid, dataset: String, subject: EvalSubject, run_number: i32, run_job_id: Uuid, case_count: i32, created_at: String, created_by: String, ) -> EvalExperiment
One run of a dataset: written once when the dataset is run, and only ever read afterwards. The case set it executed is returned by the results endpoint, not here: a listing would otherwise send the whole dataset back once per experiment.
Trait Implementations§
Source§impl Clone for EvalExperiment
impl Clone for EvalExperiment
Source§fn clone(&self) -> EvalExperiment
fn clone(&self) -> EvalExperiment
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more