1

##### Help Me / Re: WSOP POY Formula

« Last post by**efdenny**on

*April 21, 2018, 05:33:43 PM*»

Thanks again for your help!! I really appreciate it...

1

Thanks again for your help!! I really appreciate it...

2

Dangit, I just came to the same conclusion but didn't look to see that you had figured it out first.

Also, you wanted it rounded, which I omitted. So just take the close parentheses off the end of the first line (after the assigns) and put it at the end:

`assign("p", n - 9)`

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125)

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <= 9 + p20 + p30), 47.745 * pow(n, 0.125))

+ if(r > 9 + p20 + p30, 23.875 * pow(n, 0.125)))

Also, you wanted it rounded, which I omitted. So just take the close parentheses off the end of the first line (after the assigns) and put it at the end:

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125)

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <= 9 + p20 + p30), 47.745 * pow(n, 0.125))

+ if(r > 9 + p20 + p30, 23.875 * pow(n, 0.125)))

3

I figured it out... you don't actually need "p" in the last two parts of the formula:

assign("p", n - 9)

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125))

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <=**9 + p20 + p30**), 47.745 * pow(n, 0.125))

+ if(r >**9 + p20 + p30**, 23.875 * pow(n, 0.125))

assign("p", n - 9)

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125))

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <=

+ if(r >

4

LOL! Much closer... just a bit off though.

As an example, for a 21 person tournament, taking the top 9 out because those are correct, the scores should have been:

10 & 11: 140

12-15: 70

16-21: 35

However, with this formula, 12-21 are all getting 70. Thoughts?

As an example, for a 21 person tournament, taking the top 9 out because those are correct, the scores should have been:

10 & 11: 140

12-15: 70

16-21: 35

However, with this formula, 12-21 are all getting 70. Thoughts?

5

Would you believe I worked on this and tested it to the extent that it didn't error, but didn't really see if the values were correct? I would.

The variable names in the "assign" statements need quotes:

`assign("p", n - 9)`

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125))

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <= p + 9 + p20 + p30), 47.745 * pow(n, 0.125))

+ if(r > p + 9 + p20 + p30, 23.875 * pow(n, 0.125))

The variable names in the "assign" statements need quotes:

assign("p20", round(p * .2))

assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125))

+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))

+ if((r > 9 + p20) and (r <= p + 9 + p20 + p30), 47.745 * pow(n, 0.125))

+ if(r > p + 9 + p20 + p30, 23.875 * pow(n, 0.125))

6

Player seating is recorded in the tournament history at tournament start. There are preferences to record accepted player movement suggestions and manual player movement in the tournament history, but those are relatively recent additions.

Keep in mind that this is recorded in what is essentially a human readable log, not a program friendly format. It certainly*could* be kept, but there has not been, historically, much interest in this.

Keep in mind that this is recorded in what is essentially a human readable log, not a program friendly format. It certainly

7

I've seen a couple of other posts asking similar questions. If the data is there, why not include this into the program?

8

Not quite there... not sure what's missing, but it's only assigning points to the top 9.

9

Some, in a couple of sessions, but I've not really come to any conclusions. Other than I suspect the simple size of your DB could be an issue. When you add players from the DB, the entire list is rendered (thousands of players). Buy in 100 players, one at a time, and that list of 1000s is displayed 100 times. This should not be a problem, but we're talking about Internet Explorer here. I imagine that's exploiting an IE memory leak.

10

Hi Coorey,

did you have time to look into the files I sent you?

did you have time to look into the files I sent you?