pub struct BenchInput {
pub gold_path: PathBuf,
pub candidate_path: PathBuf,
pub sources: Option<PathBuf>,
pub threshold: f64,
}Expand description
Inputs to a single VelaBench run.
Fields§
§gold_path: PathBuf§candidate_path: PathBuf§sources: Option<PathBuf>When provided, evidence_fidelity checks each candidate
finding’s evidence span against the actual file content.
Without it, that metric is reported as None and dropped
from the composite (weight rebalanced).
threshold: f64Threshold for the composite score; the binary exit code is non-zero if the score falls below.
Trait Implementations§
Source§impl Clone for BenchInput
impl Clone for BenchInput
Source§fn clone(&self) -> BenchInput
fn clone(&self) -> BenchInput
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 moreAuto Trait Implementations§
impl Freeze for BenchInput
impl RefUnwindSafe for BenchInput
impl Send for BenchInput
impl Sync for BenchInput
impl Unpin for BenchInput
impl UnsafeUnpin for BenchInput
impl UnwindSafe for BenchInput
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