pub struct PprResult {
pub scores: FxHashMap<FragmentId, f64>,
pub truncated: bool,
pub forward_pushes: usize,
pub backward_pushes: usize,
}Expand description
Public PPR result. truncated is logical-OR of forward + backward
push truncation flags. When true, downstream renormalization
(sum-to-1 across nodes) hides the fact that the iteration was cut
short by max_pushes_cap; the absolute relevance scores are
biased toward seeds and not directly comparable across instances.
We surface this to Python so calibration / final-eval rows can be
filtered in post-analysis (PolyBench / Multi-SWE-bench instances
with >20k fragments are the primary suspects).
Fields§
§scores: FxHashMap<FragmentId, f64>§truncated: bool§forward_pushes: usize§backward_pushes: usizeAuto Trait Implementations§
impl Freeze for PprResult
impl RefUnwindSafe for PprResult
impl Send for PprResult
impl Sync for PprResult
impl Unpin for PprResult
impl UnsafeUnpin for PprResult
impl UnwindSafe for PprResult
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> 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