amt_rake_bb

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

amt_rake_bb

Postby poompah » Thu Nov 06, 2008 8:21 am

The amt_rake_bb stat appears to be wildly incorrect.

For example, when I run a custom report showing total rake $ (amt_rake) and total rake in BB (amt_rake_BB) the numbers bear no resemblance to each other.
Formatting is:
Rake: format_money(amt_rake, false)
Rake in BB: format_number(amt_rake_bb,2,true,true)

From playing 25NL and 50NL tables I have figures:

25NL Total Rake $786.10 / Rake in BB 10,439.70 (36,802 hands); should be 786.10/0.50
50NL Total Rake $966.30 / Rake in BB 6,843.75 (24.623 hands); should be 966.30/1.00

This seems a pretty straightforward calculation.

FWIW I play on Stars.
poompah
 
Posts: 36
Joined: Tue Mar 18, 2008 7:43 am

Re: amt_rake_bb

Postby poompah » Thu Nov 06, 2008 9:34 am

The amt_rake_bb stat I am using is calculated as follows:

sum(holdem_hand_summary.amt_rake / (holdem_limit.amt_bb *holdem_limit.val_nlpl_mult))

Presumably the problem is here - I thought the amt_rake_bb was a standard stat - but it was imported along with a report from the repository.
poompah
 
Posts: 36
Joined: Tue Mar 18, 2008 7:43 am

Re: amt_rake_bb

Postby kraada » Thu Nov 06, 2008 10:40 am

That indeed does look pretty off.

What report did you import in order to get that stat?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: amt_rake_bb

Postby poompah » Thu Nov 06, 2008 5:36 pm

Not one of yours! :)

It was "Detailed Results per Limit inkl Pokersars VPP" by Michael_M112
poompah
 
Posts: 36
Joined: Tue Mar 18, 2008 7:43 am

Re: amt_rake_bb

Postby kraada » Thu Nov 06, 2008 5:44 pm

Flattery will get you everywhere ;)

I'll take import that report later and try and figure out what's causing the statistic to be so broken.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: amt_rake_bb

Postby poompah » Wed Nov 12, 2008 10:20 am

The report is def. off but I have resolved the problem by replacing the existing custom stat for amt_rake_bb (above), with the standard (non-custom) PT3 script for calculating the amount of rake. As follows, for the "Amount Rake in BB" column:

sum(( if[holdem_hand_player_statistics.flg_won_hand, holdem_hand_summary.amt_rake, 0]) / (holdem_limit.amt_bb *holdem_limit.val_nlpl_mult))

Where the script in blue is just the standard amt_rake (i.e. not custom) stat for PT3, and replaces the holdem_hand_summary.amt_rake in the custom report.

The numbers generated are now exactly correct across limits. I should point out that the VPP numbers are spot on for this report; VPP exactly agreeing with my account in Stars. I also love the VPP/100 column as this clearly shows how much value I am getting (effective RakeBack) over the different limits. So, it's still a really useful report, just moreso now it is corrected.

I will PM Michael_M112 and point out what I have found. The original report in the repository def. needs correcting.

:D
poompah
 
Posts: 36
Joined: Tue Mar 18, 2008 7:43 am

Re: amt_rake_bb

Postby kraada » Wed Nov 12, 2008 10:37 am

Thanks for all your hard work!

If you don't hear back from him please let me know and I'll look into getting the broken report removed. Also if you'll post a corrected version in the repository, and let me know once you have, I'll look into getting that one approved more quickly.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: amt_rake_bb

Postby guru » Wed Nov 19, 2008 7:55 pm

I submitted the report "Detailed Results per Limit incl. Poker Stars VPP v2" some days ago, which is essiantially Michael_M112's version with the rake in bb/100 fixed (same fix as above) and the additional stats mgr and mgr in bb/100.
guru
 
Posts: 11
Joined: Wed May 14, 2008 3:54 pm

Re: amt_rake_bb

Postby WhiteRider » Thu Nov 20, 2008 5:24 am

Thanks - I'll see if I can get this accepted for you..
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: amt_rake_bb

Postby guru » Thu Nov 20, 2008 3:34 pm

Oh, it's already in the repository.
guru
 
Posts: 11
Joined: Wed May 14, 2008 3:54 pm

Next

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

Who is online

Users browsing this forum: No registered users and 70 guests

cron