pub struct AgentStats {
pub agent: String,
pub entered: usize,
pub wins: usize,
pub empty: usize,
pub competitive_entered: usize,
pub competitive_wins: usize,
pub solo_entered: usize,
pub solo_adopted: usize,
}Expand description
Implementation record for one agent.
Fields§
§agent: StringAgent id.
entered: usizeCandidates it produced that were judged.
wins: usizeCompetitions it won.
empty: usizeCandidates that produced no change at all.
competitive_entered: usizeCompetitive candidates it produced that were viable and judged.
competitive_wins: usizeCompetitive contests it won.
solo_entered: usizeSolo implementations it attempted (failed and empty included; verified no-ops excluded).
solo_adopted: usizeSolo implementations adopted (won the uncontested tally).
Implementations§
Source§impl AgentStats
impl AgentStats
Sourcepub fn competitive_win_rate(&self) -> f64
pub fn competitive_win_rate(&self) -> f64
Competitive win rate over competitive entries, as a percentage.
Sourcepub fn solo_adoption_rate(&self) -> f64
pub fn solo_adoption_rate(&self) -> f64
Solo completion/adoption rate over solo runs, as a percentage.
Trait Implementations§
Source§impl Clone for AgentStats
impl Clone for AgentStats
Source§impl Debug for AgentStats
impl Debug for AgentStats
Auto Trait Implementations§
impl Freeze for AgentStats
impl RefUnwindSafe for AgentStats
impl Send for AgentStats
impl Sync for AgentStats
impl Unpin for AgentStats
impl UnsafeUnpin for AgentStats
impl UnwindSafe for AgentStats
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,
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> ⓘ
Converts
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> ⓘ
Converts
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