Page 1 of 5

Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 5:43 pm
by jmo1121109
What?
We are very happy to announce that as of today Ghost Ratings are fully integrated into the site. Along with this change comes a redesign to profile pages. This is the largest set of server-side changes we have ever brought to the site and we're very excited about this.

Your Ghost Ratings will now be calculated as soon as a game finishes for each category, and you will no longer have to wait till the end of the month to see your score change.

Over the next several weeks we will be adding some additional integrations, such as a more detailed breakdown stats page for each category.

Who?
Over the past year, Squigs44 took the lead on integrating Ghost Ratings into the site, ensuring that the past game history matched with the integrated categories, and solving for some existing bugs in the GR code. I redesigned the profile page. bo_sox48 created the new GR description page and helped with testing both the profile and GR changes.

Where can I see GR Info?
You can find your Ghost Rankings displayed on your profile! You can also see Overall Ghost Rating information on the Hall of Fame page.

What are Ghost Ratings?
Find out here: https://www.webdiplomacy.net/ghostRatings.php

Why do some of the scores not match perfectly?
During integration of GhostRatings into our codebase, several instances of the GR code not behaving as advertised were found and corrected. The following explains why some categories will show a different score than seen on the current Ghost Ratings site.
  1. Gunboat Category: The old GR scripts were written prior to Rulebook press being created. The gunboat category has included Rulebook press games since it became an option on webDip. This has been corrected so the gunboat category no longer includes Rulebook press.
  2. Full Press Category: On the GR website, the full press category was named “DSS/SoS, Classic Map, Full Press, Non-Live” but actually included variants and not just classic games. This has been corrected and this category is now limited to classic, full press only.
  3. 1v1 categories: All GR categories were supposed to filter out any games that ended before 3 full turns were completed. This filter did not make it into any of the 1v1 categories. This filter has been added to all 1v1 categories as expected.
  4. Overall 1v1: When the 1v1 variants were originally introduced, GR was reworked so that any 1v1 games were calculated into a single category. That script was later reworked to separate out FvA from GvI. When this change was made, the script departed from the original design and used a weighted average to calculate the 1v1 overall rating, rather than the Elo based rating that was originally implemented. The 1v1 overall category has been corrected to its original design and uses an Elo system.
Note that since GR is an Elo based ranking system, these corrections will propagate throughout the rankings. That means if one person played in a Rulebook press game that changed their Gunboat GR, that affects the GR of anyone that they played in gunboat afterwards, and then those people affect other people, etc. This means that the GR scoring here will not always match the GR that was historically calculated, though in many cases it will be close. The 1v1 categories are the most affected by these discrepancies, especially the overall category.

Notes:
The chart on the new profile page is a test of a new charting library we're giving a shot. If having it creates problems once it's being heavily used we may remove it.

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 5:48 pm
by bo_sox48
Part of integrating the Ghost Ratings live into the site means yall will no longer get to see me post cringey, low effort memes once a month and I no longer have any regularly scheduled +1 whoring opportunities. I'm gonna miss it.

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 5:53 pm
by Chaqa
This is amazing!

Thanks guys!

Is there still a page to see overall GR rankings? Charts over time and such?

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 5:54 pm
by bo_sox48
Yes. Header changes and new links are incoming for the pages we already have built, as is a page with a ton of detail for tracking GR changes over time.

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 5:56 pm
by RoganJosh
Very nice!

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 5:59 pm
by RoganJosh
(You might wanna [re]move the link to the old GR in the Games menu)

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 6:01 pm
by Squigs44
I was told to post here for +1s

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 7:07 pm
by President Eden
Hmm so that means I have an active GR even after just completing the couple of gunboat games huh? Let's check--
Position: 69
Nice.



Thanks for this update! This is awesome. Take all my +1s!

EDIT: LOL this ghost rating history over time is shameful. I've fallen so far :cry:
Very cool add-on though!!!

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 7:23 pm
by pyxxy
This is amazing. Y'all are actually the best people.

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 7:53 pm
by cdngooner
Thanks to the amazing mod team at WebDiplomacy for all the time they put into making this site work.

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 8:42 pm
by Peregrine Falcon
Squigs, jmo, bo, y'all are amazing. webDip is so lucky to have you.

I assume people no longer drop off the rating anymore after inactivity?

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 10:13 pm
by DipPlayer88
Wow wow this is amazing. You guys are the best

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 10:46 pm
by jmo1121109
Peregrine Falcon wrote:
Sun Nov 01, 2020 8:42 pm
Squigs, jmo, bo, y'all are amazing. webDip is so lucky to have you.

I assume people no longer drop off the rating anymore after inactivity?
The hall of fame shows a version with drop off, future details page will show more

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 11:10 pm
by Yonni
Awesome job all around. Thank you all for how much effort you put into the site.

I was going through the HoF and stumbled on Bearnstien. How is GR handling banned players? Perhaps that should at least be scrubbed from the rankings.

edit: It also says that MM has a peak GR of 771 all-tie but a peak of 1037 over the past 6-months. Am I reading this wrong or does that make no sense?

Re: Development Update - Ghost Ratings and Profiles

Posted: Sun Nov 01, 2020 11:42 pm
by MadMarx
You guys are relentless, extremely impressive and much appreciated, thanks to all involved!

Yonni, looks like the “Overall Peak Ghost Rating” link in the HoF should maybe be “Current Ghost Rating” as my current is listed there rather than peak?

Re: Development Update - Ghost Ratings and Profiles

Posted: Mon Nov 02, 2020 12:20 am
by jmo1121109
MadMarx wrote:
Sun Nov 01, 2020 11:42 pm
You guys are relentless, extremely impressive and much appreciated, thanks to all involved!

Yonni, looks like the “Overall Peak Ghost Rating” link in the HoF should maybe be “Current Ghost Rating” as my current is listed there rather than peak?
At one point I started moving the rating to peakRating while coding this and apparently never finished, so that's all been moved to Peak rating as titled now.

Re: Development Update - Ghost Ratings and Profiles

Posted: Mon Nov 02, 2020 12:23 am
by jmo1121109
Yonni wrote:
Sun Nov 01, 2020 11:10 pm
Awesome job all around. Thank you all for how much effort you put into the site.

I was going through the HoF and stumbled on Bearnstien. How is GR handling banned players? Perhaps that should at least be scrubbed from the rankings.

edit: It also says that MM has a peak GR of 771 all-tie but a peak of 1037 over the past 6-months. Am I reading this wrong or does that make no sense?
Good point, I'll tie in the banned data sometime this week and have those removed.

Re: Development Update - Ghost Ratings and Profiles

Posted: Mon Nov 02, 2020 12:35 am
by Peregrine Falcon
jmo1121109 wrote:
Sun Nov 01, 2020 10:46 pm
Peregrine Falcon wrote:
Sun Nov 01, 2020 8:42 pm
Squigs, jmo, bo, y'all are amazing. webDip is so lucky to have you.

I assume people no longer drop off the rating anymore after inactivity?
The hall of fame shows a version with drop off, future details page will show more
Ah, amazing! I totally forgot the Hall of Game existed lol
jmo1121109 wrote:
Mon Nov 02, 2020 12:20 am
MadMarx wrote:
Sun Nov 01, 2020 11:42 pm
You guys are relentless, extremely impressive and much appreciated, thanks to all involved!

Yonni, looks like the “Overall Peak Ghost Rating” link in the HoF should maybe be “Current Ghost Rating” as my current is listed there rather than peak?
At one point I started moving the rating to peakRating while coding this and apparently never finished, so that's all been moved to Peak rating as titled now.
Is there going to be a current GR section on the HoF page at some point as well?

Re: Development Update - Ghost Ratings and Profiles

Posted: Mon Nov 02, 2020 12:41 am
by A_Tin_Can
Nice work Squigs! Great to see this happen!

Re: Development Update - Ghost Ratings and Profiles

Posted: Mon Nov 02, 2020 1:04 am
by chluke
Thank you jmo, squigs, and bo. Appreciate all your hard work. Instant and automated ratings is a pretty cool upgrade!