pub enum SurfaceAblation {
Lexical,
GlobalPpr,
TaskPpr,
PprMmr,
PprQuotas,
PprOptimizer,
}Expand description
Harness-level surface ranking modes for the PPR ablation matrix. Every
mode runs the PRODUCTION surface pipeline (render_ablation_surface
→ build_surface_staged) with exactly one stage toggled — never a
harness reimplementation of ranking. lexical switches every stage
off (lexical-only); global-ppr disables task PPR; task-ppr is the
full task pipeline; ppr-mmr/ppr-quotas/ppr-optimizer disable the
MMR/quotas/optimizer tail stages respectively. The ablation rows are
the production rows with one stage removed. See
benchmarks/external/README.md.
Variants§
Lexical
Lexical goal match only — every pipeline stage off.
GlobalPpr
Global PPR + lexical (no task seeds): task-PPR stage off.
TaskPpr
The production task surface pipeline (every stage on).
PprMmr
Production pipeline with the MMR diversity stage off.
PprQuotas
Production pipeline with the token-aware quota stage off.
PprOptimizer
Production pipeline with the value/token budget optimizer off.
Implementations§
Source§impl SurfaceAblation
impl SurfaceAblation
Sourcepub fn parse(variant: &str) -> Option<SurfaceAblation>
pub fn parse(variant: &str) -> Option<SurfaceAblation>
Parse a variant name; None for non-ablation variants.
pub fn as_str(&self) -> &'static str
Sourcepub fn stages(&self) -> SurfacePipelineStages
pub fn stages(&self) -> SurfacePipelineStages
The pipeline-stage toggle for this ablation: each mode disables
exactly one stage of the production pipeline (lexical disables
everything — lexical-only); every other stage runs exactly as
production runs it.
Trait Implementations§
Source§impl Clone for SurfaceAblation
impl Clone for SurfaceAblation
impl Copy for SurfaceAblation
Source§impl Debug for SurfaceAblation
impl Debug for SurfaceAblation
impl Eq for SurfaceAblation
Source§impl PartialEq for SurfaceAblation
impl PartialEq for SurfaceAblation
impl StructuralPartialEq for SurfaceAblation
Auto Trait Implementations§
impl Freeze for SurfaceAblation
impl RefUnwindSafe for SurfaceAblation
impl Send for SurfaceAblation
impl Sync for SurfaceAblation
impl Unpin for SurfaceAblation
impl UnsafeUnpin for SurfaceAblation
impl UnwindSafe for SurfaceAblation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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
key and return true if they are equal.