[Resolved] Exercise Issues

Operating System (e.g. Windows, MacOS, Linux): Windows

Browser (e.g. Chrome, Firefox, Safari): Chrome

Channel (Name of the channel you were working on):Physics 9

Description of problem: In ‘Physics 9/Chapter 4/Ch 4 Past Papers Exercise’ 5 of the 13 question have problems, where instead of 4 answer options 5 options is displayed. And the fifth option shows the correct answer to the students. The channel and the exercise questions are uploaded using a Python script. Here is the URL showing the issue: https://studio.learningequality.org/en/channels/0dd1b20d2fe356bc92ef177d06895c4c/#/1bfe55cf62394c05b17e950f5442a8a6/e1bcfb3ab1664b9795f4292f31530f49?tab=questions

Hi @k2edutech,

Could you include a screenshot of how the question is rendering and highlight what is problematic?

This is how the answers for that question are set on Studio:

"[{"answer": "torque", "correct": false, "order": 0}, {"answer": "weight", "correct": false, "order": 1}, {"answer": "force of gravity", "correct": false, "order": 2}, {"answer": "both b and c", "correct": false, "order": 3}, {"answer": "['both b and c']", "correct": true, "order": 4}]"

What should the answers be? It seems like five answers have been uploaded. What mechanism are you using to upload these via ricecooker?

Kind Regards,
Richard

Richard,
Never mind. I found the syntax in the script for the exercise. We had a line ‘correct_answer = [“center of gravity”]’. Here the open bracket caused the issue.
Sorry for the inconvenience.
Regards,
Iqbal Chaudhry

No problem, glad it is resolved!