I rear-ended a woman who did that to me. When she cut in front of me in my lane there was not nearly enough distance between us for me to fully stop when she then suddenly braked.
I'm not sure what I really was even supposed to even do in a situation like that — I suppose as soon as she cut over I should have just assumed the worst was coming and hit my brakes right away?