changed the magnitude of random bias in user keyword ranking

This commit is contained in:
pythagoraswitch 2018-12-01 11:02:36 +01:00
parent d96edf480f
commit 8c618ab988

View file

@ -283,7 +283,7 @@ class Engine:
character_tags["VICTORIA OLEGOVNA SKITSKAYA"] = character_tags.get("VIKTORIA OLEGOVNA SKITSKAYA",0)
score = {}
for playlist in playlists:
score[playlist['name']] = random.random() * 0.001
score[playlist['name']] = random.random() * 0.1
for tag in playlist['tags']:
if tag in theme_tags:
score[playlist['name']] += theme_tags[tag] * themeWeights