The 'pattern' is that she is a woman. Stuff like this happens to women all the time, regardless of their behavior.
Its not the behavior of the women that is at fault, it is the man's.
Its not the behavior of the women that is at fault, it is the man's.
I'm not saying that her behavior is at fault (100% the man's fault), but I'm suggesting that PERHAPS there is something she could have done differently to avoid what happened, and if so, it would be worthwhile to determine what that possible thing is.
The only way to avoid it is tell a woman to never be attractive. Never be friendly to men. Don't ever smile at them. And god forbid, don't flirt with them.
Don't get drunk and try to have fun. When us guys get wasted, the worst thing we have to worry about is one of our friends shaving our eyebrows, not some strange dude trying to fuck us.