def systemic_rank

cswap-bend-cli@0.1.0.0 · daemon/freshen.bend:83

import cswap-bend-cli@0.1.0.0/daemon/freshen.bend as Freshen
import Base

83# The deterministic refusals every candidate hits identically (autoswitch.py
84# _SYSTEMIC_MESSAGES), most actionable first.
85def systemic_rank(+s: String) -> U32:
86  rank2(String.eq(s, "store-unmirrored"), String.eq(s, "invalid_client"), String.eq(s, "stash-unreadable"), String.eq(s, "consume-busy"))

Uses (4)

Used by (3)