pub struct OneharnessConfig {
pub bin: String,
pub judge_harness: String,
pub timeout_secs: u64,
}Expand description
Settings for the default oneharness
provider, which runs each prompt on a harness via oneharness run.
Fields§
§bin: StringThe oneharness binary (resolved on PATH).
judge_harness: StringThe harness used for evals and the simulated user (kept independent of the harness under test, so the evaluator does not vary with the matrix).
timeout_secs: u64Per-call timeout passed through to oneharness run --timeout.
Trait Implementations§
Source§impl Clone for OneharnessConfig
impl Clone for OneharnessConfig
Source§fn clone(&self) -> OneharnessConfig
fn clone(&self) -> OneharnessConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OneharnessConfig
impl Debug for OneharnessConfig
Source§impl Default for OneharnessConfig
impl Default for OneharnessConfig
Source§impl<'de> Deserialize<'de> for OneharnessConfig
impl<'de> Deserialize<'de> for OneharnessConfig
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
impl Eq for OneharnessConfig
Source§impl PartialEq for OneharnessConfig
impl PartialEq for OneharnessConfig
Source§fn eq(&self, other: &OneharnessConfig) -> bool
fn eq(&self, other: &OneharnessConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OneharnessConfig
impl Serialize for OneharnessConfig
impl StructuralPartialEq for OneharnessConfig
Auto Trait Implementations§
impl Freeze for OneharnessConfig
impl RefUnwindSafe for OneharnessConfig
impl Send for OneharnessConfig
impl Sync for OneharnessConfig
impl Unpin for OneharnessConfig
impl UnsafeUnpin for OneharnessConfig
impl UnwindSafe for OneharnessConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.