content-player: Telemetry event details for NCERT quiz - PlaySession

Jira Story:  SB-16193 - Getting issue details... STATUS Telemetry information to track a play session


Instructions

A new "play session id" should be created as and when a user starts playing a content.

  1. Student/user should able to fill his details before taking the quiz.
    1. Instead of introducing new slide/page, add the first slide as an FTB question to fill the student/user information. Ignore this question result/score for the result analysis.
  2. There will be only question-set(quiz) will be there in the content/worksheet. 1 question takes student/user information & other questions are actually the quiz.
  3. One student can take the quiz mutiple times. But there is not way to get the information of each attempt. Hence log "playSession" UUID in the CDATA for every play/replay of the quiz/content. This information should carry in every event(impression, assess, item-response etc.) generated by content-player while playing the quiz. 


Add "playSession" UUID in Cdata

{
    "id": "9942f64a07b07dbc2b51ee8a70f8d752",
	"type": "PlaySession"
}

Sample ASESS event of FTB question:

{
  "eid": "ASSESS",
  "ets": 1578483225790,
  "ver": "3.1",
  "mid": "ASSESS:07815d4af4b62e7cbc3a1b8efeede4de",
  "actor": {
    "id": "0b96635f-fe2b-4ab0-a511-05cfce8faa3f",
    "type": "User"
  },
  "context": {
    "channel": "0126825293972439041",
    "pdata": {
      "id": "preprod.diksha.portal",
      "ver": "2.6.0",
      "pid": "sunbird-portal.contentplayer"
    },
    "env": "contentplayer",
    "sid": "Bzo64SEKPxkvTQynH1teGAq3-oTc3vJi",
    "did": "654c32b91dc90c73d9fd0a9ca0430d7f",
    "cdata": [
      {
        "id": "d6e7e501b0eba706791b2c8000c68882",
        "type": "ContentSession"
      },
      {
        "id": "589ccf649bfbea45a231d237888df76c",
        "type": "PlaySession"
      }
    ],
    "rollup": {
      "l1": "0126825293972439041"
    }
  },
  "object": {
    "id": "do_212921488478150656153",
    "type": "Content",
    "ver": "8",
    "rollup": {}
  },
  "tags": [
    "0126825293972439041"
  ],
  "edata": {
    "item": {
      "id": "do_21292224507410022415",
      "maxscore": 1,
      "type": "ftb",
      "exlength": 0,
      "params": [
        {
          "1": "{\"text\":\"namenamenamename\"}"
        },
        {
          "2": "{\"text\":\"class 10\"}"
        },
        {
          "3": "{\"text\":\"123\"}"
        },
        {
          "eval": "order"
        }
      ],
      "uri": "",
      "title": "NCERT Student",
      "mmc": [],
      "mc": [],
      "desc": "NCERT Student"
    },
    "index": 1,
    "pass": "No",
    "score": 0,
    "resvalues": [
      {
        "1": "{\"text\":\"Vinu Kumar\"}"
      },
      {
        "2": "{\"text\":\"X\"}"
      },
      {
        "3": "{\"text\":\"17\"}"
      }
    ],
    "duration": 19
  }
}


  • Page:
    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.