def worse

cswap-bend-cli@0.1.0.0 · daemon/walk.bend:149

import cswap-bend-cli@0.1.0.0/daemon/walk.bend as Walk
import Base
import cswap-bend-cli@0.1.0.0/daemon/freshen.bend as Fr

149# The most actionable systemic cause wins (a lower rank), so one needing a human
150# never hides behind one that clears itself.
151def worse(+old: String, +new: String) -> String:
152  worse2(String.is_empty(old) || U32.is_lt(Fr.systemic_rank(new), Fr.systemic_rank(old)), old, new)

Uses (6)

Used by (1)