pub struct LearningRun {
pub id: String,
pub trace_count: usize,
pub gate: BenchmarkGateReport,
pub proposals: Vec<LearnedRuleProposal>,
pub rejections: Vec<LearningRejection>,
}Expand description
Complete self-improvement run.
Fields§
§id: StringStable run id.
trace_count: usizeNumber of traces considered.
gate: BenchmarkGateReportBenchmark gate used for adoption.
proposals: Vec<LearnedRuleProposal>Proposed learned seed rules.
rejections: Vec<LearningRejection>Traces that could not be converted into rules.
Implementations§
Source§impl LearningRun
impl LearningRun
Sourcepub fn adoptable_rules(&self) -> Vec<&LearnedRuleProposal>
pub fn adoptable_rules(&self) -> Vec<&LearnedRuleProposal>
Adoptable learned rules after verification and benchmark gating.
Sourcepub fn links_notation(&self) -> String
pub fn links_notation(&self) -> String
Human-readable Links Notation summary of the learning run.
Trait Implementations§
Source§impl Clone for LearningRun
impl Clone for LearningRun
Source§fn clone(&self) -> LearningRun
fn clone(&self) -> LearningRun
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 LearningRun
impl Debug for LearningRun
impl Eq for LearningRun
Source§impl PartialEq for LearningRun
impl PartialEq for LearningRun
impl StructuralPartialEq for LearningRun
Auto Trait Implementations§
impl Freeze for LearningRun
impl RefUnwindSafe for LearningRun
impl Send for LearningRun
impl Sync for LearningRun
impl Unpin for LearningRun
impl UnsafeUnpin for LearningRun
impl UnwindSafe for LearningRun
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<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.