pub struct RunReport {
pub agent: String,
pub outputs: BTreeMap<String, Artifact>,
pub stopped: Option<Resumption>,
pub memory: BTreeMap<String, Value>,
pub usage: Usage,
pub steps: u32,
pub spend: Spend,
}Expand description
What a completed run produced.
Fields§
§agent: String§outputs: BTreeMap<String, Artifact>§stopped: Option<Resumption>Present when the run stopped at a checkpoint instead of finishing.
The caller writes it down; the interpreter does not touch a filesystem. A report with this set has not produced the artifact’s declared outputs and is not expected to have.
memory: BTreeMap<String, Value>Persistent memory as the run left it, for the caller to write back.
The interpreter does not touch the filesystem, so it hands the store’s
new contents up rather than saving them. Empty when the artifact
declares no persistent block.
usage: Usage§steps: u32§spend: SpendWhat the run cost, and every model it could not price.
Empty when the artifact states no cost budget: pricing a run nobody
bounded would be arithmetic for its own sake.
Trait Implementations§
impl StructuralPartialEq for RunReport
Auto Trait Implementations§
impl Freeze for RunReport
impl RefUnwindSafe for RunReport
impl Send for RunReport
impl Sync for RunReport
impl Unpin for RunReport
impl UnsafeUnpin for RunReport
impl UnwindSafe for RunReport
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