Refactor score_group(shared, group) to group.score_data(shared)