ANOTHER Ghost Rating formula (possibly) incorrect description!

Members can make suggestions for improving the site and improving the forum as well as submit bug reports to be reviewed by our support team here.
Post Reply
Message
Author
echidna
Posts: 52
Joined: Thu Nov 24, 2022 11:40 pm
Karma: 44
Contact:

ANOTHER Ghost Rating formula (possibly) incorrect description!

#1 Post by echidna » Tue Jul 25, 2023 1:59 am

The description of Ghost Rating calculations on page https://webdiplomacy.net/ghostRatings.php states:
expectedScore = yourGR / sumOfEachPlayersGR

However in the code, it seems to involve the ratings SQUARED:

$expectedResult[$userID] = $expectedSquare[$userID] / $expectedSum;
where
$expectedSquare[$userID] = $rating * $rating;
and
$expectedSum is the sum of all the players' $expectedSquare values.

My apologies in advance if I am misunderstanding the code.

Doug7878
Gold Donator
Gold Donator
Posts: 574
Joined: Wed Feb 07, 2018 11:05 am
Location: Massachusetts, USA
Karma: 136
Contact:

Re: ANOTHER Ghost Rating formula (possibly) incorrect description!

#2 Post by Doug7878 » Tue Jul 25, 2023 9:28 pm

Is it possible that this is the case only if the scoring system is SOS?, because I have calculated the expected changes in GRs a few times in DSS scoring and the GR changes made sense to me (not squared).

echidna
Posts: 52
Joined: Thu Nov 24, 2022 11:40 pm
Karma: 44
Contact:

Re: ANOTHER Ghost Rating formula (possibly) incorrect description!

#3 Post by echidna » Tue Jul 25, 2023 11:59 pm

You are correct - this is for case "Sum-of-squares". My apologies, I should have made that clear.

Post Reply

Who is online

Users browsing this forum: No registered users and 227 guests