pub struct BenchmarkTask {
pub name: &'static str,
pub prompt: &'static str,
pub max_steps: usize,
pub verify: fn(&BenchmarkResult) -> f64,
}Expand description
A single benchmark task.
Fields§
§name: &'static strShort name
prompt: &'static strPrompt sent to agent
max_steps: usizeMax steps budget (Karpathy: fixed budget per experiment)
verify: fn(&BenchmarkResult) -> f64How to verify success — function checks the output
Trait Implementations§
Source§impl Clone for BenchmarkTask
impl Clone for BenchmarkTask
Source§fn clone(&self) -> BenchmarkTask
fn clone(&self) -> BenchmarkTask
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 moreAuto Trait Implementations§
impl Freeze for BenchmarkTask
impl RefUnwindSafe for BenchmarkTask
impl Send for BenchmarkTask
impl Sync for BenchmarkTask
impl Unpin for BenchmarkTask
impl UnsafeUnpin for BenchmarkTask
impl UnwindSafe for BenchmarkTask
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