Dominion Strategy Forum

Meta => Feedback => Council Room Feedback => Topic started by: WanderingWinder on September 06, 2011, 10:16:40 am

Title: Game Search Quirk
Post by: WanderingWinder on September 06, 2011, 10:16:40 am
What order do the games in the game search results appear in? I always assumed it was in order of recency, but when I did a search for a post this morning, this game http://councilroom.com/game?game_id=game-20110701-091529-a394c1f7.html (http://councilroom.com/game?game_id=game-20110701-091529-a394c1f7.html) from July was in first, while this game http://councilroom.com/game?game_id=game-20110905-121639-c935088d.html (http://councilroom.com/game?game_id=game-20110905-121639-c935088d.html) from yesterday came up second.
Title: Re: Game Search Quirk
Post by: rrenaud on September 06, 2011, 02:47:33 pm
There is some heuristic about trying to match the query well.

https://github.com/rrenaud/dominionstats/blob/master/query_matcher.py

It tries biases results by looking for games where players used differing strategies on the searched terms.  It also likes when some player buys all of the listed kingdom cards.

You can put a magical &debug=1 in the query to see the ranking scores.

http://councilroom.com/search_result?p1_name=&p2_name=&kingdom=talisman&debug=1