ams_migration 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +9 -0
- data/README.md +33 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/calculated.rb +33 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/classic_question.rb +114 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/essay.rb +36 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/file_upload.rb +35 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/fill_in_blank.rb +63 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/fill_in_multiple_blanks.rb +111 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/matching.rb +66 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/multiple_answer.rb +27 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/multiple_choice.rb +57 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/multiple_dropdown.rb +126 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/numerical.rb +89 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/text.rb +28 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/true_false.rb +14 -0
- data/lib/ams_migration/canvas/converter/classic_quiz/unknown.rb +31 -0
- data/lib/ams_migration/canvas/converter/new_quiz/categorization.rb +108 -0
- data/lib/ams_migration/canvas/converter/new_quiz/essay.rb +78 -0
- data/lib/ams_migration/canvas/converter/new_quiz/file_upload.rb +33 -0
- data/lib/ams_migration/canvas/converter/new_quiz/fill_in_blank.rb +180 -0
- data/lib/ams_migration/canvas/converter/new_quiz/formula.rb +33 -0
- data/lib/ams_migration/canvas/converter/new_quiz/hotspot.rb +166 -0
- data/lib/ams_migration/canvas/converter/new_quiz/matching.rb +85 -0
- data/lib/ams_migration/canvas/converter/new_quiz/multiple_answer.rb +28 -0
- data/lib/ams_migration/canvas/converter/new_quiz/multiple_choice.rb +70 -0
- data/lib/ams_migration/canvas/converter/new_quiz/new_question.rb +133 -0
- data/lib/ams_migration/canvas/converter/new_quiz/numerical.rb +117 -0
- data/lib/ams_migration/canvas/converter/new_quiz/ordering.rb +68 -0
- data/lib/ams_migration/canvas/converter/new_quiz/stimulus.rb +35 -0
- data/lib/ams_migration/canvas/converter/new_quiz/true_false.rb +33 -0
- data/lib/ams_migration/canvas/converter/new_quiz/unknown.rb +30 -0
- data/lib/ams_migration/canvas/converter/question_type.rb +30 -0
- data/lib/ams_migration/services/README.md +26 -0
- data/lib/ams_migration/services/data_provider.rb +26 -0
- data/lib/ams_migration/services/learnosity_bank_cleaner.rb +44 -0
- data/lib/ams_migration/services/learnosity_data_api_client.rb +135 -0
- data/lib/ams_migration/services/learnosity_sink.rb +190 -0
- data/lib/ams_migration/services/migration_service.rb +37 -0
- data/lib/ams_migration/services/new_quiz_learnosity_transformer.rb +115 -0
- data/lib/ams_migration/version.rb +3 -0
- data/lib/ams_migration.rb +45 -0
- data/lib/factories/classic_quiz_item_converter_factory.rb +43 -0
- data/lib/factories/new_quiz_item_converter_factory.rb +76 -0
- data/spec/fixtures/sample_data/classic_quiz/calculated.json +24 -0
- data/spec/fixtures/sample_data/classic_quiz/essay.json +24 -0
- data/spec/fixtures/sample_data/classic_quiz/file_upload.json +24 -0
- data/spec/fixtures/sample_data/classic_quiz/fill_in_bank.json +24 -0
- data/spec/fixtures/sample_data/classic_quiz/fill_in_blank.json +53 -0
- data/spec/fixtures/sample_data/classic_quiz/fill_in_multiple_blanks.json +57 -0
- data/spec/fixtures/sample_data/classic_quiz/matching.json +107 -0
- data/spec/fixtures/sample_data/classic_quiz/multiple_answer.json +48 -0
- data/spec/fixtures/sample_data/classic_quiz/multiple_choice.json +56 -0
- data/spec/fixtures/sample_data/classic_quiz/multiple_dropdown.json +73 -0
- data/spec/fixtures/sample_data/classic_quiz/numerical.json +55 -0
- data/spec/fixtures/sample_data/classic_quiz/text.json +24 -0
- data/spec/fixtures/sample_data/classic_quiz/true_false.json +39 -0
- data/spec/fixtures/sample_data/classic_quiz/unknown.json +24 -0
- data/spec/fixtures/sample_data/new_quiz/bank_entry_item.json +5 -0
- data/spec/fixtures/sample_data/new_quiz/bank_item.json +11 -0
- data/spec/fixtures/sample_data/new_quiz/categorization.json +135 -0
- data/spec/fixtures/sample_data/new_quiz/essay.json +40 -0
- data/spec/fixtures/sample_data/new_quiz/file_upload.json +30 -0
- data/spec/fixtures/sample_data/new_quiz/fill_in_blank_association.json +162 -0
- data/spec/fixtures/sample_data/new_quiz/fill_in_blank_dropdown.json +180 -0
- data/spec/fixtures/sample_data/new_quiz/fill_in_blank_math.json +45 -0
- data/spec/fixtures/sample_data/new_quiz/fill_in_blank_mixed.json +188 -0
- data/spec/fixtures/sample_data/new_quiz/fill_in_blank_text.json +140 -0
- data/spec/fixtures/sample_data/new_quiz/formula.json +51 -0
- data/spec/fixtures/sample_data/new_quiz/hotspot_oval.json +38 -0
- data/spec/fixtures/sample_data/new_quiz/hotspot_polygon.json +66 -0
- data/spec/fixtures/sample_data/new_quiz/hotspot_square.json +38 -0
- data/spec/fixtures/sample_data/new_quiz/matching.json +88 -0
- data/spec/fixtures/sample_data/new_quiz/multiple_answer.json +57 -0
- data/spec/fixtures/sample_data/new_quiz/multiple_choice.json +66 -0
- data/spec/fixtures/sample_data/new_quiz/multiple_choice_math.json +55 -0
- data/spec/fixtures/sample_data/new_quiz/numerical.json +64 -0
- data/spec/fixtures/sample_data/new_quiz/ordering.json +60 -0
- data/spec/fixtures/sample_data/new_quiz/stimulus.json +17 -0
- data/spec/fixtures/sample_data/new_quiz/true_false.json +27 -0
- data/spec/fixtures/sample_data/new_quiz/unknown.json +14 -0
- data/spec/lib/ams_migration/services/learnosity_sink_spec.rb +198 -0
- data/spec/lib/canvas/converter/classic_quiz/calculated_spec.rb +26 -0
- data/spec/lib/canvas/converter/classic_quiz/essay_spec.rb +26 -0
- data/spec/lib/canvas/converter/classic_quiz/file_upload_spec.rb +23 -0
- data/spec/lib/canvas/converter/classic_quiz/fill_in_blank_spec.rb +30 -0
- data/spec/lib/canvas/converter/classic_quiz/fill_in_multiple_blanks_spec.rb +33 -0
- data/spec/lib/canvas/converter/classic_quiz/matching_spec.rb +38 -0
- data/spec/lib/canvas/converter/classic_quiz/multiple_answer_spec.rb +33 -0
- data/spec/lib/canvas/converter/classic_quiz/multiple_choice_spec.rb +31 -0
- data/spec/lib/canvas/converter/classic_quiz/multiple_dropdown_spec.rb +39 -0
- data/spec/lib/canvas/converter/classic_quiz/numerical_spec.rb +41 -0
- data/spec/lib/canvas/converter/classic_quiz/text_spec.rb +20 -0
- data/spec/lib/canvas/converter/classic_quiz/true_false_spec.rb +28 -0
- data/spec/lib/canvas/converter/classic_quiz/unknown_spec.rb +25 -0
- data/spec/lib/canvas/converter/common_error.rb +16 -0
- data/spec/lib/canvas/converter/new_quiz/categorization_spec.rb +55 -0
- data/spec/lib/canvas/converter/new_quiz/essay_spec.rb +26 -0
- data/spec/lib/canvas/converter/new_quiz/file_upload_spec.rb +24 -0
- data/spec/lib/canvas/converter/new_quiz/fill_in_blank_spec.rb +111 -0
- data/spec/lib/canvas/converter/new_quiz/formula_spec.rb +23 -0
- data/spec/lib/canvas/converter/new_quiz/hotspot_spec.rb +182 -0
- data/spec/lib/canvas/converter/new_quiz/matching_spec.rb +30 -0
- data/spec/lib/canvas/converter/new_quiz/multiple_answer_spec.rb +34 -0
- data/spec/lib/canvas/converter/new_quiz/multiple_choice_spec.rb +54 -0
- data/spec/lib/canvas/converter/new_quiz/numerical_spec.rb +48 -0
- data/spec/lib/canvas/converter/new_quiz/ordering_spec.rb +25 -0
- data/spec/lib/canvas/converter/new_quiz/stimulus_spec.rb +20 -0
- data/spec/lib/canvas/converter/new_quiz/true_false_spec.rb +24 -0
- data/spec/lib/canvas/converter/new_quiz/unknown_spec.rb +36 -0
- data/spec/lib/factories/classic_quiz_item_converter_factory_spec.rb +183 -0
- data/spec/lib/factories/new_quiz_item_converter_factory_spec.rb +71 -0
- data/spec/lib/services/learnosity_data_api_client_spec.rb +130 -0
- data/spec/lib/services/new_quiz_learnosity_transformer_spec.rb +196 -0
- data/spec/spec_helper.rb +20 -0
- metadata +229 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"id": "15",
|
3
|
+
"position": 3,
|
4
|
+
"points_possible": 1.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Polygon Question",
|
12
|
+
"item_body": "<p><em><strong>This</strong></em> is a <strong>question</strong> stem <em>with</em> some <span style=\"text-decoration: underline;\">additional</span> text to <span style=\"color: #ba372a;\">test </span>wacky <span style=\"background-color: #fbeeb8;\">formatting</span></p>\n<p><img class=\"equation_image\" title=\"234+\\alpha^4-56\" src=\"/equation_images/234%252B%255Calpha%255E4-56?scale=1\" alt=\"LaTeX: 234+\\alpha^4-56\" data-equation-content=\"234+\\alpha^4-56\" data-ignore-a11y-check=\"\"></p>\n<p>Some math is before this for <sub>testing</sub></p><p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {
|
15
|
+
"image_url": "https://dummyfileurl.com/file.png"
|
16
|
+
},
|
17
|
+
"properties": {},
|
18
|
+
"scoring_data": {
|
19
|
+
"value": {
|
20
|
+
"type": "polygon",
|
21
|
+
"coordinates": [
|
22
|
+
{
|
23
|
+
"x": 0.09384031919243187,
|
24
|
+
"y": 0.1726691949400596
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"x": 0.03428780893569626,
|
28
|
+
"y": 0.2329405177021558
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"x": 0.01082772913758829,
|
32
|
+
"y": 0.3323067525261524
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"x": 0.1786575307702068,
|
36
|
+
"y": 0.346967344549365
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"x": 0.3681427906780019,
|
40
|
+
"y": 0.3437094352108733
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"x": 0.4421322731181886,
|
44
|
+
"y": 0.2019903789864848
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"x": 0.283325579100227,
|
48
|
+
"y": 0.1026241441624882
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"x": 0.1624159370638244,
|
52
|
+
"y": 0.1449769655628802
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"x": 0.09384031919243187,
|
56
|
+
"y": 0.1726691949400596
|
57
|
+
}
|
58
|
+
]
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"answer_feedback": {},
|
62
|
+
"scoring_algorithm": "HotSpot",
|
63
|
+
"interaction_type_slug": "hot-spot",
|
64
|
+
"feedback": {}
|
65
|
+
}
|
66
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"id": "13",
|
3
|
+
"position": 1,
|
4
|
+
"points_possible": 1.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Rectangle Hot Spot",
|
12
|
+
"item_body": "<p><em><strong>This</strong></em> is a <strong>question</strong> stem <em>with</em> some <span style=\"text-decoration: underline;\">additional</span> text to <span style=\"color: #ba372a;\">test </span>wacky <span style=\"background-color: #fbeeb8;\">formatting</span></p>\n<p><img class=\"equation_image\" title=\"234+\\alpha^4-56\" src=\"/equation_images/234%252B%255Calpha%255E4-56?scale=1\" alt=\"LaTeX: 234+\\alpha^4-56\" data-equation-content=\"234+\\alpha^4-56\" data-ignore-a11y-check=\"\"></p>\n<p>Some math is before this for <sub>testing</sub></p><p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {
|
15
|
+
"image_url": "https://dummyfileurl.com/file.png"
|
16
|
+
},
|
17
|
+
"properties": {},
|
18
|
+
"scoring_data": {
|
19
|
+
"value": {
|
20
|
+
"type": "square",
|
21
|
+
"coordinates": [
|
22
|
+
{
|
23
|
+
"x": 0.4425983813642787,
|
24
|
+
"y": 0.4353909783154884
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"x": 0.520703978075622,
|
28
|
+
"y": 0.5071315372424723
|
29
|
+
}
|
30
|
+
]
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"answer_feedback": {},
|
34
|
+
"scoring_algorithm": "HotSpot",
|
35
|
+
"interaction_type_slug": "hot-spot",
|
36
|
+
"feedback": {}
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
{
|
2
|
+
"id": "5",
|
3
|
+
"position": 1,
|
4
|
+
"points_possible": 2.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Matching example 1, partial credit",
|
12
|
+
"item_body": "<p>Match the letter with its corresponding number. </p>\n<p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Some alternative text about how this is a sink spitting fire\"></p>\n<p><em><strong>This</strong></em> is <span style=\"color: #236fa1;\">some</span> <strong>extra</strong> text I <span style=\"text-decoration: underline;\">addded</span> to do <em>some</em> <span style=\"background-color: #236fa1;\">funky</span> <sub>formatting</sub> with :)</p>\n<ul>\n<li>this</li>\n<li>is </li>\n<li><strong>a</strong></li>\n<li>list</li>\n</ul>",
|
13
|
+
"calculator_type": "basic",
|
14
|
+
"interaction_data": {
|
15
|
+
"answers": [
|
16
|
+
"This is a distractor",
|
17
|
+
"4",
|
18
|
+
"2",
|
19
|
+
"1",
|
20
|
+
"3"
|
21
|
+
],
|
22
|
+
"questions": [
|
23
|
+
{
|
24
|
+
"id": "88812",
|
25
|
+
"item_body": "A"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"id": "27488",
|
29
|
+
"item_body": "B"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"id": "35242",
|
33
|
+
"item_body": "C"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"id": "15710",
|
37
|
+
"item_body": "D"
|
38
|
+
}
|
39
|
+
]
|
40
|
+
},
|
41
|
+
"properties": {
|
42
|
+
"shuffle_rules": {
|
43
|
+
"questions": {
|
44
|
+
"shuffled": false
|
45
|
+
}
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"scoring_data": {
|
49
|
+
"value": {
|
50
|
+
"15710": "4",
|
51
|
+
"27488": "2",
|
52
|
+
"35242": "3",
|
53
|
+
"88812": "1"
|
54
|
+
},
|
55
|
+
"edit_data": {
|
56
|
+
"matches": [
|
57
|
+
{
|
58
|
+
"answer_body": "1",
|
59
|
+
"question_id": "88812",
|
60
|
+
"question_body": "A"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"answer_body": "2",
|
64
|
+
"question_id": "27488",
|
65
|
+
"question_body": "B"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"answer_body": "3",
|
69
|
+
"question_id": "35242",
|
70
|
+
"question_body": "C"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"answer_body": "4",
|
74
|
+
"question_id": "15710",
|
75
|
+
"question_body": "D"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"distractors": [
|
79
|
+
"This is a distractor"
|
80
|
+
]
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"answer_feedback": {},
|
84
|
+
"scoring_algorithm": "PartialDeep",
|
85
|
+
"interaction_type_slug": "matching",
|
86
|
+
"feedback": {}
|
87
|
+
}
|
88
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
{
|
2
|
+
"id": "22",
|
3
|
+
"position": 7,
|
4
|
+
"points_possible": 1.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "MA - question",
|
12
|
+
"item_body": "<p>wewe</p><p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {
|
15
|
+
"choices": [
|
16
|
+
{
|
17
|
+
"id": "c74e82c2-433b-4ee3-89b1-ed70e5f7fdc0",
|
18
|
+
"position": 1,
|
19
|
+
"item_body": "<p>c1</p>"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"id": "50430f5d-8001-4157-800f-f721bd89132a",
|
23
|
+
"position": 2,
|
24
|
+
"item_body": "<p>c2</p>"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"id": "79a7fd67-8940-4f33-a0c2-e4117441449d",
|
28
|
+
"position": 3,
|
29
|
+
"item_body": "<p>c3</p>"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"id": "148659e6-dc03-400a-bbd5-5ab5b8c3c1c2",
|
33
|
+
"position": 4,
|
34
|
+
"item_body": "<p>c4</p>"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
},
|
38
|
+
"properties": {
|
39
|
+
"shuffle_rules": {
|
40
|
+
"choices": {
|
41
|
+
"to_lock": [],
|
42
|
+
"shuffled": false
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"scoring_data": {
|
47
|
+
"value": [
|
48
|
+
"c74e82c2-433b-4ee3-89b1-ed70e5f7fdc0",
|
49
|
+
"50430f5d-8001-4157-800f-f721bd89132a"
|
50
|
+
]
|
51
|
+
},
|
52
|
+
"answer_feedback": {},
|
53
|
+
"scoring_algorithm": "AllOrNothing",
|
54
|
+
"interaction_type_slug": "multi-answer",
|
55
|
+
"feedback": {}
|
56
|
+
}
|
57
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"id": "21",
|
3
|
+
"position": 6,
|
4
|
+
"points_possible": 3.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "MC-with feedback",
|
12
|
+
"item_body": "<p>This is <strong>stem</strong> with <span style=\"text-decoration: underline;\">formatting<br><br></span></p><p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {
|
15
|
+
"choices": [
|
16
|
+
{
|
17
|
+
"id": "c537d12a-863d-4d09-ab72-76443d011fc3",
|
18
|
+
"position": 1,
|
19
|
+
"item_body": "<p>a</p>"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"id": "ef867920-4248-40ed-8407-824ad950b06a",
|
23
|
+
"position": 2,
|
24
|
+
"item_body": "<p>b</p>"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"id": "62af8f8c-edbe-4fd4-963a-b440e5b4b15c",
|
28
|
+
"position": 3,
|
29
|
+
"item_body": "<p>c</p>"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"id": "c97895b1-184e-4894-b3f0-5b6f14dca68d",
|
33
|
+
"position": 4,
|
34
|
+
"item_body": "<p>d</p>"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
},
|
38
|
+
"properties": {
|
39
|
+
"shuffle_rules": {
|
40
|
+
"choices": {
|
41
|
+
"to_lock": [
|
42
|
+
3,
|
43
|
+
1
|
44
|
+
],
|
45
|
+
"shuffled": true
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"vary_points_by_answer": false
|
49
|
+
},
|
50
|
+
"scoring_data": {
|
51
|
+
"value": "c537d12a-863d-4d09-ab72-76443d011fc3"
|
52
|
+
},
|
53
|
+
"answer_feedback": {
|
54
|
+
"62af8f8c-edbe-4fd4-963a-b440e5b4b15c": "<p>Feedback c</p>",
|
55
|
+
"c537d12a-863d-4d09-ab72-76443d011fc3": "<p>feedback a</p>",
|
56
|
+
"ef867920-4248-40ed-8407-824ad950b06a": "<p>feedback b</p>"
|
57
|
+
},
|
58
|
+
"scoring_algorithm": "Equivalence",
|
59
|
+
"interaction_type_slug": "choice",
|
60
|
+
"feedback": {
|
61
|
+
"neutral": "<p>General feedback</p>",
|
62
|
+
"correct": "<p>Correct answer feedback</p>",
|
63
|
+
"incorrect": "<p>Incorrect answer feedback</p>"
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{
|
2
|
+
"id": "17",
|
3
|
+
"position": 1,
|
4
|
+
"points_possible": 1.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Question 1",
|
12
|
+
"item_body": "<p>Which of the following statements are not equivalent to the following?</p>\n<p><img class=\"equation_image\" title=\"2x=4\" src=\"/equation_images/2x%253D4?scale=1\" alt=\"LaTeX: 2x=4\" data-equation-content=\"2x=4\" data-ignore-a11y-check=\"\"><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {
|
15
|
+
"choices": [
|
16
|
+
{
|
17
|
+
"id": "f6bfe582-afbd-4289-9a74-e581856c98ac",
|
18
|
+
"position": 1,
|
19
|
+
"item_body": "<p><img class=\"equation_image\" title=\"1x=2\" src=\"/equation_images/1x%253D2?scale=1\" alt=\"LaTeX: 1x=2\" data-equation-content=\"1x=2\" data-ignore-a11y-check=\"\"></p>"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"id": "289a9b39-f922-48c1-aabf-1a91f68ea0f3",
|
23
|
+
"position": 2,
|
24
|
+
"item_body": "<p><img class=\"equation_image\" title=\"3x=6\" src=\"/equation_images/3x%253D6?scale=1\" alt=\"LaTeX: 3x=6\" data-equation-content=\"3x=6\" data-ignore-a11y-check=\"\"></p>"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"id": "b9c8eb14-fea5-44c1-a049-4cf767c01c27",
|
28
|
+
"position": 3,
|
29
|
+
"item_body": "<p><img class=\"equation_image\" title=\"4x=8\" src=\"/equation_images/4x%253D8?scale=1\" alt=\"LaTeX: 4x=8\" data-equation-content=\"4x=8\" data-ignore-a11y-check=\"\"></p>"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"id": "2fe41298-b4b5-418c-ab5d-2604ff7b8a45",
|
33
|
+
"position": 4,
|
34
|
+
"item_body": "<p><img class=\"equation_image\" title=\"3x=3\" src=\"/equation_images/3x%253D3?scale=1\" alt=\"LaTeX: 3x=3\" data-equation-content=\"3x=3\" data-ignore-a11y-check=\"\"></p>"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
},
|
38
|
+
"properties": {
|
39
|
+
"shuffle_rules": {
|
40
|
+
"choices": {
|
41
|
+
"to_lock": [],
|
42
|
+
"shuffled": false
|
43
|
+
}
|
44
|
+
},
|
45
|
+
"vary_points_by_answer": false
|
46
|
+
},
|
47
|
+
"scoring_data": {
|
48
|
+
"value": "2fe41298-b4b5-418c-ab5d-2604ff7b8a45"
|
49
|
+
},
|
50
|
+
"answer_feedback": {},
|
51
|
+
"scoring_algorithm": "Equivalence",
|
52
|
+
"interaction_type_slug": "choice",
|
53
|
+
"feedback": {}
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"id": "178",
|
3
|
+
"position": 1,
|
4
|
+
"points_possible": 1.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Numeric 1",
|
12
|
+
"item_body": "<p>This is a sample question for numerical type</p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\" />",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {},
|
15
|
+
"properties": {},
|
16
|
+
"scoring_data": {
|
17
|
+
"value": [
|
18
|
+
{
|
19
|
+
"id": "1",
|
20
|
+
"type": "exactResponse",
|
21
|
+
"value": "100"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"id": "2e348c4e-08eb-4512-9a78-79d5006c96e6",
|
25
|
+
"type": "marginOfError",
|
26
|
+
"value": "50",
|
27
|
+
"margin": "20",
|
28
|
+
"margin_type": "percent"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"id": "d85beee9-e3d3-4eb5-9e69-470c5241f5e1",
|
32
|
+
"type": "marginOfError",
|
33
|
+
"value": "50",
|
34
|
+
"margin": "15",
|
35
|
+
"margin_type": "absolute"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"id": "c4ca1470-cb9c-43c0-9719-25eb089e810c",
|
39
|
+
"end": "100",
|
40
|
+
"type": "withinARange",
|
41
|
+
"start": "50"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"id": "6f5af47c-2d86-453c-91c4-dd5a977d92b0",
|
45
|
+
"type": "preciseResponse",
|
46
|
+
"value": "12.345",
|
47
|
+
"precision": "5",
|
48
|
+
"precision_type": "significantDigits"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"id": "15c06a91-7ba7-4f18-8228-78e316798902",
|
52
|
+
"type": "preciseResponse",
|
53
|
+
"value": "3.14159",
|
54
|
+
"precision": "5",
|
55
|
+
"precision_type": "decimals"
|
56
|
+
}
|
57
|
+
]
|
58
|
+
},
|
59
|
+
"answer_feedback": {},
|
60
|
+
"scoring_algorithm": "Numeric",
|
61
|
+
"interaction_type_slug": "numeric",
|
62
|
+
"feedback": {}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
{
|
2
|
+
"id": "3",
|
3
|
+
"position": 2,
|
4
|
+
"points_possible": 1.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Order Quiz #2",
|
12
|
+
"item_body": "<p>Question <strong>stem</strong></p><p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {
|
15
|
+
"choices": {
|
16
|
+
"a55c815a-8ed0-4365-b51f-19bfe1cfbdf8": {
|
17
|
+
"id": "a55c815a-8ed0-4365-b51f-19bfe1cfbdf8",
|
18
|
+
"item_body": "<p>3</p>"
|
19
|
+
},
|
20
|
+
"c0f5090c-7ff7-420e-ae2d-62a14a9d6939": {
|
21
|
+
"id": "c0f5090c-7ff7-420e-ae2d-62a14a9d6939",
|
22
|
+
"item_body": "<p>4</p>"
|
23
|
+
},
|
24
|
+
"c3c50dbe-eb6e-452a-a115-4482378e2c89": {
|
25
|
+
"id": "c3c50dbe-eb6e-452a-a115-4482378e2c89",
|
26
|
+
"item_body": "<p>2</p>"
|
27
|
+
},
|
28
|
+
"d2032e75-a139-4e11-b19e-5de50bbce1ff": {
|
29
|
+
"id": "d2032e75-a139-4e11-b19e-5de50bbce1ff",
|
30
|
+
"item_body": "<p>11</p>"
|
31
|
+
},
|
32
|
+
"f4fc7b1a-4a0b-46f3-94ec-5e43cea565f8": {
|
33
|
+
"id": "f4fc7b1a-4a0b-46f3-94ec-5e43cea565f8",
|
34
|
+
"item_body": "<p>0</p>"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"item_body": ""
|
38
|
+
},
|
39
|
+
"properties": {
|
40
|
+
"top_label": "top?",
|
41
|
+
"bottom_label": "Bottom label?",
|
42
|
+
"shuffle_rules": null,
|
43
|
+
"include_labels": true,
|
44
|
+
"display_answers_paragraph": false
|
45
|
+
},
|
46
|
+
"scoring_data": {
|
47
|
+
"value": [
|
48
|
+
"c0f5090c-7ff7-420e-ae2d-62a14a9d6939",
|
49
|
+
"a55c815a-8ed0-4365-b51f-19bfe1cfbdf8",
|
50
|
+
"c3c50dbe-eb6e-452a-a115-4482378e2c89",
|
51
|
+
"d2032e75-a139-4e11-b19e-5de50bbce1ff",
|
52
|
+
"f4fc7b1a-4a0b-46f3-94ec-5e43cea565f8"
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"answer_feedback": {},
|
56
|
+
"scoring_algorithm": "DeepEquals",
|
57
|
+
"interaction_type_slug": "ordering",
|
58
|
+
"feedback": {}
|
59
|
+
}
|
60
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"id": "10",
|
3
|
+
"position": 1,
|
4
|
+
"points_possible": 0.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Stimulus",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Stimulus Title",
|
12
|
+
"body": "<p>The content in <sub>question</sub>. With <strong>some</strong> funky <span style=\"text-decoration: underline;\">extra</span> <em>words</em> <span style=\"color: #f1c40f;\">that</span> I can <span style=\"background-color: #843fa1;\">format</span></p><p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"instructions": "Here are some instructions",
|
14
|
+
"source_url": "",
|
15
|
+
"orientation": "left"
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"id": "23",
|
3
|
+
"position": 8,
|
4
|
+
"points_possible": 1.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "TF question",
|
12
|
+
"item_body": "<p>This is<span style=\"color: #f1c40f;\"> the</span> stem/stimulus <strong>with</strong> <span style=\"text-decoration: underline;\">some</span> formatting</p><p><img src=\"https://dummy-inscloudgate.net/files/3ec7226b-fd6d-49df-8236-cb52001ea10b?token=eyJ0eXAiOiJKV1QiLCJhbGciOi\" alt=\"Alternative Text\"></p>",
|
13
|
+
"calculator_type": "basic",
|
14
|
+
"interaction_data": {
|
15
|
+
"true_choice": "True",
|
16
|
+
"false_choice": "False"
|
17
|
+
},
|
18
|
+
"properties": {},
|
19
|
+
"scoring_data": {
|
20
|
+
"value": true
|
21
|
+
},
|
22
|
+
"answer_feedback": {},
|
23
|
+
"scoring_algorithm": "Equivalence",
|
24
|
+
"interaction_type_slug": "true-false",
|
25
|
+
"feedback": {}
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"id": "21",
|
3
|
+
"position": 6,
|
4
|
+
"points_possible": 3.0,
|
5
|
+
"properties": {},
|
6
|
+
"entry_type": "Item",
|
7
|
+
"entry_editable": true,
|
8
|
+
"stimulus_quiz_entry_id": "",
|
9
|
+
"status": "mutable",
|
10
|
+
"entry": {
|
11
|
+
"title": "Unknown Question Type",
|
12
|
+
"interaction_type_slug": "Unknown"
|
13
|
+
}
|
14
|
+
}
|