open-resources / scripts

Repo of converter scripts to and from MD files to various platform file formats.
3 stars 0 forks source link

Symbolic Interpretation Issue #12

Closed michaelwkudla closed 3 years ago

michaelwkudla commented 3 years ago

Working on this demo question: https://ca.prairielearn.org/pl/course_instance/2300/instructor/question/188273/file_view

Based on this documentation: https://prairielearn.readthedocs.io/en/latest/elements/#pl-symbolic-input-element

Based on the documentation, the question should work, but it crashes. Haven't sorted out why yet. Happy to have others take a look as well.

firasm commented 3 years ago

Fixed:

it was

data['correct_answers']['symbolic_math'] = pl.to_json(F)

(not correct_answer) - I think the docs are wrong and probably need to be updated.

michaelwkudla commented 3 years ago

Thanks Firas.