![]() |
[TBA]: Incorrect qual points
Seems like TBA is incorrectly calculating the district qual points for each event. I'm not sure if its been noticed or if a fix is in the works or what TBA is even coded in, but I was messing around in php and got it running. If you'd like to steal the code and port it over to whatever you guys use, works for me.
PHP Code:
called with qual_points(n,r) where n=the number of teams at the event and r=rank the formula I'm using for inverf(x) comes from an approximation found on wikipedia ![]() These incorrect calculations currently up are messing with a project I'm currently working on with the API, so I don't know if there is anything else I can do to help sort it out but please let me know. |
Re: [TBA]: Incorrect qual points
Thanks for the reminder on this. TBA is written in python, and has an open issue for it. We'll get it corrected soon
|
Re: [TBA]: Incorrect qual points
Thanks. Our inverse error function indeed gets points off by 1 sometimes.
|
Re: [TBA]: Incorrect qual points
it is off by as much as 3 points in many places.
|
Re: [TBA]: Incorrect qual points
Converted over to python by a friend
Code:
def sign(x): |
| All times are GMT -5. The time now is 19:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi