Canonical way of detecting an all-in from SB by BB?
Let's say we are heads-up and BB is facing an all-in from SB. This could be a shove where SB has the smaller stack and would put him all-in as well as shoves where BB has the smaller stack as well as normal raises from SB that would put BB all-in if called. It seems to me by looking at specific hands on the database that at least on the last case enum_face_allin is set to 'N' so it won't detect this situation.
So this is what I'm thinking of using:
lookup_positions.flg_bb AND (tourney_hand_player_statistics.enum_face_allin = 'P' OR tourney_hand_player_statistics.amt_p_raise_facing >= (tourney_hand_player_statistics.amt_before - tourney_blinds.amt_bb)) AND tourney_hand_player_statistics.cnt_players < 3
Does that look like it would catch all the above mentioned situations or could there be some scenario that I'm missing?
So this is what I'm thinking of using:
lookup_positions.flg_bb AND (tourney_hand_player_statistics.enum_face_allin = 'P' OR tourney_hand_player_statistics.amt_p_raise_facing >= (tourney_hand_player_statistics.amt_before - tourney_blinds.amt_bb)) AND tourney_hand_player_statistics.cnt_players < 3
Does that look like it would catch all the above mentioned situations or could there be some scenario that I'm missing?
