'Returns a dict of the max points for each input: input id -> maxpoints.'

def _get_max_points(self):

    scoring = self.default_scoring
    correct_points = scoring.get('correct')
    return dict([(inputfield.get('id'), correct_points) for inputfield in self.inputfields])
