San Francisco ranked dead last at #148 with subpar governance. Six categories Financial Stability, Education, Health, Public Safety, Economy and Infrastructure were measured. Three of them - Public Safety, Financial Stability and the Economy - set off flashing red lights, tanking the overall score.