Dominion Strategy Forum

Dominion => Dominion General Discussion => Dominion Online at Shuffle iT => Topic started by: SettingFraming on April 07, 2017, 04:49:33 pm

Title: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 07, 2017, 04:49:33 pm
First things first just go play around, as that's better than my description will be: Dominion Scavenger (http://dominion.lauxnet.com/scavenger/)

Stef was kind enough to grant me database access in order to make my Ratings Estimator (http://forum.dominionstrategy.com/index.php?topic=17144.0) much more accurate, and also not make you guys keep track of your own results. So I built a tool that has a bunch of features, and should be way more useful than that ratings estimator thing.

Live Glicko Rankings
(https://i.imgur.com/XhJygeS.png)

Live Results History

(https://i.imgur.com/3nj2Bin.png)

Features:
1) Live Ratings. As soon as you complete games, you can click "Get Glicko Estimate" and receive info about what your ranking would be if the period ended now.
2) Opponent information and Expected Win% information. You can see your implied chances of beating any given player, as well as detailed information about players you've played today.
3) Games History. You can view past results, with all of the above opponent information included.
4) A graph of your level changes over time.

Features to come, probably:
1) A graph of your level change over time.
2) A "compare players" feature.
3) Game Id's included so you can find old games to load up and replay.
4) A top "X" (100?) leaderboard that's updated throughout the day.
5) Make tables sortable.

6) Other stuff that people point out to me as useful.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Awaclus on April 07, 2017, 05:36:09 pm
Why is the title of the page "Dominion Sparkle"?

Great work by the way, this is super useful.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: tufftaeh on April 07, 2017, 06:11:44 pm
"X Win %" is using your current level, right? So you see now the "real" expected win percentage, not what Glicko-2 thought then. (Else, all games on day 1 would need to have 50%.)

Great work by the way, this is super useful.
+1
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 07, 2017, 06:29:28 pm
Why is the title of the page "Dominion Sparkle"?

Great work by the way, this is super useful.

I've asked for naming suggestions of several different things over the past few months, and sparkle has been involved a lot. As for this website, maybe I should just call it Dominion Scavenger instead. So hey, maybe next time I edit something it might be that. Glad you like the tool!

"X Win %" is using your current level, right? So you see now the "real" expected win percentage, not what Glicko-2 thought then. (Else, all games on day 1 would need to have 50%.)

That's right, and it's calculated based upon your current mu only (rating deviation is not used for implied win%, which is consistent with the internals of Glicko-2). While it's technically possible to go back and retrieve what your Expected Win% was on the day of each match played, it is (A) computationally a lot more expensive/difficult for me to program, and (B) arguably not as useful and nice to look at as current level comparisons anyways.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: DG on April 07, 2017, 09:42:10 pm
I've asked for naming suggestions of several different things over the past few months, and sparkle has been involved a lot. As for this website, maybe I should just call it Dominion Scavenger instead.

Until it has full functionality it should be Dominion Chancellor.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Mr Anderson on April 08, 2017, 02:34:03 am
Thank you for this, it is very easy to use and gives good information.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Awaclus on April 08, 2017, 06:05:29 am
Feature request: being able to type the username directly into the URL so that I can bookmark my own results.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 08, 2017, 10:38:15 am
Feature request: being able to type the username directly into the URL so that I can bookmark my own results.

This is done. Once you've navigated somewhere you can copy the URL and then all the things that you would expect to work should.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: LucasMcL on April 09, 2017, 02:06:50 am
This is great.  I was hoping somebody had made a tool like this.  Being able to see your history is really nice.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Kirian on April 09, 2017, 03:36:18 am
Why is the title of the page "Dominion Sparkle"?

Great work by the way, this is super useful.

Because Twilight Sparkle is the best and everyone wants to be like her.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 09, 2017, 09:36:02 pm
New feature up: chart of your level changes over time now appears on the Glicko estimate page.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: diedre91 on April 10, 2017, 02:22:06 pm
Thanks! That tool is neat!
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: tufftaeh on April 12, 2017, 12:20:06 pm
Wins / Losses doesn't seem to work anymore?
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Rabid on April 12, 2017, 04:54:11 pm
Working for me.
Is it because you haven't played any games today?
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Cuzz on April 13, 2017, 11:22:19 am
Is there a way to easily see your all-time W/L record?
Also a full leaderboard list would be interesting.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 13, 2017, 03:39:57 pm
Is there a way to easily see your all-time W/L record?
Also a full leaderboard list would be interesting.

I'm going to add expected/actual W/L to the "Get Last Results" screen soon, so you can see it there by just typing in a high number. It's currently limited to 1,000 results, but I might eventually bump that up. You can expect this pretty soon.
EDIT: This has been done.

Full leaderboard is on my list of things to do. I just need to cache the results so I'm not hitting the DB for everything each time there is a request to see it. Not sure when you can expect this.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Awaclus on April 20, 2017, 06:49:16 am
Feature request: keep track of win rates as 1st and 2nd player, respectively.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 20, 2017, 10:07:54 am
Feature request: keep track of win rates as 1st and 2nd player, respectively.

I don't have access to this information (the only way would be logs, and logs are not machine-readable by anything except the client itself right now), so this won't be happening until if/when I do.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 21, 2017, 02:26:46 am
Leaderboards are now available at: http://dominion.lauxnet.com/leaderboard/

The in-game client has had some trouble updating the leaderboard display the past few days, but this display is up to date.

The default is a leaderboard of the top 1,000 players; there is also a full leaderboard option which has everyone that has ever played a ranked game on the client.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: tufftaeh on April 21, 2017, 08:06:21 am
Nice work! Funny that it is exactly 7999 players now.
Feature requests:
1) Mark players ('*') who have played only a single opponent (and maybe remove them from the "partial"/"top" leaderboard) or add a column "number of different opponents".
2) Make the leaderboard sortable by column (at least µ and games in addition to level).
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on April 26, 2017, 10:16:35 am
New feature up: Live Leaderboard.

It's updated instantly throughout the day, and available at: http://dominion.lauxnet.com/live_leaderboard/
Due to performance concerns I've limited it to only the top 100 players, so it's really just for watching the top of the race. I may make a live leaderboard that contains more players, but it would require me to throttle/cache the results.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: heron on August 20, 2017, 11:58:26 pm
Thanks a lot for making this tool!
Just fyi, it looks like something went wrong with the leaderboard today and a lot of players are missing.

Edit: Seems this is fixed with today's leaderboard update. Must have been a fluke.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: KingPeter on September 18, 2017, 09:57:57 pm
I use this website all the time to see where I'm going to be after the next leaderboard update.

I think it would be helpful to have your current rank on the learderboard displayed on your page.  I know this is available elsewhere, but if you want all the ranking information in one place, that would be included.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Cave-o-sapien on September 25, 2017, 04:47:59 pm
This is a fantastic resource that I use with almost every session. Much appreciated.

A couple questions:

1) It seems that the Y axis labels on the ranking over time chart is rounding in an unexpected way.

2) Is there a way to see the ranking over time over a longer period?
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Shvegait on October 04, 2017, 11:23:53 pm
Bug report: Win shows up as Loss?

Game #7462423

Score was 45-43, Dominion Online said I won, Scavenger shows a loss.

The last card that was gained was a Gardens for the losing player, who ended up with 29 cards in their deck according to the end-game screen.

Does Scavenger pull the Win/Loss info directly from Dominion Online? If so, I'll report the bug on the Shuffle.it forums, but thought I would check to see if it was a Scavenger bug first.

Title: Re: Dominion Scavenger: Live Rankings and More
Post by: markus on October 05, 2017, 03:49:07 am
Scavenger draws the results from the database, so you did lose that game. If I load the last decision as your opponent and buy a copper, he gets to 30 cards and wins the game. Most likely, you haven't noticed that as the game ends immediately afterwards. I would be surprised, if you actually saw a "You Win" screen.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Shvegait on October 05, 2017, 06:42:33 pm
Thanks! Makes sense now. I thought I saw a "You Win" screen but I probably just wasn't paying attention. I think I got confused when I tried re-loading the game (haven't done it before), and the game immediately ended. It's because Lord Rattington doesn't realize he should buy a Copper. It's very hard to see what happened on the last turn of the game once it ends.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on October 06, 2017, 01:34:13 am
Thank you, everyone, for your kindness.

This is a fantastic resource that I use with almost every session. Much appreciated.

A couple questions:

1) It seems that the Y axis labels on the ranking over time chart is rounding in an unexpected way.

2) Is there a way to see the ranking over time over a longer period?

1. Yes it was rounding a bit too aggressively (and it was truncating instead of rounding). This has been fixed now.
2. I changed it to 60 days now instead of 14. Ideally it would be configurable, and there's no reason it isn't except for the fact that I haven't done it.

I use this website all the time to see where I'm going to be after the next leaderboard update.

I think it would be helpful to have your current rank on the learderboard displayed on your page.  I know this is available elsewhere, but if you want all the ranking information in one place, that would be included.

Yeah that would be nice--it wouldn't be too hard to put the daily leaderboard position on your page. The live leaderboard would be a little tougher since (A) it's only for the top 200 right now, and (B) I have to load a lot of stuff for the live leaderboard updates so I'd have to be smart about how I do that to avoid too much server traffic.

Thanks a lot for making this tool!
Just fyi, it looks like something went wrong with the leaderboard today and a lot of players are missing.

Edit: Seems this is fixed with today's leaderboard update. Must have been a fluke.

I cache those leaderboards every day, and sometimes a partial copy gets cached. I've done some things to try to mitigate this issue, but it shows up from time to time. Usually if someone pings me on discord it's easy enough for me to clear the server cache and fix it. I'm way more active on the Discord than I am on this forum.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Cave-o-sapien on October 19, 2017, 01:42:18 pm
Thank you, everyone, for your kindness.

This is a fantastic resource that I use with almost every session. Much appreciated.

A couple questions:

1) It seems that the Y axis labels on the ranking over time chart is rounding in an unexpected way.

2) Is there a way to see the ranking over time over a longer period?

1. Yes it was rounding a bit too aggressively (and it was truncating instead of rounding). This has been fixed now.
2. I changed it to 60 days now instead of 14. Ideally it would be configurable, and there's no reason it isn't except for the fact that I haven't done it.


Looks great! I love seeing the shape of the graph over the longer time frame.

New request: would it be possible to query head-to-head matchups between any two users?
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on October 19, 2017, 05:04:30 pm
New request: would it be possible to find query head-to-head matchups between any two users?

I actually implemented this a little while ago, but it's too intensive on the database because it has to search back through all of the results indefinitely in order to locate the results between two players and the database just isn't built for that (there are a lot of results! Evidently gokosalvager had a similar thing at one point, and it was removed for similar reasons.). If I do a "compare players" feature it would just be something that gives X win%'s and the like, but that's not too high on my priority list of things to do.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: dedicateddan on October 19, 2017, 06:40:17 pm
New request: would it be possible to find query head-to-head matchups between any two users?
... that's not too high on my priority list of things to do.

Like 3-player! ;)
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Cave-o-sapien on October 20, 2017, 01:37:27 pm
the database just isn't built for that

This seems like the key phrase here. It seems like it should be possible to mine this sort of historical meta data into a separate structure that IS optimized for such queries. Obviously this isn't something YOU can/should do, but it would be a cool thing to have.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: SettingFraming on October 23, 2017, 07:21:39 pm
Like 3-player! ;)

3-player is actually the next thing I plan to do at this point for the site. I wish there was a noble reason, but really it's just been that I've actually recently caught myself enjoying 3-player Dominion.

No idea when I will finish it, because I haven't started. It's not that hard to do on the backend because the database stores results in such a way that I should basically just be able re-use all the two player code, but making the interface easy to toggle between 2-and-3 player will be the trickier part.

Quote from: Cave-o-sapien
This seems like the key phrase here. It seems like it should be possible to mine this sort of historical meta data into a separate structure that IS optimized for such queries. Obviously this isn't something YOU can/should do, but it would be a cool thing to have.

That's right, it's theoretically possible to partition/index/build to make lookups like this fast, but it isn't really practical to do so in this case. You would have to either build another index against the table or use a data store that's more optimized for these sorts of look ups, and that's too much work to make something like this possible (as well as, as you mention, largely out of my hands).


Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Dingan on November 08, 2017, 03:56:06 pm
Just curious, what is the Champion's Belt (http://dominion.lauxnet.com/champions_belt/)?
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Awaclus on November 08, 2017, 04:37:27 pm
Just curious, what is the Champion's Belt (http://dominion.lauxnet.com/champions_belt/)?

Stef had it, then whoever beat Stef got it, then whoever beat that person got it, etc.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: yed on February 18, 2018, 03:04:18 am
Bugrrport: Stef's game against should16 shows in lates games as 423 days ago.
http://dominion.lauxnet.com/scavenger/?user=Stef&num_results=10
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: markus on February 18, 2018, 04:36:57 am
Bugrrport: Stef's game against should16 shows in lates games as 423 days ago.
http://dominion.lauxnet.com/scavenger/?user=Stef&num_results=10
This means that the game doesn't count for the ranking as the user has been banned.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: JW on March 05, 2018, 07:25:36 pm
The main leaderboard now does not show any ranking for "alt" accounts of several (high ranking) players on the main leaderboard. In a previous version, these accounts appeared but were labeled as alts and did not received numbered places on the leaderboard. Other than anagrams of "Dan Brooks", how were these identified? http://dominion.lauxnet.com/leaderboard/
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: samath on March 06, 2018, 03:51:16 pm
Based on a discussion on Discord, by word of mouth, mostly. If you have more to report, I'm sure breppert would love to know.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: cascadestyler on June 28, 2018, 10:59:27 am
Has this gone down? I've not been able to use it today or yesterday.
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Gasku on December 27, 2018, 12:27:45 pm
This is up again, great tool, great work!
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: yed on January 10, 2019, 02:49:10 am
Does the level history graph work for anyone?
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: mark on February 09, 2019, 03:32:28 pm
Not working  for me with Safari and Vivaldi on macOS
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: Jeebus on February 12, 2019, 01:44:17 pm
The graph is not working for me in any browser in Windows 7. Is it supposed to be there?
Title: Re: Dominion Scavenger: Live Rankings and More
Post by: markus on February 12, 2019, 06:13:02 pm
I believe that when breppert put scavenger back up, he excluded ther graph as it would need some work. There's a version with a longer horizon provided by the discord bot.