Skip to content

Instantly share code, notes, and snippets.

@cybercussion
Last active May 17, 2023 16:06
Show Gist options
  • Save cybercussion/4675334 to your computer and use it in GitHub Desktop.
Save cybercussion/4675334 to your computer and use it in GitHub Desktop.
This is a more full sample of a SCORM 2004 Learner Attempt with objectives, interactions, comments etc ...
{
"cmi": {
"_version": "1.0",
"comments_from_learner": {
"_children": "comment,location,timestamp",
"_count": "8",
"0": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-28T15:04:39.1-08:00"
},
"1": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-28T15:05:53.1-08:00"
},
"2": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-28T15:07:08.0-08:00"
},
"3": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-28T16:43:53.0-08:00"
},
"4": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-28T16:44:05.0-08:00"
},
"5": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-28T16:45:06.1-08:00"
},
"6": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-29T09:31:27.0-08:00"
},
"7": {
"comment": "This is a comment from learner",
"location": "QUnit Test",
"timestamp": "2013-01-30T07:19:41.0-08:00"
}
},
"comments_from_lms": {
"_children": "comment,location,timestamp",
"_count": "0"
},
"completion_status": "completed",
"completion_threshold": "",
"credit": "credit",
"entry": "resume",
"exit": "suspend",
"interactions": {
"_children": "id,type,objectives,timestamp,correct_responses,weighting,learner_response,result,latency,description",
"_count": "10",
"0": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "1_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "true"
}
},
"id": "1",
"type": "true-false",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "true",
"result": "correct",
"latency": "PT5M",
"description": "This is the question?"
},
"1": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "2_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "a[,]b"
}
},
"id": "2",
"type": "choice",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "a[,]c",
"result": "incorrect",
"latency": "PT5M",
"description": "Which choices would <b>you</b> pick?"
},
"2": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "3_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "{case_matters=true}{order_matters=true}{lang=en}car[,]automobile"
}
},
"id": "3",
"type": "fill-in",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "{lang=en}car[,]automobile",
"result": "correct",
"latency": "PT5M",
"description": "Which choices would <b>you</b> pick?"
},
"3": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "4_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "c[,]b[,]a"
}
},
"id": "4",
"type": "sequencing",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "a[,]c[,]b",
"result": "incorrect",
"latency": "PT5M",
"description": "Place these options in order"
},
"4": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "5_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "{case_matters=false}{lang=en}it's been a long day"
}
},
"id": "5",
"type": "long-fill-in",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "{lang=en}There was one once, but it's been a long day.",
"result": "correct",
"latency": "PT5M",
"description": "Which choices would <b>you</b> pick?"
},
"5": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "6_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "tile_1[.]target_2[,]tile_2[.]target_1[,]tile_3[.]target_3"
}
},
"id": "6",
"type": "matching",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "tile_1[.]target_2[,]tile_2[.]target_1[,]tile_3[.]target_3",
"result": "correct",
"latency": "PT5M",
"description": "Place these steps over the matching order you'd do them."
},
"6": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "7_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "strongly_agree"
}
},
"id": "7",
"type": "likert",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "strongly_agree",
"result": "correct",
"latency": "PT5M",
"description": "Do you like filling in surveys?"
},
"7": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "8_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "Anything we want."
}
},
"id": "8",
"type": "other",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "Anything we want.",
"result": "correct",
"latency": "PT5M",
"description": "What can we put in the 'other' interaction type?"
},
"8": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "9_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "{order_matters=false}step_1[.]answer_2[,]step_2[.]answer_1[,]step_3[.]answer_3"
}
},
"id": "9",
"type": "performance",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "step_1[.]answer_2[,]step_2[.]answer_1[,]step_3[.]answer_3",
"result": "correct",
"latency": "PT5M",
"description": "Arrange the pairs into an order of completion."
},
"9": {
"objectives": {
"_count": "1",
"_children": "id,score,success_status,completion_status,description",
"0": {
"id": "10_1"
}
},
"correct_responses": {
"_count": "1",
"0": {
"pattern": "10.5"
}
},
"id": "10",
"type": "numeric",
"timestamp": "2013-01-28T15:04:39.1-08:00",
"weighting": "1",
"learner_response": "10.5",
"result": "correct",
"latency": "PT5M",
"description": "Just fill in some random decimal that looks like 10.5."
}
},
"launch_data": "",
"learner_id": "100",
"learner_name": "Simulated User",
"learner_preference": {
"_children": "audio_level,language,delivery_speed,audio_captioning",
"audio_level": "",
"language": "",
"delivery_speed": "",
"audio_captioning": ""
},
"location": "2",
"max_time_allowed": "",
"mode": "normal",
"objectives": {
"_children": "id,score,success_status,completion_status,description",
"_count": "10",
"0": {
"id": "1_1",
"score": {
"scaled": "1",
"raw": "1.5",
"min": "0",
"max": "1.5"
},
"success_status": "passed",
"completion_status": "completed",
"progress_measure": "1",
"description": "They will answer a true false interaction"
},
"1": {
"id": "2_1",
"score": {
"scaled": "1",
"raw": "2",
"min": "0",
"max": "2"
},
"success_status": "passed",
"completion_status": "completed",
"progress_measure": "1",
"description": "They will answer a multiple choice interaction"
},
"2": {
"id": "3_1",
"score": {
"scaled": "1",
"raw": "5.25",
"min": "0",
"max": "5.25"
},
"success_status": "passed",
"completion_status": "completed",
"progress_measure": "1",
"description": "They will answer a fill in interaction"
},
"3": {
"id": "4_1",
"score": {
"scaled": "1",
"raw": "1.333",
"min": "0",
"max": "1.333"
},
"success_status": "passed",
"completion_status": "completed",
"progress_measure": "1",
"description": "They will answer a sequencing interaction"
},
"4": {
"id": "5_1",
"score": {
"scaled": "1",
"raw": "1",
"min": "0",
"max": "1"
},
"success_status": "passed",
"completion_status": "completed",
"progress_measure": "1",
"description": "They will answer a long fill in interaction"
},
"5": {
"id": "6_1",
"score": {
"scaled": "1",
"raw": "1",
"min": "0",
"max": "1"
},
"success_status": "passed",
"completion_status": "completed",
"progress_measure": "1",
"description": "They will answer a matching interaction"
},
"6": {
"id": "7_1",
"score": {
"scaled": "0",
"raw": "0",
"min": "0",
"max": "1"
},
"success_status": "unknown",
"completion_status": "not attempted",
"progress_measure": "0",
"description": "They will answer a likert interaction"
},
"7": {
"id": "8_1",
"score": {
"scaled": "0",
"raw": "0",
"min": "0",
"max": "1"
},
"success_status": "unknown",
"completion_status": "not attempted",
"progress_measure": "0",
"description": "They will answer a other interaction"
},
"8": {
"id": "9_1",
"score": {
"scaled": "0",
"raw": "0",
"min": "0",
"max": "1"
},
"success_status": "unknown",
"completion_status": "not attempted",
"progress_measure": "0",
"description": "They will answer a performance interaction"
},
"9": {
"id": "10_1",
"score": {
"scaled": "0",
"raw": "0",
"min": "0",
"max": "1"
},
"success_status": "unknown",
"completion_status": "not attempted",
"progress_measure": "0",
"description": "They will answer a numeric interaction"
}
},
"progress_measure": "0.6",
"scaled_passing_score": "0.7",
"score": {
"_children": "scaled,raw,min,max",
"scaled": "0.7512902",
"raw": "12.083",
"min": "0",
"max": "16.083"
},
"session_time": "PT0.03S",
"success_status": "passed",
"suspend_data": "{\"pages\":[{\"id\":1,\"title\":\"Sample Data 1\",\"data\":{\"answers\":[\"a\",\"b\",\"c\",\"d\"],\"characters\":\"!\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ˜‌‍‎‏–—―‗‘’‚‛“”„†‡•…‰′″‹›‼‾⁄₣₤₧₪₫€℅ℓ№™Ω℮⅓⅔⅛⅜⅝⅞←↑→↓∂√∞∩∫≠≡■□▲△▼○●♀♂♪\",\"question\":\"This <b>is</b> the question?\",\"numtries\":2}},{\"id\":2,\"title\":\"Sample Data 2\",\"data\":{\"short_answer\":\"This is a short answer with text they typed in.\",\"characters\":\"!\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ˜‌‍‎‏–—―‗‘’‚‛“”„†‡•…‰′″‹›‼‾⁄₣₤₧₪₫€℅ℓ№™Ω℮⅓⅔⅛⅜⅝⅞←↑→↓∂√∞∩∫≠≡■□▲△▼○●♀♂♪\",\"question\":\"How did you feel about the question?\",\"images\":[\"bird.png\",\"bug.png\",\"helicopter.png\"]}}]}",
"time_limit_action": "",
"total_time": "PT54.61S"
},
"adl": {
"nav": {
"request": "_none_",
"request_valid": {
"continue": "false",
"previous": "false",
"choice": {}
}
}
},
"ssp": {
"allocate": "",
"_count": "0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment