Commit 6e7dae4f by Vik Paruchuri

Naming bugfixes

parent 7351317c
...@@ -105,8 +105,6 @@ class OpenEndedModule(): ...@@ -105,8 +105,6 @@ class OpenEndedModule():
else: else:
instance_state = {} 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 # 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) # None for any element, and score and hint can be None for the last (current)
# element. # element.
...@@ -122,7 +120,7 @@ class OpenEndedModule(): ...@@ -122,7 +120,7 @@ class OpenEndedModule():
# completion (doesn't matter if you self-assessed correct/incorrect). # completion (doesn't matter if you self-assessed correct/incorrect).
self._max_score = int(instance_state.get('max_score', MAX_SCORE)) self._max_score = int(instance_state.get('max_score', MAX_SCORE))
oeparam = definition['openendedparam'] oeparam = definition['oeparam']
prompt = definition['prompt'] prompt = definition['prompt']
rubric = definition['rubric'] rubric = definition['rubric']
......
...@@ -99,7 +99,9 @@ class SelfAssessmentModule(): ...@@ -99,7 +99,9 @@ class SelfAssessmentModule():
else: else:
instance_state = {} 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) # None for any element, and score and hint can be None for the last (current)
# element. # element.
# Scores are on scale from 0 to max_score # Scores are on scale from 0 to max_score
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment