starved_below_minimum_skip

Function starved_below_minimum_skip 

Source
pub fn starved_below_minimum_skip(
    result: &VmResult,
    have: usize,
    need: usize,
    what: &str,
) -> Result<()>
Expand description

Generic sub-minimum starvation skip: Err(post_vm_skip(..)) when the run produced FEWER data-bearing units than the caller’s assertion requires (have < need) AND capture_starvation_witness proves the host was contended enough to explain the shortfall; Ok(()) otherwise. The caller passes the SAME count its own assertion checks (real captures, PSI-carrying captures, series length, …) so the gate and the assertion cannot disagree about the boundary — an earlier zero-only gate let 1 of 6 runs through to fail on a >= 2 minimum under the identical environmental condition. Quiet-host shortfalls (zero OR sub-minimum) still fall through and fail with the caller’s specific diagnosis.