aolney / mofacts-automated-authoring

Automated content creation for MoFaCTS
Apache License 2.0
3 stars 1 forks source link

Add test for parser edge case #50

Closed andrewtackett closed 1 year ago

andrewtackett commented 3 years ago

The following input seems to crash the parser:

{ "responseType": "image", "stims": [ { "response": { "correctResponse": "images/Countries/algeria_sm_2011.gif", "incorrectResponses": [ "images/Countries/afghanistan_sm_2011.gif", "images/Countries/akrotiri_sm_2011.gif", "images/Countries/albania_sm_2011.gif" ] }, "display": { "text":"Algeria" }, "parameter": "-0.479299999999998" } ] }

specifically I'm betting it's the forward slashes.

aolney commented 1 year ago

Lost track of this and don't know why the parser would be involved here. Closing for now.