ricecooker
ricecooker copied to clipboard
Need to have an attribute to consider Units for the MagoGenie Questions.<Enhacment>
Description Need to have an attribute to consider Units for the MagoGenie Questions.
In MagoGenie the units have been handled in a way so that they appear next to answers. While this is not the case with CC and Kolibri.
Enhancement Hence please help in handling the units for the MagoGenie questions.
Note: This is not a defect but an important enchantment while importing MagoGenie content.
Screenshot:
Units in MG:

Units not handled in CC:

Can you post a link to the sushi chef code that is doing this importing, can advise on how to enhance to allow this?
@rtibbles Below is the sample structure received from magogenie for individual question. We got an "unit" attribute for each questions highlighted below.
"48665": { "success": true, "question": { "id": 48665, "content": "
The area of a triangle is 50 cm square. If the altitude is 8 cm, what is its base?</p>", "topic_id": 2808, "difficulty_level": 2, "answer_type": "number", "unit": "cm" }, "possible_answers": [ { "id": 344355, "content": "12.5", "question_id": 48665, "is_correct": true } ] } }
Sushi chef code link:
https://github.com/amarkamthe/magogenie-channel
As we have found a way to add the units at the end of every question this can be worked upon later and not a high Priority.