ricecooker icon indicating copy to clipboard operation
ricecooker copied to clipboard

Need to have an attribute to consider Units for the MagoGenie Questions.<Enhacment>

Open harishbalachandran opened this issue 8 years ago • 3 comments

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: screenshot_2 units in mg

Units not handled in CC: cc

harishbalachandran avatar Apr 18 '17 09:04 harishbalachandran

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 avatar Apr 18 '17 21:04 rtibbles

@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

yogeshmhaskule avatar Apr 19 '17 14:04 yogeshmhaskule

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.

harishbalachandran avatar Apr 22 '17 04:04 harishbalachandran