pub struct AuthorArmMetrics {
pub payload_tokens: u64,
pub payload_bytes: u64,
pub execution_calls: u64,
pub route_attempts: u64,
pub declared_cost: u64,
pub accepted_cases: u64,
pub cassette_hashes: Vec<String>,
}Expand description
Metrics aggregated for one authoring arm.
Fields§
§payload_tokens: u64Prompt payload tokens. This is the primary cost target.
payload_bytes: u64Prompt payload bytes. This is secondary accounting.
execution_calls: u64Deterministic model execution calls made by fake runners.
route_attempts: u64Route attempts recorded by the authoring loop.
declared_cost: u64Declared fake-runner cost accumulated for attempted model routes.
accepted_cases: u64Cases that reached the configured fake success condition.
cassette_hashes: Vec<String>Deterministic cassette hashes, one per case.
Trait Implementations§
Source§impl Clone for AuthorArmMetrics
impl Clone for AuthorArmMetrics
Source§fn clone(&self) -> AuthorArmMetrics
fn clone(&self) -> AuthorArmMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthorArmMetrics
impl Debug for AuthorArmMetrics
Source§impl Default for AuthorArmMetrics
impl Default for AuthorArmMetrics
Source§fn default() -> AuthorArmMetrics
fn default() -> AuthorArmMetrics
Returns the “default value” for a type. Read more
impl Eq for AuthorArmMetrics
Source§impl PartialEq for AuthorArmMetrics
impl PartialEq for AuthorArmMetrics
impl StructuralPartialEq for AuthorArmMetrics
Auto Trait Implementations§
impl Freeze for AuthorArmMetrics
impl RefUnwindSafe for AuthorArmMetrics
impl Send for AuthorArmMetrics
impl Sync for AuthorArmMetrics
impl Unpin for AuthorArmMetrics
impl UnsafeUnpin for AuthorArmMetrics
impl UnwindSafe for AuthorArmMetrics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.