pub struct OneharnessConfig {
pub bin: String,
pub judge_harness: String,
pub timeout_secs: u64,
pub history: bool,
pub history_dir: Option<String>,
}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.
history: boolRecord each skill run to oneharness’s run history (oneharness run --history), so a past run can be reviewed later with oneharness history. On by default. The judge and simulated-user calls are never
recorded — only the skill under test.
history_dir: Option<String>Directory the shared run history is written to (passed as oneharness run --history-dir). Defaults to a single centralized location reused across
every skilltest invocation (see
crate::provider::default_history_dir), so past runs accumulate in one
reviewable place instead of scattering per project.
Trait Implementations§
Source§impl Clone for OneharnessConfig
impl Clone for OneharnessConfig
Source§fn clone(&self) -> OneharnessConfig
fn clone(&self) -> OneharnessConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
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
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
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
key and return true if they are equal.