compute SAME_rate in price_predict.py