I think what Muni in SF has done with putting cameras and microphones everywhere has kept the thug problem under control. I used to ride Muni a lot before that and would regularly watch and overhear people graffiting, planning some sort of gang violence, screaming in ecstacy while obviously extremely high after refilling their opioid prescription at sf general, openly smoking their crack rocks across from me, etc. That's why people don't ride public transit.
Both Muni and BART are also getting more crowded due to the new California law[0] that exempts juveniles from fare evasion enforcement; they can effectively ride anywhere for free, now.
[0] SB882 (Hertzberg) This one change costs BART alone $25 million per year (Matier & Ross, SF Chronicle, May 8 2017, page C1)
I’ve been harassed a few times in Portland and that stabbing that happened a while ago stopped
Me from using the max trains completely. There’s like no law enforcement on them.