Tourney Checkbehind BB in HU

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Tourney Checkbehind BB in HU

Postby js2002 » Mon Apr 19, 2010 11:59 am

Hi,

in bold its the added code to the not bold standard columns.

Checkbehind BB
(cnt_p_check_bb / cnt_bb_facing_check) * 100

sum(if[substring(
lookup_actions_p.action from 1 for 1)='X'
AND tourney_holdem_hand_player_statistics.flg_blind_b, 1, 0])
_____________________
sum( if[
tourney_holdem_hand_player_statistics.flg_blind_b
and tourney_holdem_hand_player_statistics.flg_blind_s = false
AND tourney_holdem_hand_player_statistics.flg_p_open_opp
AND NOT(tourney_holdem_hand_player_statistics.flg_f_face_raise)
, 1, 0])

I have the stat RWPC to get how often a player in BB punishes my SB limp.
This introduced stat should show the times the didnt punish my limp with the correct denominator. I cant take cnt_bb because walks (aka openfolds from the sb) would increase the denuminator +1. So I had to change it and add:

AND tourney_holdem_hand_player_statistics.flg_p_open_opp
AND NOT(tourney_holdem_hand_player_statistics.flg_f_face_raise)

Case 1: SB steals -> bäm, filtered out in denominator because of the "face raise". filtered out in the nomiator because of "no X (check) possible"
Case 2: SB limps -> I hope this is a open_opp for the BB correct?! then it should work for denumerator and numerator.
Case 3: SB openfolds -> due to the fact that the BB here has no open_opp the should also work and count nothing up. Correct?!

Furthermore I am think if this stat would work for fullring games...let me think it....
done: I thinks this stat is generalized enough and should work. Could u plz verify it?
So the question is "does open_opp filter correctly what I want"?
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: Tourney Checkbehind BB in HU

Postby js2002 » Mon Apr 19, 2010 12:58 pm

I use (cnt_p_check_bb / cnt_p_facing_limpers) * 100 now because in BB open_opp is always FALSE.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: Tourney Checkbehind BB in HU

Postby WhiteRider » Mon Apr 19, 2010 2:26 pm

The big blind can never open the preflop betting - if no one has entered the pot before them then they can't act (they just win the pot).
Heads-up your new expression (cnt_p_check_bb / cnt_p_facing_limpers) * 100 will be fine, but to make it general you would need to make facing-limpers check for the BB too. In fact, heads-up you could just use cnt_p_check, because you can't check from the SB preflop.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Tourney Checkbehind BB in HU

Postby js2002 » Mon Apr 19, 2010 7:05 pm

ah I see for general I need "bb check" in the denumerator, tu 4 advice
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: Tourney Checkbehind BB in HU

Postby WhiteRider » Tue Apr 20, 2010 3:06 am

One thing to correct, although this doesn't apply to tournaments - if someone posts a penalty blind and checks and everyone else folds then the BB can open the preflop action.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Tourney Checkbehind BB in HU

Postby js2002 » Tue Apr 20, 2010 3:59 am

subgroup and unimportant but thank think with us!

Question: How do I difference the count of players preflop? f.e. I want to separate the stat ala "Checkbehing in BB with (only) 1 Limper" 2 3 4 etc

Understand?!
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: Tourney Checkbehind BB in HU

Postby WhiteRider » Tue Apr 20, 2010 6:02 am

You can't do that unless you see the flop. Correction, you can't do it simply.

If you check behind then the number of limpers the BB faced was "cnt_f_saw - 1", but if the BB raises and any of the limpers fold (or there is no flop) then you lose that information.

If the BB raises then you could work out the number of limpers using the amount of the raise the BB makes compared to the percentage of the pot that they raise. Take a look at this thread for more info on using those database fields.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Tourney Checkbehind BB in HU

Postby js2002 » Tue Apr 20, 2010 6:28 am

Well project died! :)
The HU stat is enough for me.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests