pub struct Task {
pub id: String,
pub summary: String,
pub prompt: String,
pub success_criteria: Vec<String>,
pub author: String,
pub created_at: String,
pub sealed_against_tag: String,
}Expand description
A single task the agent must complete.
Fields§
§id: StringStable identifier, referenced in reports.
summary: StringOne-line human summary.
prompt: StringPrompt fed verbatim to the agent.
success_criteria: Vec<String>Human-readable criteria appended to the judge’s rubric.
Provenance: who authored this task.
created_at: StringProvenance: ISO date (YYYY-MM-DD) of authorship.
sealed_against_tag: StringProvenance: subject tool tag the task was authored against. For hold-out tasks, this proves the task predates any treatment.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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