Hi, I looked at the details of GhostRatings, described on page https://webdiplomacy.net/ghostRatings.php
I believe the formula listed there:
ratingAdjustment = x * (expectedScore - actualScore)
is INCORRECT!
It should read:
ratingAdjustment = x * (actualScore - expectedScore)
I found the piece of code:
$grAdjustment[$userID] = (($grSum / $this->modvalue) * ($actualResult[$userID]-$expectedResult[$userID]));
this clearly shows actual... - expected...
Ghost Rating formula incorrectly listed on /ghostRatings.php
-
- Gold Donator
- Posts: 577
- Joined: Wed Feb 07, 2018 11:05 am
- Location: Massachusetts, USA
- Contact:
Re: Ghost Rating formula incorrectly listed on /ghostRatings.php
The (inquisitive) force is strong with this one. Yes, its clearly stated in reverse.
Can you fix the info page? If not, I guess you would send it to kestas. ( ? )
Can you fix the info page? If not, I guess you would send it to kestas. ( ? )
-
- Site Moderator
- Posts: 406
- Joined: Tue Nov 13, 2018 8:56 am
- Location: My Mountains, the highest in Europe
- Contact:
Re: Ghost Rating formula incorrectly listed on /ghostRatings.php
(newer members info):
Squigs44 has been a very active and important member of this site, and contributed some nice pieces of code, including the full Ghost Rating system.
We are happy that he reversed Actual and Expected in the explanation, not in the code
Squigs44 has been a very active and important member of this site, and contributed some nice pieces of code, including the full Ghost Rating system.
We are happy that he reversed Actual and Expected in the explanation, not in the code

Re: Ghost Rating formula incorrectly listed on /ghostRatings.php
While I appreciate the work, if Ghost Rating still encourages people to drop out of a game before they lose, and never help out a stalled game by taking up a doomed position, then I think it must still be considered a "work in progress".
Re: Ghost Rating formula incorrectly listed on /ghostRatings.php
Restore PPSC and restore the practice of betting on joining games in progress. Problem solved without touching the Ghost Rating code!
See my full Profile:
http://www.webdiplomacy.net/profile.php?userID=17421
http://www.webdiplomacy.net/profile.php?userID=17421
Who is online
Users browsing this forum: No registered users