pub struct BenchTask {
pub name: String,
pub difficulty: String,
pub allow_hosts: Vec<String>,
pub instruction: String,
pub oracle: Oracle,
pub max_turns: usize,
pub tools: Vec<String>,
}Expand description
One benchmark task: a natural-language goal for the agent + a deterministic oracle for grading.
Fields§
§name: StringShort identifier.
difficulty: StringDifficulty label (easy/medium/hard/hardest) for the scorecard.
allow_hosts: Vec<String>Hosts the agent is allowed to navigate to (deny-by-default otherwise).
instruction: StringThe task handed to the browser agent.
oracle: OracleDeterministic success check.
max_turns: usizeTurn cap for this task’s ReAct loop.
tools: Vec<String>Tools the agent is allowed (token control). Empty = all preset tools.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BenchTask
impl RefUnwindSafe for BenchTask
impl Send for BenchTask
impl Sync for BenchTask
impl Unpin for BenchTask
impl UnsafeUnpin for BenchTask
impl UnwindSafe for BenchTask
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