Updated HAI_scores_over_time.ipynb and its related functions