HU "fold to deplayed steal attempt"

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

HU "fold to deplayed steal attempt"

Postby js2002 » Thu May 13, 2010 3:38 am

Hi,

definition: HU SNG Game, SB limps in, BB checks twice, SB bets, BB folds => 1/1

So lets think about the BB.

check_p AND saw flop AND face_bet AND flop action from 1 to 1 = 'F'

correct?! Good idea?

EDIT: if I add player count = 2, the stat would work 4 FR games I guess?!


Denumerator:
sum(if[lookup_actions_p.action LIKE '%X' AND tourney_holdem_hand_player_detail.amt_f_bet_facing > 0 AND substring(lookup_actions_f.action from 1 for 1) = 'F' AND tourney_holdem_hand_summary.cnt_players_f = 2, 1, 0])
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: HU "fold to deplayed steal attempt"

Postby kraada » Thu May 13, 2010 9:19 am

You can actually replace substring(lookup_actions_f.action from 1 for 1) = 'F' with lookup_actions_f.action = 'F' - when you know the whole string exactly and want nothing else you can use =. It's a fairly minor point but on a very large database if you were doing a full cache rebuild the change will probably save you a minute or two.

Otherwise everything looks good. I don't play HU so I can't say whether it's a particularly great stat there. For FR I suspect you'll need far too many hands before the sample gets any good - especially since the players playing a ton of hands are less likely to get in that exact spot.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: HU "fold to deplayed steal attempt"

Postby js2002 » Thu May 13, 2010 11:02 am

thx
I built it for HU now and it is as usefull as the FoldBB to Steal.
Because und HU openlimps are sometimes veryusefull on stakes up to 33$.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: HU "fold to deplayed steal attempt"

Postby js2002 » Tue May 25, 2010 9:22 am

http://rapidshare.com/files/391429203/Desktop.zip.html

FAILS!

Can u lookup the stat and find why the numerator is always zero?

I posted a HU SNG with some delayed steals and the stat.
I ll search a hand # now and post it soon.

EDIT:

Code: Select all
PokerStars Game #44589645103: Tournament #276329795, $2.00+$0.20 USD Hold'em Limit - Match Round I, Level III (30/60) - 2010/05/25 15:02:01 CET [2010/05/25 9:02:01 ET]
Table '276329795 1' 2-max Seat #1 is the button
Seat 1: js2002 (2440 in chips)
Seat 2: Raul Longo (560 in chips)
js2002: posts small blind 15
Raul Longo: posts big blind 30
*** HOLE CARDS ***
Dealt to js2002 [6h 7d]
js2002: calls 15
Raul Longo: checks
*** FLOP *** [Ks 2h Js]
Raul Longo: checks
js2002: bets 30
Raul Longo: folds
Uncalled bet (30) returned to js2002
js2002 collected 60 from pot
js2002: doesn't show hand
*** SUMMARY ***
Total pot 60 | Rake 0
Board [Ks 2h Js]
Seat 1: js2002 (button) (small blind) collected (60)
Seat 2: Raul Longo (big blind) folded on the Flop


f.e. this hand should count as "fold to delayed steal" for villian

sum(if[lookup_actions_p.action LIKE '%X' AND tourney_holdem_hand_player_detail.amt_f_bet_facing > 0 AND substring(lookup_actions_f.action from 1 for 1) = 'F' AND tourney_holdem_hand_summary.cnt_players_f = 2, 1, 0])
__________________
sum(if[lookup_actions_p.action LIKE '%X' AND tourney_holdem_hand_player_detail.amt_f_bet_facing > 0 AND tourney_holdem_hand_summary.cnt_players_f = 2, 1, 0])

So the only difference is: substring(lookup_actions_f.action from 1 for 1) = 'F'
I ll try to use the value mentioned above...

is substring malfunctional?

Ah I see now: the flop action is check fold for villian! How do I do that?? putting in XF doesnt work :(
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: HU "fold to deplayed steal attempt"

Postby js2002 » Tue May 25, 2010 9:49 am

lookup_actions_f.action = 'XF'
works now.

U have to restart PT3 !!! wtf
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: HU "fold to deplayed steal attempt"

Postby WhiteRider » Tue May 25, 2010 10:35 am

You should only need to start/stop Auto Import for new stats to appear in the HUD, but using the HUD in the Replayer means that the HUD is never "unloaded" so that does mean you need to restart PT3.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


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

Who is online

Users browsing this forum: No registered users and 0 guests