soma.cell

Programs: civic

14 verified Soma programs in the civic domain. Each page shows the source and what soma check, soma test, soma verify and soma run printed on it.

ProgramLinesUses
Campaign finance — the contribution limit lives in the ledger, not the law106a state machine, a memory invariant, try / catch
Census — after certification, the count is history, not a database row106a state machine, a memory invariant, try / catch
Disaster aid — one emergency grant per household, however many times asked116a state machine, a memory invariant, try / catch
Election audit — a risk-limiting audit that cannot count a ballot twice117a state machine, a memory invariant, try / catch
Foia — the statutory clock cannot be silently ignored99a state machine, a memory invariant, try / catch
Grants — budget conservation: the fund cannot award money it does not have107a state machine, a memory invariant, try / catch
Jury — strikes are counted by the bench, not by the honor system118a state machine, a memory invariant, try / catch
Land registry — a parcel cannot be sold to two buyers at once110a state machine, a memory invariant, try / catch
Lottery — committed entries, a published seed, and a draw that closes forever96a state machine, a memory invariant, try / catch
Permit — a building permit that cannot skip a review118a state machine, a memory invariant, try / catch
Petition — one signature per citizen, a wall in memory, not a clerk's eye100a state machine, a memory invariant, try / catch
Procurement — sealed bids stay sealed, and the unsealing ends the auction112a state machine, a memory invariant, try / catch
Sunshine — a council cannot vote on what the public never got to discuss135a state machine, a memory invariant, try / catch
Vital records — a person dies at most once, and benefits know it instantly107a state machine, a memory invariant, try / catch