Naming bugfixes

This commit is contained in:
Vik Paruchuri
2013-01-04 12:53:12 -05:00
parent 7351317c8e
commit 6e7dae4f67
2 changed files with 4 additions and 4 deletions

View File

@@ -105,8 +105,6 @@ class OpenEndedModule():
else:
instance_state = {}
instance_state = self.convert_state_to_current_format(instance_state)
# History is a list of tuples of (answer, score, hint), where hint may be
# None for any element, and score and hint can be None for the last (current)
# element.
@@ -122,7 +120,7 @@ class OpenEndedModule():
# completion (doesn't matter if you self-assessed correct/incorrect).
self._max_score = int(instance_state.get('max_score', MAX_SCORE))
oeparam = definition['openendedparam']
oeparam = definition['oeparam']
prompt = definition['prompt']
rubric = definition['rubric']

View File

@@ -99,7 +99,9 @@ class SelfAssessmentModule():
else:
instance_state = {}
# History is a list of tuples of (answer, score, feedback), where hint may be
instance_state = self.convert_state_to_current_format(instance_state)
# History is a list of tuples of (answer, score, hint), where hint may be
# None for any element, and score and hint can be None for the last (current)
# element.
# Scores are on scale from 0 to max_score