Skip to main content

language_sample_functions

Function language_sample_functions 

pub fn language_sample_functions(
    art: &CalibrationArtifact,
    language: &str,
) -> Option<u64>
Expand description

Pooled per-function sample size behind language’s breakpoints — the honest n for a Wilson confidence interval on a per-function corpus percentile.

None when the language is absent from the artifact or pooled below MIN_LANG_SAMPLE — the same trust floor percentile applies, so a percentile and its confidence interval appear (or vanish) together.