Double & Triple Barrel Stat

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

Double & Triple Barrel Stat

Postby Gigabet » Thu May 20, 2010 1:53 pm

Is there a way to make a stat that can show me all of the results where I was bluffing past the flop.

So the conditions would be, player bet flop, player has to bet the turn and if player sees river, player bets river. So the villain can fold on the turn or the river, but not the flop.

The hard part is gauging the strength of my hand. I have to have a hand that has little or no showdown value for this stat to work.

Is there a way to measure hand strength using something than poker rankings as a gauge? Maybe there could be a check for hand strength after each street, making sure that both of heroes hole cards were being used in the 5 card hand, if that comes back false then reevaluate hand strength after taking the high card away from the board. rinse and repeat until you find a 5 card hand that isn't a pair, the do the same for the river.


Will this work?
Gigabet
 
Posts: 9
Joined: Sun Feb 17, 2008 1:57 pm

Re: Double & Triple Barrel Stat

Postby kraada » Thu May 20, 2010 2:37 pm

This will work, it'll be a little tricky figuring out exactly which hand strength bits you want to look at is all. It might be easier to break this up into two stats one for bluffing the river having cbet the flop and turn, and one for bluffing the turn having cbet the flop

If you check for river cbetting in your stat (flg_r_cbet) then that implies a turn cbet. Similarly a turn cbet implies a flop cbet.

You'll want to take a look at the holdem_hand_player_combinations table in the database - it stores the value of your hand on any given street. You'll also want to take a look at this post which explains how id_x_hand_strength works.

Between the two you should be able to get everything you need, though one quick note: stats using the holdem_hand_player_combinations table do slow down HUD retrieval times - this is a known issue that we are going to be fixing but I don't know at this time exactly when a fix will be available.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Double & Triple Barrel Stat

Postby Gigabet » Thu May 20, 2010 3:43 pm

stats using the holdem_hand_player_combinations table do slow down HUD retrieval times - this is a known issue that we are going to be fixing but I don't know at this time exactly when a fix will be available.



Can you give an estimation of the type of slowdown that you are talking about? A few seconds or PT2 type slowdowns? Could my beast of a machine overcome the problem? Ihave also installed the entertainment db tuner to configure postgresql to myt machine

I was going to spend some real time trying to make a stat like this work, but I cannot deal with any extended slowdowns, especially while playing.

I am trying to find a way to test the table in question, but I don't know what to do. I read the post about id_x_hand_strength I didn't see anything about how to actually use it.
Gigabet
 
Posts: 9
Joined: Sun Feb 17, 2008 1:57 pm

Re: Double & Triple Barrel Stat

Postby kraada » Thu May 20, 2010 4:37 pm

It will get worse the more tables you play - if you play 4 and your computer really is quite good, you should be fine. If you play 24 and your "beast" of a computer was really best called that a couple of years ago, it's going to give you problems. My fairly decent computer (quad core, 8G ram) is a year old now and I time out when playing 9 tables. 6 I can handle.

As to how to use id_x_hand_strength: there are also flags in the holdem_hand_player_combinations table for hand strength, for example flg_f_1pair. If flg_f_1pair is true, the player had 1 pair on the flop, and thus id_f_hand_strength is based on the "one pair" group. If flg_f_threeoak is true the player had 3 of a kind on the flop and id_f_hand_strength is based on the "three of a kind" group, and so on.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Double & Triple Barrel Stat

Postby Gigabet » Thu May 20, 2010 6:50 pm

Tyvm,

I rarely play more the 4 games so I will go ahead and make this stat. My machine is just a few months old, so even if I decide to play more, I may not notice. You are awesome kraada, thank your for your help.
Gigabet
 
Posts: 9
Joined: Sun Feb 17, 2008 1:57 pm

Re: Double & Triple Barrel Stat

Postby kraada » Fri May 21, 2010 8:58 am

You're welcome, good luck and let me know how it goes.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


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

Who is online

Users browsing this forum: No registered users and 0 guests