emtichenor / cube-tournament

Program that simulates a double elimination Rubik's Cube tournament and can simulate an entire season with many tournaments.
2 stars 0 forks source link

Negative Consistency? #57

Closed emtichenor closed 2 years ago

emtichenor commented 2 years ago

Some players have a negative consistency value

emtichenor commented 2 years ago

So it seems (for all uses we care about) that a negative std dev is the same as a positive one. We probably want to just absolute value every time we run random.gauss just so there isnt confusion when looking at the roster files.

Might be worth looking into handling cases where some part of the values are under 0 in a different way but maybe thats just on the user for putting in dumb values.

Also should absolute value the score generator so we dont get negative times.

emtichenor commented 2 years ago

Closed with minimal effort. Just added abs() to a few places. May need to revisit in the future if some rosters dont produce playable tournaments because their values are too close to 0