1
0
Fork 0

in difficulty.py: we have changed line 63, i increased the value of the default level from 3 to 8

Bug543-Aya
Aya Loukili 2024-06-16 16:09:46 +08:00
parent 35751c2c5f
commit 6c81329cdd
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def get_difficulty_level_for_user(d1, d2):
if stem in d2: # 如果用户的词的词根存在于词库d2的词根库中
d2[k] = d2[stem] # 按照词根进行评级
else:
d2[k] = 3 # 如果k的词根都不在那么就当认为是3级
d2[k] = 8 # 如果k的词根都不在那么就当认为是8级 3 was too low and makes the user level drop
return d2