34 lines
849 B
TypeScript
34 lines
849 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { DatapointResult } from "./DatapointResult";
|
|
import type { EvaluatorStats } from "./EvaluatorStats";
|
|
|
|
/**
|
|
* Response from running an evaluation.
|
|
*/
|
|
export type RunEvaluationResponse = {
|
|
/**
|
|
* Unique identifier for this evaluation run.
|
|
*/
|
|
evaluation_run_id: string;
|
|
/**
|
|
* Number of datapoints evaluated.
|
|
*/
|
|
num_datapoints: number;
|
|
/**
|
|
* Number of successful evaluations.
|
|
*/
|
|
num_successes: number;
|
|
/**
|
|
* Number of errors.
|
|
*/
|
|
num_errors: number;
|
|
/**
|
|
* Per-evaluator statistics.
|
|
*/
|
|
stats: { [key in string]: EvaluatorStats };
|
|
/**
|
|
* Per-datapoint results (only populated if `include_datapoint_results` was true).
|
|
*/
|
|
datapoint_results?: Array<DatapointResult> | null;
|
|
};
|