pub struct SandboxOutputValidateAdapter;Expand description
Implements ValidatePort by interpreting sandbox execution output.
Logic (fully synchronous, no I/O):
execution_success = true→passed: true, score: 0.9execution_success = falseand stderr matches known failure tokens (e.g.FAILED,error[E,panicked at) →passed: false, score: 0.0, issues = [...]- Otherwise failure →
passed: false, score: 0.2(generic I/O error)
Implementations§
Trait Implementations§
Source§impl ValidatePort for SandboxOutputValidateAdapter
impl ValidatePort for SandboxOutputValidateAdapter
Source§fn validate(&self, input: &ValidateInput) -> ValidationResult
fn validate(&self, input: &ValidateInput) -> ValidationResult
Validate the mutation result and return a
ValidationResult. Read moreAuto Trait Implementations§
impl Freeze for SandboxOutputValidateAdapter
impl RefUnwindSafe for SandboxOutputValidateAdapter
impl Send for SandboxOutputValidateAdapter
impl Sync for SandboxOutputValidateAdapter
impl Unpin for SandboxOutputValidateAdapter
impl UnsafeUnpin for SandboxOutputValidateAdapter
impl UnwindSafe for SandboxOutputValidateAdapter
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