Skip to main content

run

Function run 

Source
pub fn run(
    ir: &HashMap<String, Cell>,
    dag: &Dag,
    seed: &CellEnv,
) -> Result<RunResult, Box<LintFinding>>
Expand description

Walk the per-cell Dag in toposort order, filling env from seed, and compute every cell in ir. Returns the computed {cell_key -> CellValue} map together with per-cell EvalTrace evidence, or ONE located dag/cycle LintFinding when the DAG is cyclic.

seed carries pre-loaded Role::Input cells + per-quote plot details (cells ABSENT from ir) so the leaf inputs resolve before the walk (D-01/D-06).