Validation problem in custom stats

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Validation problem in custom stats

Postby Dan_Jazz_Man » Mon Mar 30, 2009 11:38 am

I can't validate a statement in a custom column in Holdem Cash Hand:
if[cnt_holecard > 0, 100, 0]
where cnt_holecard is defined as:
count(holdem_hand_player_statistics.id_holecard), and validates fine.
It worked fine with Beta 24, then stopped working with Beta 25
(still not working with Beta 26).
Dan_Jazz_Man
 
Posts: 476
Joined: Sun Feb 03, 2008 5:58 pm

Re: Validation problem in custom stats

Postby WhiteRider » Mon Mar 30, 2009 11:56 am

I think that this may be a genuine case where the stat isn't valid, but I will check with the development team.
Most stats in the Holdem Cash Hand section are for an individual hand, but cnt_holecards is based on a sum of all hands. Columns based on values of all hands cannot be used in a column for a single hand - it just doesn't make sense.
What is this column you're trying to build for?
You will probably need to use the actual database field (holdem_hand_player_statistics.id_holecard) in it..
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Validation problem in custom stats

Postby Dan_Jazz_Man » Tue Mar 31, 2009 11:15 am

This is in the "pocket pair hit flop" report that I constructed, based on alonalbert's "flopped sets" report
from the repository. You might want to take a look at that report to get an idea. It would be best if I could
just attach my report to this thread but there's no way I can do it. The column cnt_holecard (defined as "count(holdem_hand_player_statistics.id_holecard)" calculates the number of pocket pairs seeing the flop.

I've taken alonalbert's report a lot further, calculating confidence intervals. I built a column
cnt_holecard_sqrt, which calculated the square root of cnt_holecard. But then I've run into
a problem of having no way to calculate the square root of cnt_holecard's "summary" value,
and Kraada helped me out there by pointing me to a Babylonian method. it requires an initial
estimate of a square root and then approximates it from there. That's why I built another column
cnt_holecard_sqrt_g1 which has this statement that won't validate:
if[cnt_holecard > 0, 100, 0]
What it does is set the estimate of a square root to 100.

Again, the problem is that the statement in this column is evaluated and calculated correctly,
it's just that since Beta 25 I can't modify the statement because it just won't validate anymore.
But I need to modify it every once in a while, since as my DB grows I need to correct square root's
estimate value.
Dan_Jazz_Man
 
Posts: 476
Joined: Sun Feb 03, 2008 5:58 pm

Re: Validation problem in custom stats

Postby WhiteRider » Tue Mar 31, 2009 11:38 am

I thought it had probably come from there because I have that column too, from that same original report.
I remember the discussion about square roots - Kraada discussed it with me a little too.

Please attach your stat(s) to a Support ticket and I'll try to get the development team to comment on whether this is actually valid.
As I said, it's possible that this just isn't a valid way of doing things, but if it is we'll have to get this fixed in the validation code.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Validation problem in custom stats

Postby WhiteRider » Tue Mar 31, 2009 4:33 pm

This has been fixed for the next release - thanks.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Validation problem in custom stats

Postby Dan_Jazz_Man » Thu May 07, 2009 4:53 pm

Beta 27 fixed the validation problem but created a new one. Now I can modify the column and
it validates, but I can't save it!!! I hit Save --> the dialog "Save changes to this column?" comes up -->
I hit "Yes" --> the dialog "A column with this name already exists. Do you want to overwrite it?" comes up -->
I hit "Yes" --> the dialog "Save changes to this column?" comes up again, and so on and on in a loop.
Dan_Jazz_Man
 
Posts: 476
Joined: Sun Feb 03, 2008 5:58 pm

Re: Validation problem in custom stats

Postby kraada » Thu May 07, 2009 4:58 pm

Try saving it with a different name, then deleting the first column and renaming it and saving it again with the original name, then deleting the duplicate. I've seen this happen a few times in the past but it's always been isolated to specific stats and that sort of thing always fixed it for me.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Validation problem in custom stats

Postby Dan_Jazz_Man » Thu May 07, 2009 5:08 pm

I've tried duplicating the column and saving it under a different name. PT gets stuck in a "Save changes to this column?"
loop :(
Dan_Jazz_Man
 
Posts: 476
Joined: Sun Feb 03, 2008 5:58 pm

Re: Validation problem in custom stats

Postby kraada » Thu May 07, 2009 5:46 pm

What about if you copy the definition, click New paste it in and give it an entirely different definition?
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Validation problem in custom stats

Postby Dan_Jazz_Man » Wed May 13, 2009 7:24 am

kraada wrote:What about if you copy the definition, click New paste it in and give it an entirely different definition?

You mean, an entirely different NAME for the column?
Tried that, stuck in the same loop as with duplicating the column.
Dan_Jazz_Man
 
Posts: 476
Joined: Sun Feb 03, 2008 5:58 pm

Next

Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests