def judge
import ezx@1.11.0.0/src/lock/world.bend as Worldimport Base
import ezx@1.11.0.0/src/lock/lock.bend as L
394# every reply judged, in the order they were given
395def judge(+orgs: List<&2, L.Origin>, +hub: String, rs: List<&2, Reply>) -> List<&2, Judged>:
396 match rs:
397 case []:
398 []
399 case Reply{ask, answer} <> t:
400 +hash = ask.hash(ask)
401 Judged{hash, accept(orgs, hub, hash, answer)} <> judge(orgs, hub, t)