pub struct Trial {
pub k: Option<u32>,
pub pass_at_k: Option<bool>,
pub max_turns: Option<u32>,
pub timeout_ms: Option<u64>,
pub retries: Option<u32>,
pub sandbox: Option<Sandbox>,
pub ext: Ext,
}Expand description
How each item was attempted.
Fields§
§k: Option<u32>Attempts per item.
pass_at_k: Option<bool>Whether the score is pass@k over the attempts.
max_turns: Option<u32>Maximum agent turns per attempt.
timeout_ms: Option<u64>Timeout per attempt in milliseconds.
retries: Option<u32>Retries on error per attempt.
sandbox: Option<Sandbox>Sandbox the attempt ran in.
ext: ExtExtensions keyed by namespace; not fingerprinted unless registered.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Trial
impl<'de> Deserialize<'de> for Trial
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 Trial
impl JsonSchema for Trial
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 Trial
Auto Trait Implementations§
impl Freeze for Trial
impl RefUnwindSafe for Trial
impl Send for Trial
impl Sync for Trial
impl Unpin for Trial
impl UnsafeUnpin for Trial
impl UnwindSafe for Trial
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