in difficulty.py: we have changed line 63, i increased the value of the default level from 3 to 8
							parent
							
								
									35751c2c5f
								
							
						
					
					
						commit
						6c81329cdd
					
				| 
						 | 
					@ -60,7 +60,7 @@ def get_difficulty_level_for_user(d1, d2):
 | 
				
			||||||
            if stem in d2:  # 如果用户的词的词根存在于词库d2的词根库中
 | 
					            if stem in d2:  # 如果用户的词的词根存在于词库d2的词根库中
 | 
				
			||||||
                d2[k] = d2[stem]  # 按照词根进行评级
 | 
					                d2[k] = d2[stem]  # 按照词根进行评级
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                d2[k] = 3  # 如果k的词根都不在,那么就当认为是3级
 | 
					                d2[k] = 8  # 如果k的词根都不在,那么就当认为是8级  3 was too low and makes the user level drop
 | 
				
			||||||
    return d2
 | 
					    return d2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue