Clarity on Positions

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

Clarity on Positions

Postby joshuadzl » Sat Jul 10, 2010 1:57 am

I've noticed that in all the SB statistics, it looks as follows:

holdem_hand_player_statistics.flg_blind_b = false AND holdem_hand_player_statistics.flg_blind_s

Why is it that I have to do that for the SB and vice versa for BB instead of just doing:

holdem_hand_player_statistics.flg_blind_s
holdem_hand_player_statistics.flg_blind_b

Apologies if I've missed this in documentation!
joshuadzl
 
Posts: 15
Joined: Fri Jun 11, 2010 5:17 pm

Re: Clarity on Positions

Postby kraada » Sat Jul 10, 2010 8:42 am

I'm not sure the reasoning behind this but I'll see what I can find out. You should just be able to test for the small blind or the big blind and it should work properly.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Clarity on Positions

Postby joshuadzl » Sat Jul 10, 2010 2:57 pm

Thanks for the response Kraada.

I'm trying to create a total AFq stat for the Small blind and Big Blind. What is the best way to go about it? Will I need to first create cnt_f_bet_sb, cnt_f_raise_sb etc etc or is there I way I can do something like holdem_hand_player_statistics.flg_blind_s AND ((total afq formula).

Thanks,
Joshua
joshuadzl
 
Posts: 15
Joined: Fri Jun 11, 2010 5:17 pm

Re: Clarity on Positions

Postby kraada » Sat Jul 10, 2010 4:02 pm

Joshua,

Unfortunately you will need to create all of the individual columns for the small blind at this point in time.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Clarity on Positions

Postby joshuadzl » Fri Jul 16, 2010 2:11 pm

Kraada,

Before I start making all of my heads up specific stats, I want to ensure I'm getting the purest data possible. My first question is there a way I can ensure the polling sample of these statistics is for heads up? If not, is there a way I can can configure my stats to ensure they're heads up scenarios and not say six max scenarios?

I don't want to go through all these then have to re-do it, so I suppose I'm asking more for your opinion on how you feel the best way to go about it would be rather than the actual stats.

Thanks for your time
joshuadzl
 
Posts: 15
Joined: Fri Jun 11, 2010 5:17 pm

Re: Clarity on Positions

Postby kraada » Fri Jul 16, 2010 3:29 pm

If on the Hud Options tab you have the player range 2 to 2 set, you'll only ever see heads up data while heads up.

If you want to build the stats specifically for heads up hands only in addition to that, you can add the condition holdem_hand_summary.cnt_players = 2 to your column definition and that will limit things to only two handed situations - but if you set the player range up, this shouldn't be necessary.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Clarity on Positions

Postby joshuadzl » Fri Jul 16, 2010 5:24 pm

Is there a rush flag yet?
joshuadzl
 
Posts: 15
Joined: Fri Jun 11, 2010 5:17 pm

Re: Clarity on Positions

Postby kraada » Fri Jul 16, 2010 6:17 pm

Rush should always be importing into its own limit in 3.06.2 or newer, so if you want to only see rush hands when playing rush you want to enable the "Show Stats from Current Limit Only" checkbox on the Hud Options tab.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Clarity on Positions

Postby joshuadzl » Fri Jul 16, 2010 6:18 pm

Can't seem to edit my last post or I would.

Is there any way to display two statistics in one value? For example, I'd like to do a limp stat that also has the limp\call percentage in it and have it display something like the following (say villain limps 56% of the time and calls 85% when raised): 56(85)

I'd like to do it in one value rather than having to put two values on the hud for space purposes.
joshuadzl
 
Posts: 15
Joined: Fri Jun 11, 2010 5:17 pm

Re: Clarity on Positions

Postby joshuadzl » Fri Jul 16, 2010 7:13 pm

kraada wrote:Joshua,

Unfortunately you will need to create all of the individual columns for the small blind at this point in time.


Variables for the total AFq are formatted in two different ways.

Example:
cnt_f_bet is: sum(if[holdem_hand_player_statistics.flg_f_bet, 1, 0])
cnt_f_call is: sum(holdem_hand_player_statistics.cnt_f_call)

I've created a new column for every stat used to create the AFq stat and now I'm trying to ensure I create the positional specific stat correctly.

For cnt_f_bet I did the following:
SB_cnt_f_bet: sum(if[holdem_hand_player_statistics.flg_blind_s AND holdem_hand_player_statistics.flg_f_bet, 1, 0])

I believe that will work correctly. Now I'm not clear on the cnt_f_call. I was going to do the following:
SB_cnt_f_call: sum(if[holdem_hand_player_statistics.flg_blind_s AND holdem_hand_player_statistics.cnt_f_call])

Not valid though. I'm stumped how to do the the non boolean flags.
joshuadzl
 
Posts: 15
Joined: Fri Jun 11, 2010 5:17 pm

Next

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

Who is online

Users browsing this forum: No registered users and 0 guests