pub struct SurfacePipelineStages {
pub lexical: bool,
pub global_ppr: bool,
pub task_ppr: bool,
pub mmr: bool,
pub quotas: bool,
pub optimizer: bool,
}Expand description
Stage toggles for the ablation matrix (build_surface_staged): the
same pipeline with one stage switched off. All on = build_surface.
Fields§
§lexical: boolLexical stage: on = PPR-blended importance; off = pure lexical scores, no PPR at all.
global_ppr: boolGlobal PPR stage: off = no global vector in the blend.
task_ppr: boolTask PPR stage: off = no task seeds (global-only blend).
mmr: boolMMR diversity stage: off = rank order preserved, no diversification.
quotas: boolQuota stage: off = no per-kind caps.
optimizer: boolOptimizer stage: off = rank-order budget cut, no value/token reordering.
Trait Implementations§
Source§impl Clone for SurfacePipelineStages
impl Clone for SurfacePipelineStages
impl Copy for SurfacePipelineStages
Source§impl Debug for SurfacePipelineStages
impl Debug for SurfacePipelineStages
Source§impl Default for SurfacePipelineStages
impl Default for SurfacePipelineStages
Source§fn default() -> Self
fn default() -> Self
All stages on: build_surface_staged(.., &SurfacePipelineStages::default())
is exactly build_surface.
impl Eq for SurfacePipelineStages
Source§impl PartialEq for SurfacePipelineStages
impl PartialEq for SurfacePipelineStages
impl StructuralPartialEq for SurfacePipelineStages
Auto Trait Implementations§
impl Freeze for SurfacePipelineStages
impl RefUnwindSafe for SurfacePipelineStages
impl Send for SurfacePipelineStages
impl Sync for SurfacePipelineStages
impl Unpin for SurfacePipelineStages
impl UnsafeUnpin for SurfacePipelineStages
impl UnwindSafe for SurfacePipelineStages
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