scoring_function.py