pub struct Assessment {Show 19 fields
pub schema_version: u32,
pub policy_version: String,
pub workflow_id: String,
pub phase: u8,
pub assessed_at: String,
pub input_hash: String,
pub window_hash: String,
pub summary: TraceSummary,
pub deterministic_progress_score: f64,
pub provider_progress_score: Option<f64>,
pub model: Option<String>,
pub status: BreakerStatus,
pub last_reviewed_at: Option<String>,
pub blocker: Option<Blocker>,
pub blocker_source: Option<String>,
pub evidence_refs: Vec<String>,
pub recommendation: Option<String>,
pub input_tokens: u64,
pub output_tokens: u64,
}Expand description
Replayable, read-only assessment. It never controls an executor.
Fields§
§schema_version: u32Assessment schema version.
policy_version: StringPolicy version.
workflow_id: StringWorkflow ID.
phase: u8Phase at assessment time.
assessed_at: StringRFC 3339 assessment time.
input_hash: StringSHA-256 of the typed input window.
window_hash: StringSHA-256 of workflow phase and ten-minute assessment window.
summary: TraceSummaryBounded deterministic telemetry.
deterministic_progress_score: f64Deterministic heuristic progress score, 0–2.
provider_progress_score: Option<f64>Optional provider progress score, 0–2.
model: Option<String>Actual model identifier, when a response was accepted.
status: BreakerStatusAdvisory state.
last_reviewed_at: Option<String>Most recent review timestamp, retained through cooldown windows.
blocker: Option<Blocker>Principal blocker, when supported by a signal.
blocker_source: Option<String>deterministic or jev when a blocker is present.
evidence_refs: Vec<String>Event IDs supporting the recommendation.
recommendation: Option<String>Static, actionable recovery suggestion; no command execution.
input_tokens: u64Provider input tokens from an accepted response.
output_tokens: u64Provider output tokens from an accepted response.
Trait Implementations§
Source§impl Clone for Assessment
impl Clone for Assessment
Source§impl Debug for Assessment
impl Debug for Assessment
Source§impl<'de> Deserialize<'de> for Assessment
impl<'de> Deserialize<'de> for Assessment
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>,
Auto Trait Implementations§
impl Forget for Assessment
impl Freeze for Assessment
impl Move for Assessment
impl RefUnwindSafe for Assessment
impl Send for Assessment
impl Sync for Assessment
impl Unpin for Assessment
impl UnsafeUnpin for Assessment
impl UnwindSafe for Assessment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more