pub struct HeuristicV1ScorePlugin;Expand description
Default heuristic scorer.
Formula:
- Base 100
has_errors=> -15- shell failures (
exit_code != 0) => -5 each (cap -30) - tool errors (
ToolResult.is_error=true) => -4 each (cap -20) - recovery (same task lane: failure -> success) => +5 each (cap +20)
- clamp to 0..100
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HeuristicV1ScorePlugin
impl RefUnwindSafe for HeuristicV1ScorePlugin
impl Send for HeuristicV1ScorePlugin
impl Sync for HeuristicV1ScorePlugin
impl Unpin for HeuristicV1ScorePlugin
impl UnsafeUnpin for HeuristicV1ScorePlugin
impl UnwindSafe for HeuristicV1ScorePlugin
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