Remove dead function compute_all_scores().