mitodl / mitx-grading-library

The MITx Grading Library, a python grading library for edX
https://edge.edx.org/courses/course-v1:MITx+grading-library+examples/
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

MJxPrep needs better error handling #117

Closed ChristopherChudzicki closed 6 years ago

ChristopherChudzicki commented 6 years ago

Consider the following typing:

                        // displays as:
cross(a,b) + fact       // a x b + fact
cross(a,b) + fact(      // cross(a,b) + fact(
cross(a,b) + fact(5     // cross(a,b) + fact(5
cross(a,b) + fact(5)    // a x b + 5!

errors in one part of a string should not prevent display of the rest.

I have a plan, but finishing column vector display first.

jolyonb commented 6 years ago

Yeah, I saw this. It could definitely be improved, but it's a bit trickier than I want to deal with in javascript! All yours :-)