Cheetah

Overnight automation that keeps the campaign's canvassing packets current, so each morning's door knocking starts from fresh lists.

cheetah-overnight.sh
scripts/cheetah-overnight.sh[Mon Oct 19 23:05:38 EDT 2026] waiting until Tue Oct 20 02:15:00 EDT 2026[Tue Oct 20 02:15:00 EDT 2026] attempt 1: src/cheetah_run.py --yesverifying BigQuery tables ...reading 155 folders for the preflight ...reconciling map regions against the turf plan ...RECONCILIATION  folders walked               155  map regions read            8693  printable                   8665  unmatched (excluded)          27  missing campaign (excluded)    1CHEETAH  155 folders, 8693 map regions, 40696 packets  R04_011_North_Doors: refreshing (375 map regions, 1252 packets)  R17_115_North East_Doors: refreshing (190 map regions, 691 packets)  R09_054_Darby_Doors: refreshing (135 map regions, 611 packets)  R04_012_Germantown_Doors: refreshing (141 map regions, 520 packets)  R17_115_North East_Doors: all 190 map regions refreshed and stable in 353s  R17_115_North East_Doors: 1 batch(es), 184 regions, 6 excluded  R09_054_Darby_Doors: all 135 map regions refreshed and stable in 692s  == R09_054_Darby_Doors complete (5/155 folders): 110 regions, 611 list numbers, 611 packets recorded  R04_015_Torresdale_Doors: batch failed before reserving (TimeoutError); retry 2 of 3  == R17_115_North East_Doors complete (6/155 folders): 184 regions, 691 list numbers, 691 packets recorded  ... 144 more folders ...  == R15_097_Elk_Doors complete (151/155 folders): 13 regions, 65 list numbers, 65 packets recorded  == HD131_Lehigh-Northampton_Doors complete (152/155 folders): 2 regions, 13 list numbers, 13 packets recorded  == R15_095_Tioga_Doors complete (153/155 folders): 10 regions, 44 list numbers, 44 packets recorded  == HD118_048_Pittston_Doors complete (154/155 folders): 4 regions, 23 list numbers, 23 packets recorded  == R07_040_Kunkletown_Doors complete (155/155 folders): 9 regions, 115 list numbers, 115 packets recordedpublishing to BigQuery ...run completed: 155 of 155 folders, 40696 packets, 0 not updated, 8133 print jobs, 4 batch retries  packet_daily  partition 2026-10-20, 37802 rows  print_jobs    partition 2026-10-20, 8133 rows[Tue Oct 20 07:05:52 EDT 2026] attempt 1 exited 0[Tue Oct 20 07:05:52 EDT 2026] folders left: 0, BigQuery written: yes[Tue Oct 20 07:05:52 EDT 2026] ===== done =====

Cheetah is an overnight job built in-house for the campaign’s data staff. Its purpose is simple: when organizers open their turf in the morning, every canvassing packet matches the latest targeting, and the tracker the field team relies on already knows each packet’s list number and door count.

Why it exists

Targeting changes daily, and packets cut against yesterday’s universe quickly go stale. Volunteers carrying an outdated packet can knock every door on it and still have nowhere to record what they learned. With thousands of packets statewide, keeping them all in step by hand isn’t realistic, and a job left half finished is worse than one never started.

What it does

Built with

Python and BigQuery.