cnguy/onetricks.net

Adjust One Tricks Algorithm

cnguy opened this issue · 3 comments

cnguy commented

Adjust the algorithm to scan the last 10-20 games to see if they're mostly playing the "one trick" champion they're normally playing (which they play for around >= 65% of their total games)

if so, add them
else, they're moving on

cnguy commented

This would solve issues like this page breaking.

http://onetricks.net/champions/janna/history

This breaks because one of the one tricks have not played for a long time, and the 'algorithm' for match history picks up a match that doesn't have perks and so it breaks..

cnguy commented

this should be ez t o implement, lets goo.

let's get rid of useless data now

cnguy commented

faed1b4

This code (pre-comments, I commented it since there seemed to be bugs) in this commit was intended to solve this issue, but it seemed like it was not robust enough. This issue is a 'idk' and will probably depend on more research.