Question-set telemetry ASSESS event
This document details about telemetry assess event structure for the different type of questions(like MCA, MTF, FTB, Sequence, Reorder etc..)
Question Types
Find the below list of question types and its sample telemetry ASSESS event data.
1. MCQ Question Type
The question of type MCQ will have multiple options to select for the right answer/option. These options will get shuffle(different order) when the content played by different users.
Interpretation of Data:
- edata.pass => User/Student is result after attempting the question (Yes/No)
- edata.index => Position/Order of the question in the question-set
- edata.score => User/Student score after attempting the question(For the questions which has partial answer enabled, edata.score will be < edata.item.maxscore if user/student answered partially).
- edata.resvalues => user selected option/answer of the question
edata.resvalues is an array of objects/maps [ {}, {}, ..].
Each object/map will have only one key & value pair. With reference to the above in resvalues, "option0"(option{option index position}) is key & "<p>आठ</p>\n"(HTML Text) is value.
2. FTB Question Type
The question of type FTB may have single/multiple blanks in the question. The user can answer using default mobile or custom keyboard depends on configuration set while creating the question.
Interpretation of Data :
- edata.pass => User/Student is result after attempting the question (Yes/No)
- edata.index => Position/Order of the question in the question-set
- edata.score => User/Student score after attempting the question(For the questions which has partial answer enabled, edata.score will be < edata.item.maxscore if user/student answered partially).
- edata.resvalues => user entered answers using keyboard(native/custom)
edata.resvalues is an array of objects/maps [ {}, {}, ..].
With reference to the above example in resvalues, "key"(common name used for all options) is key & "JUPITER" or "Mercury" is values entered by the User/Student.
3. MTF Question Type
The question of type MTF, will have LHS(left had side) & rhs(right had side) options. User/Student can drag & drop only RHS options to map to the respective LHS option.
Interpretation of Data :
- edata.pass => User/Student is result after attempting the question (Yes/No)
- edata.index => Position/Order of the question in the question-set
- edata.score => User/Student score after attempting the question(For the questions which has partial answer enabled, edata.score will be < edata.item.maxscore if user/student answered partially).
- edata.resvalues => final reordered LHS & RHS options
edata.resvalues is an array of objects[ {}, {}, ..].
The object structure inside resvalues is complex. This can be simplified(TBD).
With reference to the above example in resvalues, each object will have LHS & RHS array({ "LHS": [], "RHS": [] }).
LHS array has object structure.
{ "text": "Lion", "image": "", "audio": "", "audioName": "", "hint": "", "index": 1 }
"index": 1 => The position/index of the option in the LHS options array(rendered position)
RHS array has below object stucture
{ "text": "", "image": "/assets/public/content/1465367844162rabbit.png", "audio": "", "audioName": "", "hint": "", "mapIndex": 2 }
"mapIndex": 2 => This option which is rendered in the first position(RHS side) is drag & drop(mapped) to 2 option of the LHS
4. Sequence Question Type
The question of type Sequence, will have a list of options. User/Student has to arrange(by drag & drop) the options in the proper/right order. For every drag & drop of the option, the RESPONSE event will trigger.
Interpretation of Data :
- edata.pass => User/Student is result after attempting the question (Yes/No)
- edata.index => Position/Order of the question in the question-set
- edata.score => User/Student score after attempting the question(For the questions which has partial answer enabled, edata.score will be < edata.item.maxscore if user/student answered partially).
- edata.resvalues => Order of the options while evaluation
edata.resvalues is an array of objects[ {}, {}, ..].
5. ReOrder Question Type
The question of type reorder
{ "eid": "ASSESS", "ets": 1549362273576, "ver": "3.0", "mid": "ASSESS:ef81a0500263337ef870790714b84097", "actor": { "id": "95e4942d-cbe8-477d-aebd-ad8e6de4bfc8", "type": "User" }, "context": { "channel": "b00bc992ef25f1a9a8d63291e20efc8d", "pdata": { "id": "dev.sunbird.portal", "ver": "1.14.0", "pid": "sunbird-portal.contenteditor.contentplayer" }, "env": "contentplayer", "sid": "yD79BBAExQCP3nZmR2Q9rO1jl8hDho0X", "did": "51a59362a5d4be51d9f83552f0b8c3e0", "cdata": [ { "id": "8c12bdb10e98842175a3638660814c10", "type": "ContentSession" } ], "rollup": {} }, "object": { "id": "do_112692350547279872110", "type": "Content", "ver": "1.0" }, "tags": [], "edata": { "item": { "id": "c4be86dd-181d-49ee-9577-924ab6b4ab49", "maxscore": 1, "exlength": 0, "params": [], "uri": "", "title": "VSV Reorder Form the sentance using below words", "mmc": [], "mc": [], "desc": "" }, "index": 1, "pass": "Yes", "score": 1, "resvalues": ["what", "are", "you", "looking", "for", "?"], "duration": 14 } }
Interpretation of Data :
To Be Updated(TBU)
Related articles