Skip to main content

fix

Function fix 

Source
pub fn fix(
    instruction: &str,
    findings: &[Finding],
    e2e: Option<&str>,
    e2e_deferred: bool,
    round: usize,
    rounds: usize,
    language: &str,
) -> String
Expand description

Prompt for the fixer, given a round’s findings.

e2e_deferred is true when this round’s verify.e2e was intentionally not run (blocking findings already required a fix, and a round remained to actually verify once none are left) — distinct from e2e being None because verification ran and every command passed. Telling the fixer which one happened matters: silence here would read as “nothing to worry about”, and a deferred check is not a passing one.