rating.py