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,180 @@
|
|
1
|
+
{
|
2
|
+
"id": "10",
|
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>Roses are <span id=\"blank_a958d3ca-eda4-497b-9a26-506a8a05ce30\"></span>,</p>\n<p>Violets are <span id=\"blank_177ead49-c8af-4c2d-86b3-b2e621671349\"></span>. </p>\n<p>Sugar is <span id=\"blank_6d38290f-cf3f-47f6-9fc0-b6d81cb249bc\"></span>, </p>\n<p>And so are <span id=\"blank_4dc29bfa-486a-45cb-a82b-a947c1743fcd\"></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
|
+
"blanks": [
|
16
|
+
{
|
17
|
+
"id": "a958d3ca-eda4-497b-9a26-506a8a05ce30",
|
18
|
+
"choices": [
|
19
|
+
{
|
20
|
+
"id": "7159ca9b-b34e-4943-b8fc-25e80584b239",
|
21
|
+
"position": 1,
|
22
|
+
"item_body": "red"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"id": "013a6e3c-8df0-42da-aa26-eca56cbcdaef",
|
26
|
+
"position": 2,
|
27
|
+
"item_body": "green"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"id": "71c099a8-c4de-467b-82d6-bf22c533681f",
|
31
|
+
"position": 3,
|
32
|
+
"item_body": "yellow"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"answer_type": "dropdown"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"id": "177ead49-c8af-4c2d-86b3-b2e621671349",
|
39
|
+
"choices": [
|
40
|
+
{
|
41
|
+
"id": "c737e667-4873-4852-92cd-f56f6bd6ce72",
|
42
|
+
"position": 1,
|
43
|
+
"item_body": "blue"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"id": "56a8080f-5958-420b-8ffc-f391cbf637cc",
|
47
|
+
"position": 2,
|
48
|
+
"item_body": "purple"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"id": "34e8a3b6-f3e3-41cf-8c87-fa8ffadca0e3",
|
52
|
+
"position": 3,
|
53
|
+
"item_body": "gray"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"answer_type": "dropdown"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"id": "6d38290f-cf3f-47f6-9fc0-b6d81cb249bc",
|
60
|
+
"choices": [
|
61
|
+
{
|
62
|
+
"id": "8459ba25-966a-426c-93e8-f65a162374ab",
|
63
|
+
"position": 1,
|
64
|
+
"item_body": "sweet"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"id": "a18b2428-8399-469d-ae3d-e8538f36b44b",
|
68
|
+
"position": 2,
|
69
|
+
"item_body": "sour"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"id": "ad0540ed-0425-4ca4-ae89-1f2b22d3147e",
|
73
|
+
"position": 3,
|
74
|
+
"item_body": "bitter"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"answer_type": "dropdown"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"id": "4dc29bfa-486a-45cb-a82b-a947c1743fcd",
|
81
|
+
"choices": [
|
82
|
+
{
|
83
|
+
"id": "2c11d75a-0add-41c0-bf8e-367d0694b6bc",
|
84
|
+
"position": 1,
|
85
|
+
"item_body": "you"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"id": "8b020760-66d7-46dd-9b47-25ee745af017",
|
89
|
+
"position": 2,
|
90
|
+
"item_body": "they"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"id": "f3ec64d2-0793-4f0a-b4a4-f0c7b443da46",
|
94
|
+
"position": 3,
|
95
|
+
"item_body": "that guy"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"answer_type": "dropdown"
|
99
|
+
}
|
100
|
+
]
|
101
|
+
},
|
102
|
+
"properties": {
|
103
|
+
"shuffle_rules": {
|
104
|
+
"blanks": {
|
105
|
+
"children": {
|
106
|
+
"0": {
|
107
|
+
"children": {
|
108
|
+
"choices": {
|
109
|
+
"shuffled": true
|
110
|
+
}
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"1": {
|
114
|
+
"children": {
|
115
|
+
"choices": {
|
116
|
+
"shuffled": true
|
117
|
+
}
|
118
|
+
}
|
119
|
+
},
|
120
|
+
"2": {
|
121
|
+
"children": {
|
122
|
+
"choices": {
|
123
|
+
"shuffled": true
|
124
|
+
}
|
125
|
+
}
|
126
|
+
},
|
127
|
+
"3": {
|
128
|
+
"children": {
|
129
|
+
"choices": {
|
130
|
+
"shuffled": true
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"scoring_data": {
|
139
|
+
"value": [
|
140
|
+
{
|
141
|
+
"id": "a958d3ca-eda4-497b-9a26-506a8a05ce30",
|
142
|
+
"scoring_data": {
|
143
|
+
"value": "7159ca9b-b34e-4943-b8fc-25e80584b239",
|
144
|
+
"blank_text": "red"
|
145
|
+
},
|
146
|
+
"scoring_algorithm": "Equivalence"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"id": "177ead49-c8af-4c2d-86b3-b2e621671349",
|
150
|
+
"scoring_data": {
|
151
|
+
"value": "c737e667-4873-4852-92cd-f56f6bd6ce72",
|
152
|
+
"blank_text": "blue"
|
153
|
+
},
|
154
|
+
"scoring_algorithm": "Equivalence"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"id": "6d38290f-cf3f-47f6-9fc0-b6d81cb249bc",
|
158
|
+
"scoring_data": {
|
159
|
+
"value": "8459ba25-966a-426c-93e8-f65a162374ab",
|
160
|
+
"blank_text": "sweet"
|
161
|
+
},
|
162
|
+
"scoring_algorithm": "Equivalence"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"id": "4dc29bfa-486a-45cb-a82b-a947c1743fcd",
|
166
|
+
"scoring_data": {
|
167
|
+
"value": "2c11d75a-0add-41c0-bf8e-367d0694b6bc",
|
168
|
+
"blank_text": "you"
|
169
|
+
},
|
170
|
+
"scoring_algorithm": "Equivalence"
|
171
|
+
}
|
172
|
+
],
|
173
|
+
"working_item_body": "<p>Roses are `red`,</p>\n<p>Violets are `blue`. </p>\n<p>Sugar is `sweet`, </p>\n<p>And so are `you`.</p>"
|
174
|
+
},
|
175
|
+
"answer_feedback": {},
|
176
|
+
"scoring_algorithm": "MultipleMethods",
|
177
|
+
"interaction_type_slug": "rich-fill-blank",
|
178
|
+
"feedback": {}
|
179
|
+
}
|
180
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"id": "16",
|
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><img class=\"equation_image\" title=\"2+2=\" src=\"/equation_images/2%252B2%253D?scale=1\" alt=\"LaTeX: 2+2=\" data-equation-content=\"2+2=\" data-ignore-a11y-check=\"\"> <span id=\"blank_390cb862-cd74-4745-b5f8-d821893846d9\"></span><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
|
+
"blanks": [
|
16
|
+
{
|
17
|
+
"id": "390cb862-cd74-4745-b5f8-d821893846d9",
|
18
|
+
"answer_type": "openEntry"
|
19
|
+
}
|
20
|
+
]
|
21
|
+
},
|
22
|
+
"properties": {
|
23
|
+
"shuffle_rules": {
|
24
|
+
"blanks": {}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"scoring_data": {
|
28
|
+
"value": [
|
29
|
+
{
|
30
|
+
"id": "390cb862-cd74-4745-b5f8-d821893846d9",
|
31
|
+
"scoring_data": {
|
32
|
+
"value": "4",
|
33
|
+
"blank_text": "4"
|
34
|
+
},
|
35
|
+
"scoring_algorithm": "TextContainsAnswer"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"working_item_body": "<p><img class=\"equation_image\" title=\"2+2=\" src=\"/equation_images/2%252B2%253D?scale=1\" alt=\"LaTeX: 2+2=\" data-equation-content=\"2+2=\" data-ignore-a11y-check=\"\"> `4`</p>"
|
39
|
+
},
|
40
|
+
"answer_feedback": {},
|
41
|
+
"scoring_algorithm": "MultipleMethods",
|
42
|
+
"interaction_type_slug": "rich-fill-blank",
|
43
|
+
"feedback": {}
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,188 @@
|
|
1
|
+
{
|
2
|
+
"id": "21",
|
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>Roses are <span id=\"blank_12b3c719-eda5-444d-a66c-3bf5285244e8\"></span>, violets are <span id=\"blank_a818a043-6f68-4f83-a511-4d1d5cbba462\"></span>.</p>\n<p>Sugar is <span id=\"blank_e6a20598-2e85-4afc-9da8-f1052477b489\"></span>, and so are <span id=\"blank_b85a1606-a1e0-45cc-b1ef-67e752ecbeac\"></span>.</p>\n<p>To each their <span id=\"blank_f250f8ed-d9e7-4faa-aefb-1af557dd293f\"></span>.</p>\n<p>Bada bing, bada <span id=\"blank_6a94ae8a-d0dc-4c1d-aebc-800b780e5d8d\"></span>.</p>\n<p>Like two peas in a <span id=\"blank_7ebc9c6b-166a-4c85-bf03-df04e9116c1e\"></span>.</p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {
|
15
|
+
"blanks": [
|
16
|
+
{
|
17
|
+
"id": "12b3c719-eda5-444d-a66c-3bf5285244e8",
|
18
|
+
"answer_type": "openEntry"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"id": "a818a043-6f68-4f83-a511-4d1d5cbba462",
|
22
|
+
"answer_type": "openEntry"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"id": "e6a20598-2e85-4afc-9da8-f1052477b489",
|
26
|
+
"answer_type": "openEntry"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"id": "b85a1606-a1e0-45cc-b1ef-67e752ecbeac",
|
30
|
+
"answer_type": "openEntry"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"id": "f250f8ed-d9e7-4faa-aefb-1af557dd293f",
|
34
|
+
"answer_type": "openEntry"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"id": "6a94ae8a-d0dc-4c1d-aebc-800b780e5d8d",
|
38
|
+
"choices": [
|
39
|
+
{
|
40
|
+
"id": "36f86094-4b84-498c-83f7-124b8c112347",
|
41
|
+
"position": 1,
|
42
|
+
"item_body": "boom"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"id": "662ec54d-29c7-4ada-9369-56bcdc7e9e83",
|
46
|
+
"position": 2,
|
47
|
+
"item_body": "broom"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"id": "c9f51d1a-3faf-4118-b615-88ad73a73307",
|
51
|
+
"position": 3,
|
52
|
+
"item_body": "room"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"answer_type": "dropdown"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"id": "7ebc9c6b-166a-4c85-bf03-df04e9116c1e",
|
59
|
+
"choices": null,
|
60
|
+
"answer_type": "wordbank"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"word_bank_choices": [
|
64
|
+
{
|
65
|
+
"id": "1aa83ce4-ae1d-44bc-82b9-acd1181330fc",
|
66
|
+
"item_body": "rod"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"id": "8fac748e-a391-4fbb-915d-c5182dd9cde0",
|
70
|
+
"item_body": "pod"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"id": "4024c740-a567-4717-a6ad-624657ac218b",
|
74
|
+
"item_body": "quad"
|
75
|
+
}
|
76
|
+
]
|
77
|
+
},
|
78
|
+
"properties": {
|
79
|
+
"shuffle_rules": {
|
80
|
+
"blanks": {
|
81
|
+
"children": {
|
82
|
+
"0": {
|
83
|
+
"children": null
|
84
|
+
},
|
85
|
+
"1": {
|
86
|
+
"children": null
|
87
|
+
},
|
88
|
+
"2": {
|
89
|
+
"children": null
|
90
|
+
},
|
91
|
+
"3": {
|
92
|
+
"children": null
|
93
|
+
},
|
94
|
+
"4": {
|
95
|
+
"children": null
|
96
|
+
},
|
97
|
+
"5": {
|
98
|
+
"children": {
|
99
|
+
"choices": {
|
100
|
+
"shuffled": true
|
101
|
+
}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"6": {
|
105
|
+
"children": {
|
106
|
+
"choices": {
|
107
|
+
"shuffled": true
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
},
|
115
|
+
"scoring_data": {
|
116
|
+
"value": [
|
117
|
+
{
|
118
|
+
"id": "12b3c719-eda5-444d-a66c-3bf5285244e8",
|
119
|
+
"scoring_data": {
|
120
|
+
"value": "red",
|
121
|
+
"blank_text": "red"
|
122
|
+
},
|
123
|
+
"scoring_algorithm": "TextContainsAnswer"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"id": "a818a043-6f68-4f83-a511-4d1d5cbba462",
|
127
|
+
"scoring_data": {
|
128
|
+
"value": "blue",
|
129
|
+
"blank_text": "blue",
|
130
|
+
"ignore_case": false,
|
131
|
+
"edit_distance": 1
|
132
|
+
},
|
133
|
+
"scoring_algorithm": "TextCloseEnough"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"id": "e6a20598-2e85-4afc-9da8-f1052477b489",
|
137
|
+
"scoring_data": {
|
138
|
+
"value": "sweet",
|
139
|
+
"blank_text": "sweet"
|
140
|
+
},
|
141
|
+
"scoring_algorithm": "TextEquivalence"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"id": "b85a1606-a1e0-45cc-b1ef-67e752ecbeac",
|
145
|
+
"scoring_data": {
|
146
|
+
"value": [
|
147
|
+
"you",
|
148
|
+
"youu",
|
149
|
+
"youuu"
|
150
|
+
],
|
151
|
+
"blank_text": "you"
|
152
|
+
},
|
153
|
+
"scoring_algorithm": "TextInChoices"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"id": "f250f8ed-d9e7-4faa-aefb-1af557dd293f",
|
157
|
+
"scoring_data": {
|
158
|
+
"value": "own",
|
159
|
+
"blank_text": "own"
|
160
|
+
},
|
161
|
+
"scoring_algorithm": "TextRegex"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"id": "6a94ae8a-d0dc-4c1d-aebc-800b780e5d8d",
|
165
|
+
"scoring_data": {
|
166
|
+
"value": "36f86094-4b84-498c-83f7-124b8c112347",
|
167
|
+
"blank_text": "boom"
|
168
|
+
},
|
169
|
+
"scoring_algorithm": "Equivalence"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"id": "7ebc9c6b-166a-4c85-bf03-df04e9116c1e",
|
173
|
+
"scoring_data": {
|
174
|
+
"value": "pod",
|
175
|
+
"choice_id": "8fac748e-a391-4fbb-915d-c5182dd9cde0",
|
176
|
+
"blank_text": "pod"
|
177
|
+
},
|
178
|
+
"scoring_algorithm": "TextEquivalence"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"working_item_body": "<p>Roses are `red`, violets are `blue`.</p>\n<p>Sugar is `sweet`, and so are `you`.</p>\n<p>To each their `own`.</p>\n<p>Bada bing, bada `boom`.</p>\n<p>Like two peas in a `pod`.</p>"
|
182
|
+
},
|
183
|
+
"answer_feedback": {},
|
184
|
+
"scoring_algorithm": "MultipleMethods",
|
185
|
+
"interaction_type_slug": "rich-fill-blank",
|
186
|
+
"feedback": {}
|
187
|
+
}
|
188
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
{
|
2
|
+
"id": "10",
|
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>Roses are <span id=\"blank_a958d3ca-eda4-497b-9a26-506a8a05ce30\"></span>,</p>\n<p>Violets are <span id=\"blank_177ead49-c8af-4c2d-86b3-b2e621671349\"></span>. </p>\n<p>Sugar is <span id=\"blank_6d38290f-cf3f-47f6-9fc0-b6d81cb249bc\"></span>, </p>\n<p>And so are <span id=\"blank_4dc29bfa-486a-45cb-a82b-a947c1743fcd\"></span>.</p>\n<p>That is <span id=\"blank_cca96eaa-471a-4c60-944c-c57905d51ebc\"></span>, </p>\n<p>I love you <span id=\"blank_e79f78a0-2d21-40e4-862f-eb7aa446b336\"></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
|
+
"blanks": [
|
16
|
+
{
|
17
|
+
"id": "a958d3ca-eda4-497b-9a26-506a8a05ce30",
|
18
|
+
"choices": null,
|
19
|
+
"answer_type": "openEntry"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"id": "177ead49-c8af-4c2d-86b3-b2e621671349",
|
23
|
+
"choices": null,
|
24
|
+
"answer_type": "openEntry"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"id": "6d38290f-cf3f-47f6-9fc0-b6d81cb249bc",
|
28
|
+
"choices": null,
|
29
|
+
"answer_type": "openEntry"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"id": "4dc29bfa-486a-45cb-a82b-a947c1743fcd",
|
33
|
+
"choices": null,
|
34
|
+
"answer_type": "openEntry"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"id": "cca96eaa-471a-4c60-944c-c57905d51ebc",
|
38
|
+
"answer_type": "openEntry"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"id": "e79f78a0-2d21-40e4-862f-eb7aa446b336",
|
42
|
+
"answer_type": "openEntry"
|
43
|
+
}
|
44
|
+
]
|
45
|
+
},
|
46
|
+
"properties": {
|
47
|
+
"shuffle_rules": {
|
48
|
+
"blanks": {
|
49
|
+
"children": {
|
50
|
+
"0": {
|
51
|
+
"children": null
|
52
|
+
},
|
53
|
+
"1": {
|
54
|
+
"children": null
|
55
|
+
},
|
56
|
+
"2": {
|
57
|
+
"children": null
|
58
|
+
},
|
59
|
+
"3": {
|
60
|
+
"children": null
|
61
|
+
},
|
62
|
+
"4": {
|
63
|
+
"children": null
|
64
|
+
},
|
65
|
+
"5": {
|
66
|
+
"children": null
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"scoring_data": {
|
73
|
+
"value": [
|
74
|
+
{
|
75
|
+
"id": "a958d3ca-eda4-497b-9a26-506a8a05ce30",
|
76
|
+
"scoring_data": {
|
77
|
+
"value": "red",
|
78
|
+
"blank_text": "red"
|
79
|
+
},
|
80
|
+
"scoring_algorithm": "TextContainsAnswer"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"id": "177ead49-c8af-4c2d-86b3-b2e621671349",
|
84
|
+
"scoring_data": {
|
85
|
+
"value": "blue",
|
86
|
+
"blank_text": "blue",
|
87
|
+
"ignore_case": false,
|
88
|
+
"edit_distance": 1
|
89
|
+
},
|
90
|
+
"scoring_algorithm": "TextCloseEnough"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"id": "6d38290f-cf3f-47f6-9fc0-b6d81cb249bc",
|
94
|
+
"scoring_data": {
|
95
|
+
"value": "sweet",
|
96
|
+
"blank_text": "sweet"
|
97
|
+
},
|
98
|
+
"scoring_algorithm": "TextEquivalence"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"id": "4dc29bfa-486a-45cb-a82b-a947c1743fcd",
|
102
|
+
"scoring_data": {
|
103
|
+
"value": [
|
104
|
+
"you",
|
105
|
+
"youu",
|
106
|
+
"youuu"
|
107
|
+
],
|
108
|
+
"blank_text": "you"
|
109
|
+
},
|
110
|
+
"scoring_algorithm": "TextInChoices"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"id": "cca96eaa-471a-4c60-944c-c57905d51ebc",
|
114
|
+
"scoring_data": {
|
115
|
+
"value": "why",
|
116
|
+
"blank_text": "why"
|
117
|
+
},
|
118
|
+
"scoring_algorithm": "TextRegex"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"id": "e79f78a0-2d21-40e4-862f-eb7aa446b336",
|
122
|
+
"scoring_data": {
|
123
|
+
"value": [
|
124
|
+
"too",
|
125
|
+
"tooo",
|
126
|
+
"toooo"
|
127
|
+
],
|
128
|
+
"blank_text": "too"
|
129
|
+
},
|
130
|
+
"scoring_algorithm": "TextInChoices"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"working_item_body": "<p>Roses are `red`,</p>\n<p>Violets are `blue`. </p>\n<p>Sugar is `sweet`, </p>\n<p>And so are `you`.</p>\n<p>That is `why`, </p>\n<p>I love you `too`.</p>"
|
134
|
+
},
|
135
|
+
"answer_feedback": {},
|
136
|
+
"scoring_algorithm": "MultipleMethods",
|
137
|
+
"interaction_type_slug": "rich-fill-blank",
|
138
|
+
"feedback": {}
|
139
|
+
}
|
140
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"id": "6",
|
3
|
+
"position": 5,
|
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": "Formula item",
|
12
|
+
"item_body": "<p>5 + `x` = 8</p>",
|
13
|
+
"calculator_type": "none",
|
14
|
+
"interaction_data": {},
|
15
|
+
"properties": {},
|
16
|
+
"scoring_data": {
|
17
|
+
"value": {
|
18
|
+
"formula": "x=8-5",
|
19
|
+
"numeric": {
|
20
|
+
"type": "marginOfError",
|
21
|
+
"margin": "0",
|
22
|
+
"margin_type": "absolute"
|
23
|
+
},
|
24
|
+
"variables": [
|
25
|
+
{
|
26
|
+
"max": "3",
|
27
|
+
"min": "3",
|
28
|
+
"name": "x",
|
29
|
+
"precision": 0
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"answer_count": "1",
|
33
|
+
"generated_solutions": [
|
34
|
+
{
|
35
|
+
"inputs": [
|
36
|
+
{
|
37
|
+
"name": "x",
|
38
|
+
"value": "3"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"output": "3"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"answer_feedback": {},
|
47
|
+
"scoring_algorithm": "Numeric",
|
48
|
+
"interaction_type_slug": "formula",
|
49
|
+
"feedback": {}
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"id": "14",
|
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": "Oval Type 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": "oval",
|
21
|
+
"coordinates": [
|
22
|
+
{
|
23
|
+
"x": 0.02887394436690211,
|
24
|
+
"y": 0.1205426455241925
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"x": 0.4403276515952572,
|
28
|
+
"y": 0.4691389447428033
|
29
|
+
}
|
30
|
+
]
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"answer_feedback": {},
|
34
|
+
"scoring_algorithm": "HotSpot",
|
35
|
+
"interaction_type_slug": "hot-spot",
|
36
|
+
"feedback": {}
|
37
|
+
}
|
38
|
+
}
|