Refactor get_score_table() #18