'Delivers grading response (e.g. from asynchronous code checking) to
the capa problem, so its score can be updated
\'data\' must have a key \'response\' which is a string that contains the
grader\'s response
No ajax return is needed. Return empty dict.'

def update_score(self, data):

    queuekey = data['queuekey']
    score_msg = data['xqueue_body']
    self.lcp.update_score(score_msg, queuekey)
    self.set_state_from_lcp()
    self.set_score(self.score_from_lcp())
    self.publish_grade()
    return dict()
