I’ve seen someone take a shit on the sidewalk in the Marina (chestnut street). And I’ve seen similar stuff in the sunset. And to the OP I see this stuff fairly often in the financial district.
Anywhere near Market is mid to high levels of gross for sure. I think in FiDi and the East Cut companies pay for private cleaning services (and perhaps some private pseudo-policing as well) but these areas are directly adjacent to highly distressed parts of the city.