pub struct EscalationJudgeConfig {
pub confirmations: u32,
pub recent_turn_window: usize,
pub window_message_chars: usize,
}Expand description
The tuning surface for the trajectory judge.
The routing settings retain their benchmarked defaults. Everything else is a fixed invariant (the constants above).
Fields§
§confirmations: u32Consecutive escalate verdicts required before a turn moves to the capable tier, which
is also the turn that latches the session. Any decline clears the streak.
1 escalates on the first verdict; the router’s main cost dial.
2 or higher needs a session id, since the streak is retained per session.
recent_turn_window: usizeTrailing messages shown on top of the anchors. A loop longer than this is invisible.
window_message_chars: usizePer-message cap inside the trailing window.
Trait Implementations§
Source§impl Clone for EscalationJudgeConfig
impl Clone for EscalationJudgeConfig
Source§fn clone(&self) -> EscalationJudgeConfig
fn clone(&self) -> EscalationJudgeConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 EscalationJudgeConfig
impl Debug for EscalationJudgeConfig
Source§impl Default for EscalationJudgeConfig
impl Default for EscalationJudgeConfig
Source§impl<'de> Deserialize<'de> for EscalationJudgeConfigwhere
EscalationJudgeConfig: Default,
impl<'de> Deserialize<'de> for EscalationJudgeConfigwhere
EscalationJudgeConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EscalationJudgeConfig
impl RefUnwindSafe for EscalationJudgeConfig
impl Send for EscalationJudgeConfig
impl Sync for EscalationJudgeConfig
impl Unpin for EscalationJudgeConfig
impl UnsafeUnpin for EscalationJudgeConfig
impl UnwindSafe for EscalationJudgeConfig
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