Won at showdown after river bet, custom stat

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Won at showdown after river bet, custom stat

Postby Opperwezen » Tue Nov 24, 2026 11:40 am

Hi there,

Does this look right for the creation of a WSD stat for when villain wins at showdown after he bets river?:

cnt_r_bet_called_wtsd_won

sum(if[tourney_hand_player_statistics.flg_r_bet AND tourney_hand_player_statistics.flg_showdown AND tourney_hand_player_statistics.flg_won_hand, 1, 0])

cnt_r_bet_called_wtsd

sum(if[tourney_hand_player_statistics.flg_r_bet AND tourney_hand_player_statistics.flg_showdown, 1, 0])

W$SD After River Bet

(cnt_r_bet_called_wtsd_won / cnt_r_bet_called_wtsd) * 100

Thanks in advance.
Opperwezen
 
Posts: 20
Joined: Thu Nov 09, 2023 7:20 pm

Re: Won at showdown after river bet, custom stat

Postby Flag_Hippo » Wed Nov 25, 2026 8:45 am

Your expressions count every hand where the player bet the river and went to showdown, which matches your description. That includes hands where the player bet, was raised and then called the raise.

However, the column names say 'bet called', which suggests you only want hands where the river bet itself was called, not raised. If so, the expressions need an extra condition to exclude the raised hands. If not, the logic is fine and the column names should be changed to match.
Flag_Hippo
Moderator
 
Posts: 17141
Joined: Tue Jan 31, 2012 7:50 am

Re: Won at showdown after river bet, custom stat

Postby Opperwezen » Fri Nov 27, 2026 6:48 am

Flag_Hippo wrote:Your expressions count every hand where the player bet the river and went to showdown, which matches your description. That includes hands where the player bet, was raised and then called the raise.

However, the column names say 'bet called', which suggests you only want hands where the river bet itself was called, not raised. If so, the expressions need an extra condition to exclude the raised hands. If not, the logic is fine and the column names should be changed to match.

Hi Hippo, thanks for all your help.

sum(if[tourney_hand_player_statistics.flg_r_bet
AND tourney_hand_player_statistics.flg_showdown
AND tourney_hand_player_statistics.flg_won_hand
AND lookup_actions_r.action = 'B', 1, 0])

I believe this added condition at the bottom will only include hands where the river is bet and will exclude hands where the river is raised. Does the expression look correct now?

Thanks,
Tim
Opperwezen
 
Posts: 20
Joined: Thu Nov 09, 2023 7:20 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 0 guests