I don't usually watch Ch 5 news, but this was on last night after Survivor...
Several years ago, the LA Times & dept of health did an expose on local restaurants that violated local health and food handling laws, assigning them grades and using the threat of public humiliation to get them to clean up their acts or be shut down.
Unfortunately, the gist of the KPIX report is that the SF Health Department doesn't close places down or enforce violations, so the same places have ongoing violations over a period of years. Worse they don't maintain a list of violators on their website or make it available to the public, so there's no way to tell except by using your own eyes and sneaking a peek at restaurant kitchens and bathrooms to get an idea about food handling.
Singled out in this story for food poisoning incidents, roach or rodent infestations, or mishandling of meat/seafood usually at room temperature were:
Great India (mentioned on this board, where I recently had lunch), Irving Seafood Market, Sweet Delight Bakery, Kan's, and Moonstar.
Perhaps the Health Department will be persuaded to take a more active role in encouraging public health than merely administering flu shots to travelers. Currently, they refer complaints about food poisoning to the department of communicable diseases, which is perhaps missing the point.
Sorry to broach such an unpleasant topic--I'd rather be posting about Japanese sweets or what constitutes an "SF" style restaurant!