pub struct EngineOptions {
pub max_iterations_per_node: u32,
pub global_budget_minutes: Option<u64>,
pub max_total_iterations: Option<u32>,
pub stuck_loop_threshold: u32,
pub test_ratchet: bool,
pub role_models: HashMap<String, String>,
pub worker_models: HashMap<String, String>,
pub model_ladders: HashMap<String, Vec<String>>,
pub single_family_pool: bool,
}Expand description
Tunable limits for a run, merged from config and the plan’s own budget.
Fields§
§max_iterations_per_node: u32§global_budget_minutes: Option<u64>§max_total_iterations: Option<u32>§stuck_loop_threshold: u32Identical-failure loops before escalating to a human (CONTEXT.md §11).
test_ratchet: boolApply the test ratchet at evaluator gates by default.
role_models: HashMap<String, String>Per-role model defaults (role name → model), from config.
worker_models: HashMap<String, String>Per-worker model defaults (worker name → model), from config.
model_ladders: HashMap<String, Vec<String>>Per-worker cascade ladders (worker name → models cheap→strong), used to
escalate a node’s model on evaluator failure (CONTEXT.md §7).
single_family_pool: boolWhether the pool is single-family; if so, AI evaluators are same-family and the engine narrates that independence is limited.
Trait Implementations§
Source§impl Clone for EngineOptions
impl Clone for EngineOptions
Source§fn clone(&self) -> EngineOptions
fn clone(&self) -> EngineOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineOptions
impl Debug for EngineOptions
Auto Trait Implementations§
impl Freeze for EngineOptions
impl RefUnwindSafe for EngineOptions
impl Send for EngineOptions
impl Sync for EngineOptions
impl Unpin for EngineOptions
impl UnsafeUnpin for EngineOptions
impl UnwindSafe for EngineOptions
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