get_gain#

get_gain(base_score, score, perfect_score, max_gain)[source]#

Get gain between base score and score compared to the distance from the perfect score.