Skip to main content

eval_runs

Function eval_runs 

Source
pub fn eval_runs<S: SubstrateRead + ?Sized>(
    sub: &S,
    evalset_hash: &str,
    since_ms: Option<i64>,
) -> Result<Vec<EvalRun>>
Expand description

Every recorded run of evalset_hash, oldest first.

since_ms bounds the scan to summaries written at or after a moment — which is what keeps an outcome honest: a run journaled before a recommendation was applied cannot be evidence of what applying it did.