pub struct Task {
pub id: String,
pub version: Option<String>,
pub revision: Option<String>,
pub split: Option<String>,
pub config: Option<String>,
pub n: Option<u64>,
pub seed: Option<i64>,
pub shuffled: Option<bool>,
pub source_data: Option<String>,
pub sample_ids_sha256: Option<String>,
pub ext: Ext,
}Expand description
The task or benchmark that was run.
Fields§
§id: StringTask identifier as the producer names it (for example single2).
version: Option<String>Task version, as published by the task’s author.
revision: Option<String>Exact revision of the task material (a commit or dataset revision).
split: Option<String>Split that was evaluated (test, validation, …).
config: Option<String>Named task configuration, when the task has more than one.
n: Option<u64>Number of items evaluated.
seed: Option<i64>Seed used to select or order items.
shuffled: Option<bool>Whether items were shuffled before evaluation.
source_data: Option<String>Where the task data came from (a URL or dataset id).
sample_ids_sha256: Option<String>sha256 over the sorted list of sample ids that were evaluated.
ext: ExtExtensions keyed by namespace; not fingerprinted unless registered.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Task
impl JsonSchema for Task
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Task
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more