pub struct Length {
pub model: String,
pub chars: usize,
pub start: bool,
pub line: Option<f64>,
pub steps: Vec<Step>,
pub explore: Option<usize>,
pub psi: f64,
}Expand description
One judge’s effective length and the session-end budget it sets (module doc).
Fields§
§model: StringThe judge’s label (runner.rs Choice::label).
chars: usizeThe budget: a session-end batch’s prompt characters at most.
start: boolWhether it is still the start (END_START_BUDGET): no decided step moved it.
line: Option<f64>The line a step’s lower bound must reach (HOLD × the reference’s share); None without a reference.
steps: Vec<Step>The steps with evidence, smallest first, and the explored step when it has none yet.
explore: Option<usize>The step above the budget a share of passes explores (its edge).
psi: f64The chance a session-end pass explores it: EXPLORE_SHARE while it is open,
FAILED_EXPLORE_SHARE once it failed (0 when none is explored).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Length
Auto Trait Implementations§
impl Freeze for Length
impl RefUnwindSafe for Length
impl Send for Length
impl Sync for Length
impl Unpin for Length
impl UnsafeUnpin for Length
impl UnwindSafe for Length
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