def summary
import bolt@1.27.0.0/src/lint/plan.bend as Planimport Base
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy
import bolt@1.27.0.0/src/finding.bend as F
620# `clean`, or the counts
621def summary(+gs: List<&2, F.Graded>) -> String:
622 Lazy.stop(String, List.is_empty(&2, F.Graded, gs), "clean",
623 _u => count(errors(gs), "error") ++ ", " ++ count(warnings(gs), "warning"))