San Francisco has some problems. For a glimpse behind the scenes, check out the ongoing FBI corruption probe: https://sfist.com/2020/07/15/ongoing-fbi-corruption-probe-hi...
However, before we go asking the commies how to run governments, there are perhaps some other, less authoritarian, countries who also get things done that we might look at?