Skip to main content

RunConfig

Struct RunConfig 

Source
pub struct RunConfig {
Show 13 fields pub project: PathBuf, pub agent_dir: Option<PathBuf>, pub ir_path: Option<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, pub backend: Backend,
}

Fields§

§project: PathBuf§agent_dir: Option<PathBuf>

A dispatched agent output dir (contains .claude/agents/…) — the artifact Backend::ClaudeCodeCli installs and runs against. Required when backend is ClaudeCodeCli (the default); run_eval fails loudly if it’s missing then. Mutually exclusive with ir_path in practice — exactly one artifact shape applies per backend.

§ir_path: Option<PathBuf>

Compiled IR JSON (the same artifact warble dispatch consumes) — the artifact Backend::ClaudeAgentSdk dispatches directly at invocation time, since that back-end has no pre-installed agent dir to point at. Required when backend needs it; run_eval fails loudly if it’s missing then.

§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.

§backend: Backend

Which back-end/runtime to dispatch the run through. Defaults to Backend::default (claude-code-cli) so an invocation that never mentions --backend measures exactly what it always measured.

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> Same for T

Source§

type Output = T

Should always be Self
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.