pub struct Coverage {
pub unparsed_files: Vec<String>,
pub zero_edge_files: Vec<String>,
pub ppr_truncated: bool,
pub next_up: usize,
pub confidence: f64,
}Fields§
§unparsed_files: Vec<String>Changed files with no symbol-level structure: every fragment is a chunk/section fallback, so the parser could not see inside them and nothing was pulled in by symbol.
zero_edge_files: Vec<String>Changed files whose fragments have no graph edge in either direction — no caller, import, type or co-change link was found, so relevance had no path to travel and context for them could only arrive by proximity.
ppr_truncated: boolPPR push-iteration hit its cap before converging: the ranking is a
partial diffusion, so low-scoring items are less trustworthy than usual.
Never set outside --scoring ppr.
next_up: usizeHow many of the top-ranked overflow items a 25% larger budget would admit. Zero when the budget was not what stopped selection.
This answers “would paying more change the answer”, which neither the raw overflow total nor a score comparison does. The total is thousands of candidates the budget correctly ignored; “scores at least as high as the weakest selected item” was worse than useless, because raising the budget lowers that bar and so increased the reported gap.
confidence: f64Documented heuristic in [0, 1], NOT a probability and not a promise:
parsed_share * linked_share * fit_share, less 0.1 when PPR truncated.
It says how much of the changed surface the run could see and fit — it
cannot say whether what it selected is the right thing.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Coverage
impl RefUnwindSafe for Coverage
impl Send for Coverage
impl Sync for Coverage
impl Unpin for Coverage
impl UnsafeUnpin for Coverage
impl UnwindSafe for Coverage
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
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>
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>
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