pub struct ExperimentConfig { /* private fields */ }Expand description
Experiment configuration.
Implementations§
Source§impl ExperimentConfig
impl ExperimentConfig
Sourcepub fn with_runs_per_case(self, n: usize) -> Self
pub fn with_runs_per_case(self, n: usize) -> Self
Run each case n times. Repetitions exist to expose flaky behavior;
pass rates are computed over all repetitions.
Sourcepub fn with_max_concurrency(self, n: usize) -> Self
pub fn with_max_concurrency(self, n: usize) -> Self
Allow at most n case runs to execute concurrently.
The default is 1, preserving sequential execution and uncontended
latency measurement. Zero is normalized to one, matching
Self::with_runs_per_case. Parallel runs still receive isolated
graphs and journals, and the report remains ordered by dataset case
then repetition regardless of completion order.
Sourcepub fn with_judge(self, judge: Arc<dyn JudgeModel>) -> Self
pub fn with_judge(self, judge: Arc<dyn JudgeModel>) -> Self
Attach a judge: every case run is additionally scored through it and the verdict recorded in the report.
Trait Implementations§
Source§impl Debug for ExperimentConfig
impl Debug for ExperimentConfig
Auto Trait Implementations§
impl !RefUnwindSafe for ExperimentConfig
impl !UnwindSafe for ExperimentConfig
impl Freeze for ExperimentConfig
impl Send for ExperimentConfig
impl Sync for ExperimentConfig
impl Unpin for ExperimentConfig
impl UnsafeUnpin for ExperimentConfig
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