pub struct ExecutionConfig {Show 21 fields
pub failure_policy: FailurePolicy,
pub default_timeout_ms: u64,
pub max_workers: usize,
pub dry_run: bool,
pub model_path: Option<String>,
pub no_gpu: bool,
pub run_conversion_tests: bool,
pub run_differential_tests: bool,
pub run_profile_ci: bool,
pub run_trace_payload: bool,
pub run_golden_rule_test: bool,
pub golden_reference_path: Option<String>,
pub lock_file_path: Option<String>,
pub check_integrity: bool,
pub warn_implicit_skips: bool,
pub run_hf_parity: bool,
pub hf_parity_corpus_path: Option<String>,
pub hf_parity_model_family: Option<String>,
pub output_dir: Option<String>,
pub run_contract_tests: bool,
pub run_ollama_parity: bool,
}Expand description
Execution configuration
Fields§
§failure_policy: FailurePolicyFailure handling policy
default_timeout_ms: u64Default timeout in milliseconds
max_workers: usizeMaximum parallel workers
dry_run: boolDry run (don’t actually execute commands)
model_path: Option<String>Path to the model file
no_gpu: boolDisable GPU acceleration
run_conversion_tests: boolRun P0 format conversion tests (CRITICAL - should be true by default)
run_differential_tests: boolRun differential tests (tensor diff, inference compare)
run_profile_ci: boolRun profile CI assertions
run_trace_payload: boolRun trace payload tests
run_golden_rule_test: boolRun Golden Rule Test (convert → inference → diff) This is the single most important invariant: converted models MUST produce the same output as the original. (Five Whys: GH-190)
golden_reference_path: Option<String>Path to golden reference JSON for the model
lock_file_path: Option<String>Path to playbook lock file for integrity checks (§3.1)
check_integrity: boolCheck playbook integrity against lock file (§3.1)
warn_implicit_skips: boolWarn about implicit format/backend skips (§3.3)
run_hf_parity: boolRun HF parity verification against golden corpus
hf_parity_corpus_path: Option<String>Path to HF golden corpus directory (e.g., “../hf-ground-truth-corpus/oracle”)
hf_parity_model_family: Option<String>HF parity model family (e.g., “qwen2.5-coder-1.5b/v1”)
output_dir: Option<String>Output directory for conversion test artifacts (ISO-OUT-001) Defaults to “output/” - keeps test artifacts isolated from source models
run_contract_tests: boolRun contract invariant tests I-2 through I-5 (GH-190/191 Five-Whys)
run_ollama_parity: boolRun ollama parity tests (GH-6/AC-2)
Trait Implementations§
Source§impl Clone for ExecutionConfig
impl Clone for ExecutionConfig
Source§fn clone(&self) -> ExecutionConfig
fn clone(&self) -> ExecutionConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionConfig
impl Debug for ExecutionConfig
Auto Trait Implementations§
impl Freeze for ExecutionConfig
impl RefUnwindSafe for ExecutionConfig
impl Send for ExecutionConfig
impl Sync for ExecutionConfig
impl Unpin for ExecutionConfig
impl UnwindSafe for ExecutionConfig
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more