-
-
Save amalloy/faebd4509ad922a982d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gokostats.server> (let [[pro cas] (map normalize [pro-freqs casual-freqs]) | |
diffs (map (fn [card] | |
[card (/ (double (get pro card)) | |
(double (get cas card)))]) | |
(keys pro))] | |
(clojure.pprint/pprint (sort-by second diffs))) | |
(["king's court" 0.7208965506749341] | |
["grand market" 0.733825111483308] | |
["island" 0.7691915297998996] | |
["talisman" 0.7781281214481097] | |
["explorer" 0.7855762934619708] | |
["wharf" 0.7883419837649903] | |
["harem" 0.8029291794660959] | |
["worker's village" 0.8162310464119863] | |
["treasure map" 0.8265201021424845] | |
["lighthouse" 0.8272640446286614] | |
["peddler" 0.8374895755650549] | |
["apprentice" 0.8375548896282691] | |
["caravan" 0.8387538230262817] | |
["fishing village" 0.8404031621833595] | |
["cutpurse" 0.8424135302195978] | |
["bank" 0.8441466061129067] | |
["scout" 0.8460863906945811] | |
["fortress" 0.8484090989906684] | |
["quarry" 0.8503754513399403] | |
["great hall" 0.8543895894217488] | |
["steward" 0.8596056430812223] | |
["nobles" 0.8624623385718243] | |
["warehouse" 0.8664302149097387] | |
["upgrade" 0.8671626157676504] | |
["monument" 0.8703507136197375] | |
["lookout" 0.8764799439973412] | |
["goons" 0.8791421349694318] | |
["city" 0.8794738867184769] | |
["haven" 0.887739423986483] | |
["outpost" 0.8884235699681257] | |
["highway" 0.8898543710677989] | |
["masquerade" 0.8947116750696539] | |
["smugglers" 0.9005712245093116] | |
["counting house" 0.9020993560033506] | |
["salvager" 0.9053293475004361] | |
["ironworks" 0.9064784790907455] | |
["ambassador" 0.9068689253800061] | |
["pearl diver" 0.9131867666390535] | |
["navigator" 0.9183556690472051] | |
["bandit camp" 0.9184605520610295] | |
["shanty town" 0.9188756051264132] | |
["tactician" 0.9219045886425092] | |
["wandering minstrel" 0.9256753326250232] | |
["procession" 0.9267987991184534] | |
["treasury" 0.9345908853392894] | |
["embassy" 0.9389238001473533] | |
["haggler" 0.9408572123326245] | |
["knights" 0.942526138651618] | |
["torturer" 0.9428799397547155] | |
["mining village" 0.9463592015250282] | |
["alchemist" 0.9476307624273124] | |
["embargo" 0.950304191248847] | |
["bazaar" 0.9628517556469559] | |
["hoard" 0.9633007898315541] | |
["mint" 0.9643607210142038] | |
["conspirator" 0.9649073343586719] | |
["swindler" 0.9655966407705767] | |
["sea hag" 0.9656129807820968] | |
["baron" 0.9670563484663749] | |
["golem" 0.967056348466375] | |
["pawn" 0.967056348466375] | |
["pirate ship" 0.9677862023142741] | |
["secret chamber" 0.9737257025937291] | |
["venture" 0.9740387047729913] | |
["coppersmith" 0.9763773735118341] | |
["altar" 0.9778014190048901] | |
["ghost ship" 0.9795850137096638] | |
["oasis" 0.9804876866395191] | |
["jester" 0.980801311794831] | |
["expand" 0.9812448199882754] | |
["mountebank" 0.9822684708018009] | |
["royal seal" 0.984512239232916] | |
["squire" 0.9858341416404794] | |
["rats" 0.9901502314148257] | |
["stables" 0.9935510429449058] | |
["silk road" 0.9938658313941555] | |
["trader" 0.9975949699968921] | |
["hunting grounds" 1.0011877490004824] | |
["crossroads" 1.0017244062415847] | |
["native village" 1.0026098906894034] | |
["trading post" 1.0043404486482113] | |
["transmute" 1.0116897183955922] | |
["rabble" 1.0120872166010688] | |
["horn of plenty" 1.0154091658896938] | |
["tribute" 1.015940515531708] | |
["jackofalltrades" 1.0174332373167163] | |
["bridge" 1.0194546207338757] | |
["bishop" 1.0201222563966599] | |
["develop" 1.0240993035832857] | |
["wishing well" 1.0269043639941053] | |
["contraband" 1.0277784912770545] | |
["tunnel" 1.0306057656513083] | |
["hunting party" 1.0363245706355944] | |
["trade route" 1.0485327494788963] | |
["fool's gold" 1.0525171420517756] | |
["ill-gotten gains" 1.0541871679816621] | |
["noble brigand" 1.0579010357465497] | |
["counterfeit" 1.058618066565851] | |
["herbalist" 1.0599320571804725] | |
["storeroom" 1.0613321934927453] | |
["ironmonger" 1.0651635142528189] | |
["apothecary" 1.0659351436466447] | |
["oracle" 1.0666062666908547] | |
["farmland" 1.0669702271230905] | |
["vault" 1.068506033324357] | |
["harvest" 1.0688517535680986] | |
["tournament" 1.0688517535680986] | |
["urchin" 1.0695120480876774] | |
["catacombs" 1.0716563208515133] | |
["merchant ship" 1.0721192603985243] | |
["forager" 1.0771361668556325] | |
["minion" 1.0811194049521524] | |
["courtyard" 1.0845720566344408] | |
["farming village" 1.0858661284208153] | |
["vagrant" 1.0864582037362027] | |
["scheme" 1.0882992339457414] | |
["scrying pool" 1.0883141911238168] | |
["loan" 1.0920660715608088] | |
["graverobber" 1.0925378063649387] | |
["fortune teller" 1.096321166904594] | |
["border village" 1.096918200974717] | |
["market square" 1.0976588037747206] | |
["count" 1.1012600866208924] | |
["junk dealer" 1.102732910788523] | |
["menagerie" 1.1128155662062347] | |
["potion" 1.1137821392681702] | |
["cartographer" 1.1138156536105184] | |
["beggar" 1.1147349041435062] | |
["vineyard" 1.1163193935557503] | |
["band of misfits" 1.118378119055414] | |
["duke" 1.1195700809557856] | |
["feodum" 1.1254786447478011] | |
["duchess" 1.128232406544104] | |
["young witch" 1.128394392532122] | |
["inn" 1.1305586589287313] | |
["sage" 1.1308638523902712] | |
["forge" 1.131677390991567] | |
["spice merchant" 1.1355113252960016] | |
["margrave" 1.1416492243516556] | |
["hamlet" 1.1465196900567696] | |
["mystic" 1.1539113039327593] | |
["watchtower" 1.1627793066420398] | |
["remake" 1.163412967444319] | |
["university" 1.1667745073887785] | |
["nomad camp" 1.1669870991605469] | |
["horse traders" 1.1694867965391291] | |
["poor house" 1.1723698501407744] | |
["possession" 1.183676970522843] | |
["scavenger" 1.1852904549117282] | |
["rebuild" 1.1886952088716416] | |
["saboteur" 1.1894793086136413] | |
["marauder" 1.1904797117327446] | |
["armory" 1.2016864133401841] | |
["hermit" 1.2090905630546076] | |
["philosopher's stone" 1.209849218932401] | |
["fairgrounds" 1.216922799583633] | |
["ruins" 1.221956750143061] | |
["familiar" 1.2238811492066253] | |
["cache" 1.2285397410125904] | |
["death cart" 1.2494982026216337] | |
["cultist" 1.252417238177764] | |
["rogue" 1.262861819761972] | |
["mandarin" 1.2936360333582981] | |
["pillage" 1.2989325044173354]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment