open-resources / scripts

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

Prairie Learn Handling of Symbolic Inputs #16

Open michaelwkudla opened 3 years ago

michaelwkudla commented 3 years ago

This may or may not be an issue. Students will likely find it confusing.

If you enter a response for this question: https://ca.prairielearn.org/pl/course_instance/2300/instructor/question/188273/preview

The "submitted answer" will show a simplified version of the response, not the actual response.

For example, when I enter "vmv/r" as opposed to m*v*2/r, it still shows the submitted answer as mv^2/r.

Symbolic Input

firasm commented 3 years ago

mmm. agreed. The easy solution is to add some text saying, "your answer is equivalent to the following mathematical expression".

A better option would be to code what's in the "Submitted answer" box to reproduce exactly what the student submitted.

I see that there's a submission.raw_submitted_answer in the docs.

After the template is created, could you see if this works for sympy objects for a v2 of the question?

michaelwkudla commented 3 years ago

Will do.