Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1] 2  All

Author Topic: New Councilroom feature: card conditional winning stats  (Read 17353 times)

0 Members and 1 Guest are viewing this topic.

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
New Councilroom feature: card conditional winning stats
« on: January 15, 2012, 06:05:43 pm »
+5

This thing currently sucks, but hey, the perfect is the enemy of the crappy.  And/or real artists ship.  Alternatively, better now than never.  You get the point.

http://councilroom.com/supply_win

There are some bugs in the stats with the cards that are in every set (estate, gold, duchy, etc).

The UI is a terrible, painful, undesigned mess.

You can't post stable links to how your page looks.

But the stats might be interesting!  And the frontend is all javascript and there is an JSON API to get at the raw data, so some dedicated people could design a useful interface without having to run the councilroom backend.

First insight?  It looks like Remodel helps FG more than Mint does, despite Remodel's general mediocrity and the crazy strength of the Mint/FG opening.  This supports WW and Fabian's play in one of the tournament games.


Name        Condition     %+    Per gain      Any gain         Num gained
Fool's Gold None         64.6   1.02 ± 0      0.97 ± 0        2.7   
Fool's Gold Remodel      74.9   1.06 ± 0.01   0.98 ± 0.01     3.32   
Fool's Gold Mint         69.3   1.06 ± 0.01   0.97 ± 0.01     3.15   


I'd love suggestions for a good way to interact with the data.
Logged

Qvist

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2400
  • Shuffle iT Username: Qvist
  • Respect: +4085
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #1 on: January 16, 2012, 06:47:52 am »
0

Thanks for this. This is really nice already. I will look further into this later.
I'm still not sure about the difference between "Per gain" and "Any gain", especially with constraints.
So, when I have 8 Fool's Gold and my opponent 2 and I win. This basically means 16/10 for "per gain" and 1.0 for "any gain" right?
And when I have Fool's Gold + Remodel: "Per Gain" relates to FG or to both? "Any Gain" relates to "gained at least one of both" right?

One further addition I like to have: When I have a constraint set, additional 2 columns would be nice: "Per gain difference (PGD)" and "Any gain difference (AGD)"
So, in your example: "Fool's Gold + Remodel" would have a PGD of +0.04 and a AGD of +0.01
With these columns, sorting would be better with constraints.

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1490
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #2 on: January 16, 2012, 06:54:12 am »
0

First thanks.
How much work would it be to add the price and the expansion to the list, so that you can sort the cards by this dates?
Logged

chwhite

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1065
  • Respect: +442
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #3 on: January 16, 2012, 10:37:27 am »
0

All I see when I click on the link is "This contains a very poor interface to card winning stats that depend on having up to two other cards available in the supply."

What am I missing?
Logged
To discard or not to discard?  That is the question.

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1490
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #4 on: January 16, 2012, 10:41:54 am »
0

Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4381
    • View Profile
    • WanderingWinder YouTube Page
Re: New Councilroom feature: card conditional winning stats
« Reply #5 on: January 16, 2012, 10:49:38 am »
0

Yup. I get just that for about 3 seconds at first too, then the familiar javascript UI pops up. Not that I've really figured out what I'm doing with it yet... but that will come with time.

jsh357

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2577
  • Shuffle iT Username: jsh357
  • Respect: +4340
    • View Profile
    • JSH Gaming: Original games
Re: New Councilroom feature: card conditional winning stats
« Reply #6 on: January 16, 2012, 10:54:02 am »
0

All I see when I click on the link is "This contains a very poor interface to card winning stats that depend on having up to two other cards available in the supply."

What am I missing?

For me it only works in Chrome
Logged
Join the Dominion community Discord channel! Chat in text and voice; enter dumb tournaments; spy on top players!

https://discord.gg/2rDpJ4N

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #7 on: January 16, 2012, 11:07:35 am »
0

I haven't tested this on browsers besides Chrome.  Probably getting it working in Firefox shouldn't be that bad.  IE and Safari are a pain though.
Logged

DStu

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2627
  • Respect: +1490
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #8 on: January 16, 2012, 11:08:53 am »
0

I haven't tested this on browsers besides Chrome.  Probably getting it working in Firefox shouldn't be that bad.  IE and Safari are a pain though.

FF 9.0.1 works (with NoScript disabled)
Logged

chwhite

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1065
  • Respect: +442
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #9 on: January 16, 2012, 11:36:16 am »
0

I haven't tested this on browsers besides Chrome.  Probably getting it working in Firefox shouldn't be that bad.  IE and Safari are a pain though.

I'm on Firefox... but it's an old version.  Guess I should update.
Logged
To discard or not to discard?  That is the question.

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #10 on: January 16, 2012, 08:33:11 pm »
0

Quote
Availability: The number of games in which the card is present, multiplied by the number of players in each game. It represents the number of "decks" that could have purchased that card.
%+: Percentage of times the named card was gained at least once.
Per Gain: This is win rate on the card on a per gain basis. If player 1 bought the card 5 times and won, and player 2 bought the card 3 times and lost, then this would count as 5 wins and 3 losses in two player games, giving a win rate of 5 * 2 / (5 + 3) = 10 / 8 = 1.25.
Any Gain: This is a win rate that does not include multiple gains of a card in the same game. In the above 5 winning vs 3 losing example, the card would have a win rate of 1, because both players purchased it.
Num Gained: The average number of the card gained per player.

I added some descriptions of the stats to the page, and a loading message before the data arrives.
Logged

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #11 on: January 16, 2012, 08:34:19 pm »
0

I want to add general card filtering like on the win graph pages, and I can add expansion version to that filtering mechanism so it will work in both places.
Logged

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #12 on: January 16, 2012, 08:35:29 pm »
0

The conditions refer to the card merely being available in the supply.  Even if the conditional card was never purchased, the stats still count.

In the long run, if the conditional card wasn't purchased and there is no "threat avoidance" interaction (I'll skip remodel if there is a possession available, even if my opp doesn't buy it), then the conditional stats should look a lot like the unconditional stats, and that's fine with me.
Logged

theory

  • Administrator
  • *****
  • Offline Offline
  • Posts: 3603
  • Respect: +6121
    • View Profile
    • Dominion Strategy
Re: New Councilroom feature: card conditional winning stats
« Reply #13 on: February 29, 2012, 03:38:12 am »
0

This has now been made considerably nicer and even has a crude "card quality" measure.

Logged

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #14 on: February 29, 2012, 10:53:56 am »
+1

Now you guys can grab links:

http://councilroom.com/supply_win?&targets=Jack%20of%20all%20Trades&interaction=true&nested=false&unconditional=true


Find which cards help Treasure Map the most by sorting by change in quality:
http://councilroom.com/supply_win?&targets=Treasure%20Map&interaction=true&nested=false&unconditional=true
Chapel, Warehouse, Haven, Steward, Remodel (?), Courtyard, Tactician, Ambassador.  That list seems pretty good/reasonable.

See which two card combo from Cornucopia helps Library the most by sorting by change in quality (it seems pretty wrong, I probably need to make the ranking function better, but it says Hunting Party/Hamlet):
http://councilroom.com/supply_win?&targets=Library&interaction=Expansion%3D%3D%22Cornucopia%22&nested=true&unconditional=true

See what up to 3 card combos look the best from your most recent game:
http://councilroom.com/supply_win?&targets=Bank%2CBureaucrat%2CContraband%2CFortune%20Teller%2CMinion%2CMint%2CPotion%2CSteward%2CUniversity%2CVillage%2CWorker's%20Village&interaction=Bank%2CBureaucrat%2CContraband%2CFortune%20Teller%2CMinion%2CMint%2CPotion%2CSteward%2CUniversity%2CVillage%2CWorker's%20Village&nested=true&unconditional=true
Logged

Axxle

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1664
  • Most Valuable Serial Killer
  • Respect: +1965
    • View Profile
Logged
We might be from all over the world, but "we all talk this one language  : +1 card + 1 action +1 buy , gain , discard, trash... " - RTT

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #16 on: February 29, 2012, 03:11:51 pm »
+1

Heh, if people start playing better because they use supply_win (needs a sexier name!) before every game they played on iso, even just because it rarely prevents them from missing obvious combos, I have no problem with that.

I'd totally be happy competing against hybrid human/computer systems in an attempt to improve the level of dominion play.  If it ever gets to the point that computers totally dominate humans at Dominion, then maybe I'll reconsider.
Logged

Insomniac

  • Jester
  • *****
  • Offline Offline
  • Posts: 785
  • Respect: +392
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #17 on: February 29, 2012, 03:56:25 pm »
+1

Just as I suspected according to the graphs Jack of all trades is .01 better with counting house than without. Wait..what...
« Last Edit: February 29, 2012, 03:59:33 pm by Insomniac »
Logged
"It is one of [Insomniacs] badges of pride that he will bus anyone, at any time, and he has done it over and over on day 1. I am completely serious, it is like the biggest part of his meta." - Dsell

tko

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 129
  • Respect: +1
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #18 on: February 29, 2012, 04:04:01 pm »
0

Just as I suspected according to the graphs Jack of all trades is .01 better with counting house than without. Wait..what...
Maybe against Mountebank or Ambassador?
Logged

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #19 on: February 29, 2012, 04:42:44 pm »
0

Re counting house/jack: can't tell if joking.
Logged

Insomniac

  • Jester
  • *****
  • Offline Offline
  • Posts: 785
  • Respect: +392
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #20 on: February 29, 2012, 04:51:07 pm »
0

I am joking I hate counting house except with chancelor and even then big money is probably just better. But on the graphs Counting Room/Jack is higher than just Jack. If I'm missing something please let me know
Logged
"It is one of [Insomniacs] badges of pride that he will bus anyone, at any time, and he has done it over and over on day 1. I am completely serious, it is like the biggest part of his meta." - Dsell

Razzishi

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 216
  • Shuffle iT Username: Eye Urn
  • Respect: +120
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #21 on: February 29, 2012, 06:26:58 pm »
0

Both links to these forums on that page go to this thread.  The first is probably supposed to go elsewhere.
Logged
Stop reading my signature.

rrenaud

  • Administrator
  • *****
  • Offline Offline
  • Posts: 991
  • Uncivilized Barbarian of Statistics
  • Respect: +1197
    • View Profile
    • CouncilRoom
Re: New Councilroom feature: card conditional winning stats
« Reply #22 on: February 29, 2012, 06:29:02 pm »
0

yeah, i suck at HTML :P.  it was supposed to go to qvist's card ranking page.
Logged

Razzishi

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 216
  • Shuffle iT Username: Eye Urn
  • Respect: +120
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #23 on: February 29, 2012, 06:38:40 pm »
0

I needed the links in this thread to figure out that, unlike in standard English, when you separate cards with a comma in the entry boxes you do not put a space after the comma.  That is, you put in "Chapel,Remake" and not "Chapel, Remake".  Might be useful to put an example up that makes this clear.
Logged
Stop reading my signature.

Razzishi

  • Conspirator
  • ****
  • Offline Offline
  • Posts: 216
  • Shuffle iT Username: Eye Urn
  • Respect: +120
    • View Profile
Re: New Councilroom feature: card conditional winning stats
« Reply #24 on: February 29, 2012, 07:10:31 pm »
+1

A bit of experimenting and it seems that there's some code for the biconditional data that compares the two cards alphabetically, presumably to make sure that only one pair gets displayed.  This code has run amok and has prevented a lot of biconditionals from being displayed.  For instance, "Upgrade,Develop,Chapel,Remake,Salvager,Apprentice" as conditions will only list Upgrade/Salvager, Upgrade/Remake, Salvager/Remake, and Develop/Chapel, in that order, and no other biconditionals.  It doesn't seem to matter what order the conditions are in either, many biconditionals just don't show up and the ones that do show up always have the one that is later alphabetically listed first.

I put together one of each letter to see where the problem might be: Adventurer,Bank,Chapel,Develop,Forge,Gardens,Haven,Island,Jester,King's Court,Library,Monument,Native Village,Outpost,Pawn,Quarry,Rabble,Smithy,Tunnel,Upgrade,Vault,Workshop,Young Witch

Y: WVUTSRQPONA (Where's most of the beginning of the alphabet?)
W: VUTSRQPONA
and similar until
M: LKJIHGFEDCBA (This looks good!)
L: KJIHGFEDCBA
and similar until
H: GFEDCA (where'd B go?)
G: FEDCA
And similar until the end.

Something screwy is happening between A and B such that A always shows up, and B doesn't for most of the alphabet.  Something also is happening between N and M such that cards on different sides of the divide are only put together unless one is A.  More to come....

edit: Adventurer and Alchemist appear to be the only ones that always appear.  Starting from Ambassador they don't.

Bazaar through Ambassador are not showing up for Bishop forward. 

Things are just really screwy; there might be a pattern in what is or isn't showing up but it's starting to get really weird as I look at more and more combinations.  Ambassador shows back up on Conspirator; Apothecary and Apprentice are back on by Ghost Ship; Bank is back on by Inn.
« Last Edit: February 29, 2012, 07:26:19 pm by Razzishi »
Logged
Stop reading my signature.
Pages: [1] 2  All
 

Page created in 0.244 seconds with 22 queries.