Commit b88c6b8d by Felix Sun

Hinter now works with formula responses. Tests broken.

parent c34a81a8
...@@ -1824,7 +1824,7 @@ class FormulaResponse(LoncapaResponse): ...@@ -1824,7 +1824,7 @@ class FormulaResponse(LoncapaResponse):
log.debug('formularesponse: error %s in formula', err) log.debug('formularesponse: error %s in formula', err)
raise StudentInputError("Invalid input: Could not parse '%s' as a formula" % raise StudentInputError("Invalid input: Could not parse '%s' as a formula" %
cgi.escape(answer)) cgi.escape(answer))
return tuple(out) return out
def randomize_variables(self, samples): def randomize_variables(self, samples):
""" """
......
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