Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
harishbalachandran opened this issue Apr 18, 2017 · 3 comments

Comments

@harishbalachandran
Copy link

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

@rtibbles
Copy link
Member

Can you post a link to the sushi chef code that is doing this importing, can advise on how to enhance to allow this?

@yogeshmhaskule
Copy link

@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

@harishbalachandran
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants