Update scoring.py

added warning info