pub struct Eval {Show 15 fields
pub schema: String,
pub title: String,
pub producer: Producer,
pub eval_kind: EvalKind,
pub origin: Origin,
pub model: Option<Model>,
pub task: Option<Task>,
pub harness: Option<Harness>,
pub generation: Option<Generation>,
pub trial: Option<Trial>,
pub env: Option<Env>,
pub relations: Vec<Relation>,
pub attachments: Vec<Attachment>,
pub redaction: Option<Redaction>,
pub ext: Ext,
}Expand description
An Eval header: what the material is, how it came to exist, and the
default conditions for its runs. The runs themselves are not part of the
body; they belong to the record and are written one by one
(schemas/run.json).
Fields§
§schema: StringSchema identifier; must be evalhub.eval/2.0.
title: StringHuman-readable title.
producer: ProducerThe software that wrote this record.
eval_kind: EvalKindWhat the material is.
origin: OriginHow the material came to exist.
model: Option<Model>The model facet: the default for runs that do not carry their own.
task: Option<Task>The task facet: the default for runs that do not carry their own.
harness: Option<Harness>The harness facet: the default for runs that do not carry their own.
generation: Option<Generation>The generation facet: the default for runs that do not carry their own.
trial: Option<Trial>The trial facet: the default for runs that do not carry their own.
env: Option<Env>The environment facet: the default for runs that do not carry their own.
relations: Vec<Relation>Edges to other Evals (core/derived_from, core/subset_of).
attachments: Vec<Attachment>Files this header refers to. A run’s own files are in the run’s
attachments[], not here.
redaction: Option<Redaction>What the producer removed before publishing.
ext: ExtProducer-private extensions keyed by namespace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Eval
impl<'de> Deserialize<'de> for Eval
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for Eval
impl JsonSchema for Eval
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more