pub struct EngineInputs {
pub metrics: Metrics,
pub edits_since_annotation: usize,
pub unreviewed_intents: usize,
pub proofs_awaiting_review: usize,
pub canon_pending: usize,
pub prior_score: Option<f64>,
pub tier_increased: bool,
pub signed_in: bool,
}Expand description
Everything the signal metrics read. The cli’s union function (S0c+)
populates the runtime fields it can’t see from the index alone (reviewed
map, queue/canon counts, the edit-window baseline); the index-derived
part is Metrics.
Fields§
§metrics: MetricsIndex-derived metrics (counts, backlog, tier, score).
edits_since_annotation: usizeSource edits since the last annotation was added (PostToolUse counter).
unreviewed_intents: usizeAuthored intents not yet marked reviewed (new + backlog).
proofs_awaiting_review: usizeProofs carrying a verdict not yet in the proof-reviewed map.
canon_pending: usizePending canon matches + suggestions (only meaningful when signed in).
prior_score: Option<f64>The visible score at the edit-window baseline, if one was captured.
tier_increased: boolWhether the tier rose since the edit-window baseline (instant win).
signed_in: boolWhether a repo-scoped token is present (gates the paid canon signal).
Trait Implementations§
Source§impl Clone for EngineInputs
impl Clone for EngineInputs
Source§fn clone(&self) -> EngineInputs
fn clone(&self) -> EngineInputs
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 moreAuto Trait Implementations§
impl Freeze for EngineInputs
impl RefUnwindSafe for EngineInputs
impl Send for EngineInputs
impl Sync for EngineInputs
impl Unpin for EngineInputs
impl UnsafeUnpin for EngineInputs
impl UnwindSafe for EngineInputs
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