...
- Need to
validate
andde-dup
the the events.
Table Schema:
Question object :
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
CREATE TABLE assessment_histroyprofile ( batch_id: text // Batch identifier., user_id: text, // User Identifier. attemptcourse_id: indextext, // Question Attempt identifier, To track the number of attempts on that question. course_id: worksheet_id text, // Course Identifier. assessmentattempt_id: text, // Identifier of the assessment/content/worksheet updated_on timestamp, assessmentcreated_name: text // Name of the assessment/content/worksheeton timestamp, question: jsonb // array[objects] // Question details spec object date_time: timestamp // Time stamp, To know last updated time. list<frozen<question>>, PRIMARY KEY (batchworksheet_id, attempt_id, user_id, course_id, assessmentbatch_id ) ) |
Question object :
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
question:{ "qid": "do_957399094343" CREATE TYPE question( id: text, " max_score": 5int, " score": 2int, " type" :"mcq/mmcq/ftb/mtf": text, " title": "Choosetext, valid odd number" "pass": "Yes"/"No"text, "desc":"Description of the question", description: text "duration":text 5); } |
Challenges:
- How to capture the
attempts? i.e. Number of times the particular user is attempted particular question.
- How to capture the
batch-id
andcourse-id
...