Skip to main content

evaluate_scoped

Function evaluate_scoped 

Source
pub fn evaluate_scoped(
    survivors: Vec<Survivor>,
    mutated: &MutatedLines,
    whole_file: &[String],
    line_scoped: &BTreeMap<String, BTreeSet<u32>>,
) -> Result<Vec<Survivor>>
Expand description

Apply file- and line-scoped mutation exemptions to the raw survivors, with the determinism guard: a listed line whose mutants were all caught is over-exemption and a hard error, while a listed line with no mutant is left alone (it may be off the diff).