Fix grade_url and rename weight to max_score.