A rare foray into political coding.