added estimate_hit_rate.py