That’s just them expanding housing for the demand. Most of SF is actually really, really nice. The bad parts are extremely isolated, and those ‘poop map’ things are made up. The way it’s run is still shit and the prices are all bonkers and plenty of the folks living there were driven out by yuppies and wealthy elites and gays, but the city itself is actually still really nice.