As someone that commutes to work via foot (for 20 years, 4 miles round trip), living across from SF, what you describe is by far the exception. The rule? Rude and dangerous drivers not yielding to legally crossing pedestrians.
I would put the ratio of bad pedestrians to bad drivers at 1:1000.
I would put the ratio of bad pedestrians to bad drivers at 1:1000.