Skip to main content

apply_quality

Function apply_quality 

Source
pub fn apply_quality(
    records: Vec<Value>,
    q: &CompiledQuality,
) -> Result<QualityOutcome, FaucetError>
Expand description

Apply the full per-page quality pass. Pure: no metrics, no DLQ I/O.

Order: per-record checks (first-failure-wins) partition the page into survivors + quarantined; per-batch checks then run over the survivors. Returns Err(FaucetError::QualityFailure) on any abort.