def get_correctness_for_response(self, response):
for answer in self.my_osid_object.get_answers():<EOL><INDENT>if self._is_match(response, answer):<EOL><INDENT>try:<EOL><INDENT>return answer.get_score()<EOL><DEDENT>except AttributeError:<EOL><INDENT>return <NUM_LIT:100><EOL><DEDENT><DEDENT><DEDENT>for answer in self.my_osid_object.get_wrong_answers():<EOL><INDENT>if self._is_match(response, answer):<EOL><INDENT>try:<EOL><INDENT>return answer.get_score()<EOL><DEDENT>except AttributeError:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT><DEDENT><DEDENT>
get measure of correctness available for a particular response