Skip to main content

RunConfig

Struct RunConfig 

Source
pub struct RunConfig {
    pub project: PathBuf,
    pub agent_dir: PathBuf,
    pub golden_path: PathBuf,
    pub models: Vec<String>,
    pub out: Option<PathBuf>,
    pub parallel: usize,
    pub filter: CaseFilter,
    pub no_cache: bool,
    pub cache_dir: Option<PathBuf>,
    pub samples: usize,
    pub record_answers: bool,
}

Fields§

§project: PathBuf§agent_dir: PathBuf§golden_path: PathBuf§models: Vec<String>§out: Option<PathBuf>§parallel: usize

Concurrent cases per binding (1 = serial). Under contention the per-case latency column measures queueing too, so the report records the level it ran at.

§filter: CaseFilter

Golden case selection (--tags / --sample). Default = full run (every case).

§no_cache: bool

Bypass the trace cache (--no-cache): re-run every case and refresh its cached result instead of reusing a content-addressed hit.

§cache_dir: Option<PathBuf>

Where per-case traces are read/written. None = <project>/.warble/eval-cache.

§samples: usize

Repeated runs per case (pass-rate methodology). 1 is today’s single-run behavior; use more to distinguish model capability from run-to-run noise (flaky vs consistently passing/failing).

§record_answers: bool

Record each sample’s rendered result value into CaseResult::answer_dist (a distinct- answer distribution). Off by default — it means keeping the actual answer strings around, not just pass/fail.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.