pub struct AttemptCost {
pub total_attempts: u64,
pub failed_attempts: u64,
pub compute_note: String,
}Expand description
The full cost of an attempt, including the failures that the headline success hides. A frontier that shows only wins reproduces the exact transparency hole the community calls out in lab repos.
Fields§
§total_attempts: u64Total attempts run for this claim (successes + failures + triage).
failed_attempts: u64How many of those failed (the denominator made explicit).
compute_note: StringFree-form compute note (e.g. “788K randomized runs, 16 cores, 3h”).
Trait Implementations§
Source§impl Clone for AttemptCost
impl Clone for AttemptCost
Source§fn clone(&self) -> AttemptCost
fn clone(&self) -> AttemptCost
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 AttemptCost
impl Debug for AttemptCost
Source§impl Default for AttemptCost
impl Default for AttemptCost
Source§fn default() -> AttemptCost
fn default() -> AttemptCost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttemptCost
impl<'de> Deserialize<'de> for AttemptCost
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
impl Eq for AttemptCost
Source§impl PartialEq for AttemptCost
impl PartialEq for AttemptCost
Source§impl Serialize for AttemptCost
impl Serialize for AttemptCost
impl StructuralPartialEq for AttemptCost
Auto Trait Implementations§
impl Freeze for AttemptCost
impl RefUnwindSafe for AttemptCost
impl Send for AttemptCost
impl Sync for AttemptCost
impl Unpin for AttemptCost
impl UnsafeUnpin for AttemptCost
impl UnwindSafe for AttemptCost
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
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<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.