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.
Files changed (116) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +9 -0
  3. data/README.md +33 -0
  4. data/lib/ams_migration/canvas/converter/classic_quiz/calculated.rb +33 -0
  5. data/lib/ams_migration/canvas/converter/classic_quiz/classic_question.rb +114 -0
  6. data/lib/ams_migration/canvas/converter/classic_quiz/essay.rb +36 -0
  7. data/lib/ams_migration/canvas/converter/classic_quiz/file_upload.rb +35 -0
  8. data/lib/ams_migration/canvas/converter/classic_quiz/fill_in_blank.rb +63 -0
  9. data/lib/ams_migration/canvas/converter/classic_quiz/fill_in_multiple_blanks.rb +111 -0
  10. data/lib/ams_migration/canvas/converter/classic_quiz/matching.rb +66 -0
  11. data/lib/ams_migration/canvas/converter/classic_quiz/multiple_answer.rb +27 -0
  12. data/lib/ams_migration/canvas/converter/classic_quiz/multiple_choice.rb +57 -0
  13. data/lib/ams_migration/canvas/converter/classic_quiz/multiple_dropdown.rb +126 -0
  14. data/lib/ams_migration/canvas/converter/classic_quiz/numerical.rb +89 -0
  15. data/lib/ams_migration/canvas/converter/classic_quiz/text.rb +28 -0
  16. data/lib/ams_migration/canvas/converter/classic_quiz/true_false.rb +14 -0
  17. data/lib/ams_migration/canvas/converter/classic_quiz/unknown.rb +31 -0
  18. data/lib/ams_migration/canvas/converter/new_quiz/categorization.rb +108 -0
  19. data/lib/ams_migration/canvas/converter/new_quiz/essay.rb +78 -0
  20. data/lib/ams_migration/canvas/converter/new_quiz/file_upload.rb +33 -0
  21. data/lib/ams_migration/canvas/converter/new_quiz/fill_in_blank.rb +180 -0
  22. data/lib/ams_migration/canvas/converter/new_quiz/formula.rb +33 -0
  23. data/lib/ams_migration/canvas/converter/new_quiz/hotspot.rb +166 -0
  24. data/lib/ams_migration/canvas/converter/new_quiz/matching.rb +85 -0
  25. data/lib/ams_migration/canvas/converter/new_quiz/multiple_answer.rb +28 -0
  26. data/lib/ams_migration/canvas/converter/new_quiz/multiple_choice.rb +70 -0
  27. data/lib/ams_migration/canvas/converter/new_quiz/new_question.rb +133 -0
  28. data/lib/ams_migration/canvas/converter/new_quiz/numerical.rb +117 -0
  29. data/lib/ams_migration/canvas/converter/new_quiz/ordering.rb +68 -0
  30. data/lib/ams_migration/canvas/converter/new_quiz/stimulus.rb +35 -0
  31. data/lib/ams_migration/canvas/converter/new_quiz/true_false.rb +33 -0
  32. data/lib/ams_migration/canvas/converter/new_quiz/unknown.rb +30 -0
  33. data/lib/ams_migration/canvas/converter/question_type.rb +30 -0
  34. data/lib/ams_migration/services/README.md +26 -0
  35. data/lib/ams_migration/services/data_provider.rb +26 -0
  36. data/lib/ams_migration/services/learnosity_bank_cleaner.rb +44 -0
  37. data/lib/ams_migration/services/learnosity_data_api_client.rb +135 -0
  38. data/lib/ams_migration/services/learnosity_sink.rb +190 -0
  39. data/lib/ams_migration/services/migration_service.rb +37 -0
  40. data/lib/ams_migration/services/new_quiz_learnosity_transformer.rb +115 -0
  41. data/lib/ams_migration/version.rb +3 -0
  42. data/lib/ams_migration.rb +45 -0
  43. data/lib/factories/classic_quiz_item_converter_factory.rb +43 -0
  44. data/lib/factories/new_quiz_item_converter_factory.rb +76 -0
  45. data/spec/fixtures/sample_data/classic_quiz/calculated.json +24 -0
  46. data/spec/fixtures/sample_data/classic_quiz/essay.json +24 -0
  47. data/spec/fixtures/sample_data/classic_quiz/file_upload.json +24 -0
  48. data/spec/fixtures/sample_data/classic_quiz/fill_in_bank.json +24 -0
  49. data/spec/fixtures/sample_data/classic_quiz/fill_in_blank.json +53 -0
  50. data/spec/fixtures/sample_data/classic_quiz/fill_in_multiple_blanks.json +57 -0
  51. data/spec/fixtures/sample_data/classic_quiz/matching.json +107 -0
  52. data/spec/fixtures/sample_data/classic_quiz/multiple_answer.json +48 -0
  53. data/spec/fixtures/sample_data/classic_quiz/multiple_choice.json +56 -0
  54. data/spec/fixtures/sample_data/classic_quiz/multiple_dropdown.json +73 -0
  55. data/spec/fixtures/sample_data/classic_quiz/numerical.json +55 -0
  56. data/spec/fixtures/sample_data/classic_quiz/text.json +24 -0
  57. data/spec/fixtures/sample_data/classic_quiz/true_false.json +39 -0
  58. data/spec/fixtures/sample_data/classic_quiz/unknown.json +24 -0
  59. data/spec/fixtures/sample_data/new_quiz/bank_entry_item.json +5 -0
  60. data/spec/fixtures/sample_data/new_quiz/bank_item.json +11 -0
  61. data/spec/fixtures/sample_data/new_quiz/categorization.json +135 -0
  62. data/spec/fixtures/sample_data/new_quiz/essay.json +40 -0
  63. data/spec/fixtures/sample_data/new_quiz/file_upload.json +30 -0
  64. data/spec/fixtures/sample_data/new_quiz/fill_in_blank_association.json +162 -0
  65. data/spec/fixtures/sample_data/new_quiz/fill_in_blank_dropdown.json +180 -0
  66. data/spec/fixtures/sample_data/new_quiz/fill_in_blank_math.json +45 -0
  67. data/spec/fixtures/sample_data/new_quiz/fill_in_blank_mixed.json +188 -0
  68. data/spec/fixtures/sample_data/new_quiz/fill_in_blank_text.json +140 -0
  69. data/spec/fixtures/sample_data/new_quiz/formula.json +51 -0
  70. data/spec/fixtures/sample_data/new_quiz/hotspot_oval.json +38 -0
  71. data/spec/fixtures/sample_data/new_quiz/hotspot_polygon.json +66 -0
  72. data/spec/fixtures/sample_data/new_quiz/hotspot_square.json +38 -0
  73. data/spec/fixtures/sample_data/new_quiz/matching.json +88 -0
  74. data/spec/fixtures/sample_data/new_quiz/multiple_answer.json +57 -0
  75. data/spec/fixtures/sample_data/new_quiz/multiple_choice.json +66 -0
  76. data/spec/fixtures/sample_data/new_quiz/multiple_choice_math.json +55 -0
  77. data/spec/fixtures/sample_data/new_quiz/numerical.json +64 -0
  78. data/spec/fixtures/sample_data/new_quiz/ordering.json +60 -0
  79. data/spec/fixtures/sample_data/new_quiz/stimulus.json +17 -0
  80. data/spec/fixtures/sample_data/new_quiz/true_false.json +27 -0
  81. data/spec/fixtures/sample_data/new_quiz/unknown.json +14 -0
  82. data/spec/lib/ams_migration/services/learnosity_sink_spec.rb +198 -0
  83. data/spec/lib/canvas/converter/classic_quiz/calculated_spec.rb +26 -0
  84. data/spec/lib/canvas/converter/classic_quiz/essay_spec.rb +26 -0
  85. data/spec/lib/canvas/converter/classic_quiz/file_upload_spec.rb +23 -0
  86. data/spec/lib/canvas/converter/classic_quiz/fill_in_blank_spec.rb +30 -0
  87. data/spec/lib/canvas/converter/classic_quiz/fill_in_multiple_blanks_spec.rb +33 -0
  88. data/spec/lib/canvas/converter/classic_quiz/matching_spec.rb +38 -0
  89. data/spec/lib/canvas/converter/classic_quiz/multiple_answer_spec.rb +33 -0
  90. data/spec/lib/canvas/converter/classic_quiz/multiple_choice_spec.rb +31 -0
  91. data/spec/lib/canvas/converter/classic_quiz/multiple_dropdown_spec.rb +39 -0
  92. data/spec/lib/canvas/converter/classic_quiz/numerical_spec.rb +41 -0
  93. data/spec/lib/canvas/converter/classic_quiz/text_spec.rb +20 -0
  94. data/spec/lib/canvas/converter/classic_quiz/true_false_spec.rb +28 -0
  95. data/spec/lib/canvas/converter/classic_quiz/unknown_spec.rb +25 -0
  96. data/spec/lib/canvas/converter/common_error.rb +16 -0
  97. data/spec/lib/canvas/converter/new_quiz/categorization_spec.rb +55 -0
  98. data/spec/lib/canvas/converter/new_quiz/essay_spec.rb +26 -0
  99. data/spec/lib/canvas/converter/new_quiz/file_upload_spec.rb +24 -0
  100. data/spec/lib/canvas/converter/new_quiz/fill_in_blank_spec.rb +111 -0
  101. data/spec/lib/canvas/converter/new_quiz/formula_spec.rb +23 -0
  102. data/spec/lib/canvas/converter/new_quiz/hotspot_spec.rb +182 -0
  103. data/spec/lib/canvas/converter/new_quiz/matching_spec.rb +30 -0
  104. data/spec/lib/canvas/converter/new_quiz/multiple_answer_spec.rb +34 -0
  105. data/spec/lib/canvas/converter/new_quiz/multiple_choice_spec.rb +54 -0
  106. data/spec/lib/canvas/converter/new_quiz/numerical_spec.rb +48 -0
  107. data/spec/lib/canvas/converter/new_quiz/ordering_spec.rb +25 -0
  108. data/spec/lib/canvas/converter/new_quiz/stimulus_spec.rb +20 -0
  109. data/spec/lib/canvas/converter/new_quiz/true_false_spec.rb +24 -0
  110. data/spec/lib/canvas/converter/new_quiz/unknown_spec.rb +36 -0
  111. data/spec/lib/factories/classic_quiz_item_converter_factory_spec.rb +183 -0
  112. data/spec/lib/factories/new_quiz_item_converter_factory_spec.rb +71 -0
  113. data/spec/lib/services/learnosity_data_api_client_spec.rb +130 -0
  114. data/spec/lib/services/new_quiz_learnosity_transformer_spec.rb +196 -0
  115. data/spec/spec_helper.rb +20 -0
  116. metadata +229 -0
@@ -0,0 +1,56 @@
1
+ {
2
+ "id": 603198,
3
+ "quiz_id": 70667,
4
+ "quiz_group_id": null,
5
+ "assessment_question_id": 1251780,
6
+ "position": null,
7
+ "question_name": "Question",
8
+ "question_type": "multiple_choice_question",
9
+ "question_text": "\u003cp\u003eThis is an MC Item\u003c/p\u003e\u003cp\u003e\u003cimg class=\"equation_image\" title=\"\\sum_{23}^{23}www+f\\left(d\\right)\" src=\"https://canvas.com/equation_images/%255Csum_%257B23%257D%255E%257B23%257Dwww%252Bf%255Cleft(d%255Cright)?scale=1\" alt=\"LaTeX: \\sum_{23}^{23}www+f\\left(d\\right)\" data-equation-content=\"\\sum_{23}^{23}www+f\\left(d\\right)\" data-ignore-a11y-check=\"\" x-canvaslms-safe-mathml=\"\u003cmath xmlns=\u0026quot;http://www.w3.org/1998/Math/MathML\u0026quot;\u003e\n \u003cmunderover\u003e\n \u003cmo\u003e\u0026amp;#x2211;\u003c!-- ∑ --\u003e\u003c/mo\u003e\n \u003cmrow class=\u0026quot;MJX-TeXAtom-ORD\u0026quot;\u003e\n \u003cmn\u003e23\u003c/mn\u003e\n \u003c/mrow\u003e\n \u003cmrow class=\u0026quot;MJX-TeXAtom-ORD\u0026quot;\u003e\n \u003cmn\u003e23\u003c/mn\u003e\n \u003c/mrow\u003e\n \u003c/munderover\u003e\n \u003cmi\u003ew\u003c/mi\u003e\n \u003cmi\u003ew\u003c/mi\u003e\n \u003cmi\u003ew\u003c/mi\u003e\n \u003cmo\u003e+\u003c/mo\u003e\n \u003cmi\u003ef\u003c/mi\u003e\n \u003cmrow\u003e\n \u003cmo\u003e(\u003c/mo\u003e\n \u003cmi\u003ed\u003c/mi\u003e\n \u003cmo\u003e)\u003c/mo\u003e\n \u003c/mrow\u003e\n\u003c/math\u003e\"\u003e\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e <img src=\"https://dummyfileurl.com/file.png\" alt=\"file.png\" data-api-endpoint=\"https://dummyfileurl.com\" data-api-returntype=\"File\" />",
10
+ "points_possible": 1,
11
+ "correct_comments": "",
12
+ "incorrect_comments": "",
13
+ "neutral_comments": "",
14
+ "correct_comments_html": "",
15
+ "incorrect_comments_html": "",
16
+ "neutral_comments_html": "",
17
+ "answers": [
18
+ {
19
+ "id": 2483,
20
+ "text": "a",
21
+ "html": "<p>Correct answer</p>",
22
+ "comments": "",
23
+ "comments_html": "<p>Correct answer comments</p>",
24
+ "weight": 100
25
+ },
26
+ {
27
+ "id": 5396,
28
+ "text": "bb",
29
+ "html": "<p>Answer B<strong>more markup</strong></p>",
30
+ "comments": "",
31
+ "comments_html": "<p>Answer comments B</p>",
32
+ "weight": 0
33
+ },
34
+ {
35
+ "id": 4310,
36
+ "text": "cc",
37
+ "html": "",
38
+ "comments": "",
39
+ "comments_html": "<p>Answer comments C</p>",
40
+ "weight": 0
41
+ },
42
+ {
43
+ "id": 7473,
44
+ "text": "dd",
45
+ "comments": "",
46
+ "comments_html": "<p>Answer comments D</p>",
47
+ "weight": 0
48
+ }
49
+ ],
50
+ "variables": null,
51
+ "formulas": null,
52
+ "answer_tolerance": null,
53
+ "formula_decimal_places": null,
54
+ "matches": null,
55
+ "matching_answer_incorrect_matches": null
56
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "id": 603203,
3
+ "quiz_id": 70667,
4
+ "quiz_group_id": null,
5
+ "assessment_question_id": 1251785,
6
+ "position": null,
7
+ "question_name": "Question",
8
+ "question_type": "multiple_dropdowns_question",
9
+ "question_text": "<p><span>Roses are [color1], violets are [color2]</span></p><p> </p> <img src=\"https://dummyfileurl.com/file.png\" alt=\"file.png\" data-api-endpoint=\"https://dummyfileurl.com\" data-api-returntype=\"File\" />",
10
+ "points_possible": 1,
11
+ "correct_comments": "",
12
+ "incorrect_comments": "",
13
+ "neutral_comments": "",
14
+ "correct_comments_html": "",
15
+ "incorrect_comments_html": "",
16
+ "neutral_comments_html": "",
17
+ "answers": [
18
+ {
19
+ "id": 8008,
20
+ "text": "red",
21
+ "comments": "",
22
+ "comments_html": "<p>answer 1 comments</p>",
23
+ "weight": 100,
24
+ "blank_id": "color1"
25
+ },
26
+ {
27
+ "id": 7294,
28
+ "text": "blue",
29
+ "comments": "",
30
+ "comments_html": "<p>answer 2 comments</p>",
31
+ "weight": 0,
32
+ "blank_id": "color1"
33
+ },
34
+ {
35
+ "id": 3127,
36
+ "text": "green",
37
+ "comments": "",
38
+ "comments_html": "<p>answer 3 comments</p>",
39
+ "weight": 0,
40
+ "blank_id": "color1"
41
+ },
42
+ {
43
+ "id": 4064,
44
+ "text": "green",
45
+ "comments": "",
46
+ "comments_html": "",
47
+ "weight": 100,
48
+ "blank_id": "color2"
49
+ },
50
+ {
51
+ "id": 462,
52
+ "text": "",
53
+ "comments": "",
54
+ "comments_html": "",
55
+ "weight": 0,
56
+ "blank_id": "color2"
57
+ },
58
+ {
59
+ "id": 7144,
60
+ "text": "black",
61
+ "comments": "",
62
+ "comments_html": "",
63
+ "weight": 0,
64
+ "blank_id": "color2"
65
+ }
66
+ ],
67
+ "variables": null,
68
+ "formulas": null,
69
+ "answer_tolerance": null,
70
+ "formula_decimal_places": null,
71
+ "matches": null,
72
+ "matching_answer_incorrect_matches": null
73
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "id": 603205,
3
+ "quiz_id": 70667,
4
+ "quiz_group_id": null,
5
+ "assessment_question_id": 1251787,
6
+ "position": null,
7
+ "question_name": "Question",
8
+ "question_type": "numerical_question",
9
+ "question_text": "<p>Numerical answer stem</p> <img src=\"https://dummyfileurl.com/file.png\" alt=\"file.png\" data-api-endpoint=\"https://dummyfileurl.com\" data-api-returntype=\"File\" />",
10
+ "points_possible": 1,
11
+ "correct_comments": "",
12
+ "incorrect_comments": "",
13
+ "neutral_comments": "",
14
+ "correct_comments_html": "",
15
+ "incorrect_comments_html": "",
16
+ "neutral_comments_html": "",
17
+ "answers": [
18
+ {
19
+ "id": 2589,
20
+ "text": "",
21
+ "comments": "",
22
+ "comments_html": "<p>Exact comments</p>",
23
+ "weight": 100,
24
+ "numerical_answer_type": "exact_answer",
25
+ "exact": 20,
26
+ "margin": 0
27
+ },
28
+ {
29
+ "id": 2339,
30
+ "text": "",
31
+ "comments": "",
32
+ "comments_html": "<p>Answer in range</p>",
33
+ "weight": 100,
34
+ "numerical_answer_type": "range_answer",
35
+ "start": 18,
36
+ "end": 22
37
+ },
38
+ {
39
+ "id": 9925,
40
+ "text": "",
41
+ "comments": "",
42
+ "comments_html": "<p>Answer with precision</p>",
43
+ "weight": 100,
44
+ "numerical_answer_type": "precision_answer",
45
+ "approximate": 21.0001001,
46
+ "precision": 10
47
+ }
48
+ ],
49
+ "variables": null,
50
+ "formulas": null,
51
+ "answer_tolerance": null,
52
+ "formula_decimal_places": null,
53
+ "matches": null,
54
+ "matching_answer_incorrect_matches": null
55
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id": 610320,
3
+ "quiz_id": 71338,
4
+ "quiz_group_id": null,
5
+ "assessment_question_id": null,
6
+ "position": null,
7
+ "question_name": "Question",
8
+ "question_type": "text_only_question",
9
+ "question_text": "<p>Text here</p> <img src=\"https://dummyfileurl.com/file.png\" alt=\"file.png\" data-api-endpoint=\"https://dummyfileurl.com\" data-api-returntype=\"File\" />",
10
+ "points_possible": 0,
11
+ "correct_comments": "",
12
+ "incorrect_comments": "",
13
+ "neutral_comments": "",
14
+ "correct_comments_html": "",
15
+ "incorrect_comments_html": "",
16
+ "neutral_comments_html": "",
17
+ "answers": [],
18
+ "variables": null,
19
+ "formulas": null,
20
+ "answer_tolerance": null,
21
+ "formula_decimal_places": null,
22
+ "matches": null,
23
+ "matching_answer_incorrect_matches": null
24
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "id": 603199,
3
+ "quiz_id": 70667,
4
+ "quiz_group_id": null,
5
+ "assessment_question_id": 1251781,
6
+ "position": null,
7
+ "question_name": "Question",
8
+ "question_type": "true_false_question",
9
+ "question_text": "<p>This is true/False</p> <img src=\"https://dummyfileurl.com/file.png\" alt=\"file.png\" data-api-endpoint=\"https://dummyfileurl.com\" data-api-returntype=\"File\" />",
10
+ "points_possible": 1,
11
+ "correct_comments": "",
12
+ "incorrect_comments": "",
13
+ "neutral_comments": "",
14
+ "correct_comments_html": "",
15
+ "incorrect_comments_html": "",
16
+ "neutral_comments_html": "",
17
+ "answers": [
18
+ {
19
+ "comments": "",
20
+ "comments_html": "<p>Answer comments True</p>",
21
+ "text": "True",
22
+ "weight": 0,
23
+ "id": 8059
24
+ },
25
+ {
26
+ "comments": "",
27
+ "comments_html": "<p>Answer comments False</p>",
28
+ "text": "False",
29
+ "weight": 100,
30
+ "id": 957
31
+ }
32
+ ],
33
+ "variables": null,
34
+ "formulas": null,
35
+ "answer_tolerance": null,
36
+ "formula_decimal_places": null,
37
+ "matches": null,
38
+ "matching_answer_incorrect_matches": null
39
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id": 603198,
3
+ "quiz_id": 70667,
4
+ "quiz_group_id": null,
5
+ "assessment_question_id": 1251780,
6
+ "position": null,
7
+ "question_name": "Question",
8
+ "question_type": "Unknown",
9
+ "question_text": "\u003cp\u003eThis is an MC Item\u003c/p\u003e\u003cp\u003e\u003cimg class=\"equation_image\" title=\"\\sum_{23}^{23}www+f\\left(d\\right)\" src=\"https://canvas.com/equation_images/%255Csum_%257B23%257D%255E%257B23%257Dwww%252Bf%255Cleft(d%255Cright)?scale=1\" alt=\"LaTeX: \\sum_{23}^{23}www+f\\left(d\\right)\" data-equation-content=\"\\sum_{23}^{23}www+f\\left(d\\right)\" data-ignore-a11y-check=\"\" x-canvaslms-safe-mathml=\"\u003cmath xmlns=\u0026quot;http://www.w3.org/1998/Math/MathML\u0026quot;\u003e\n \u003cmunderover\u003e\n \u003cmo\u003e\u0026amp;#x2211;\u003c!-- ∑ --\u003e\u003c/mo\u003e\n \u003cmrow class=\u0026quot;MJX-TeXAtom-ORD\u0026quot;\u003e\n \u003cmn\u003e23\u003c/mn\u003e\n \u003c/mrow\u003e\n \u003cmrow class=\u0026quot;MJX-TeXAtom-ORD\u0026quot;\u003e\n \u003cmn\u003e23\u003c/mn\u003e\n \u003c/mrow\u003e\n \u003c/munderover\u003e\n \u003cmi\u003ew\u003c/mi\u003e\n \u003cmi\u003ew\u003c/mi\u003e\n \u003cmi\u003ew\u003c/mi\u003e\n \u003cmo\u003e+\u003c/mo\u003e\n \u003cmi\u003ef\u003c/mi\u003e\n \u003cmrow\u003e\n \u003cmo\u003e(\u003c/mo\u003e\n \u003cmi\u003ed\u003c/mi\u003e\n \u003cmo\u003e)\u003c/mo\u003e\n \u003c/mrow\u003e\n\u003c/math\u003e\"\u003e\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e <img src=\"https://dummyfileurl.com/file.png\" alt=\"file.png\" data-api-endpoint=\"https://dummyfileurl.com\" data-api-returntype=\"File\" />",
10
+ "points_possible": 1,
11
+ "correct_comments": "",
12
+ "incorrect_comments": "",
13
+ "neutral_comments": "",
14
+ "correct_comments_html": "",
15
+ "incorrect_comments_html": "",
16
+ "neutral_comments_html": "",
17
+ "answers": [],
18
+ "variables": null,
19
+ "formulas": null,
20
+ "answer_tolerance": null,
21
+ "formula_decimal_places": null,
22
+ "matches": null,
23
+ "matching_answer_incorrect_matches": null
24
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "entry_type": "Item",
3
+ "archived": false,
4
+ "entry": null
5
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "35",
3
+ "position": 2,
4
+ "points_possible": 10.0,
5
+ "entry_type": "Bank",
6
+ "entry_editable": true,
7
+ "stimulus_quiz_entry_id": "3",
8
+ "status": "mutable",
9
+ "properties": null,
10
+ "entry": null
11
+ }
@@ -0,0 +1,135 @@
1
+ {
2
+ "id": "12",
3
+ "position": 1,
4
+ "points_possible": 5.0,
5
+ "properties": {},
6
+ "entry_type": "Item",
7
+ "entry_editable": true,
8
+ "stimulus_quiz_entry_id": "",
9
+ "status": "mutable",
10
+ "entry": {
11
+ "title": "Categorization Question 1",
12
+ "item_body": "<p>Please categorize the following <strong>Force</strong> users into the category that best fits them:</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
+ "categories": {
16
+ "09bdab3b-2430-4cd6-bcb0-0d425e150a54": {
17
+ "id": "09bdab3b-2430-4cd6-bcb0-0d425e150a54",
18
+ "item_body": "Dark side of the Force"
19
+ },
20
+ "5182166f-d135-41cb-b2f0-2bd71e7e9cf5": {
21
+ "id": "5182166f-d135-41cb-b2f0-2bd71e7e9cf5",
22
+ "item_body": "Gray side of the Force"
23
+ },
24
+ "b7f16ca5-ca89-49a2-ba12-510f3508a72b": {
25
+ "id": "b7f16ca5-ca89-49a2-ba12-510f3508a72b",
26
+ "item_body": "Light side of the Force"
27
+ }
28
+ },
29
+ "distractors": {
30
+ "024dcc82-78e3-4b9e-ba91-b269e5a05c54": {
31
+ "id": "024dcc82-78e3-4b9e-ba91-b269e5a05c54",
32
+ "item_body": "C3PO"
33
+ },
34
+ "041e4fa9-4c0f-4826-810a-f5d0eaf9d47f": {
35
+ "id": "041e4fa9-4c0f-4826-810a-f5d0eaf9d47f",
36
+ "item_body": "JarJar Binks"
37
+ },
38
+ "3509fb00-2169-46ef-bea1-1bcd12ff1111": {
39
+ "id": "3509fb00-2169-46ef-bea1-1bcd12ff1111",
40
+ "item_body": "Luke Skywalker"
41
+ },
42
+ "612d0869-f718-45b0-8eb7-21397e237ec8": {
43
+ "id": "612d0869-f718-45b0-8eb7-21397e237ec8",
44
+ "item_body": "Darth Maul"
45
+ },
46
+ "6616afe8-7682-47db-aff6-e68ad5ca0c16": {
47
+ "id": "6616afe8-7682-47db-aff6-e68ad5ca0c16",
48
+ "item_body": "Obi-Wan Kenobi"
49
+ },
50
+ "6aac4489-3937-4a43-a0b4-5d3d0340ee17": {
51
+ "id": "6aac4489-3937-4a43-a0b4-5d3d0340ee17",
52
+ "item_body": "Darth Sidious"
53
+ },
54
+ "6e3b8864-b0db-428a-a347-705e05fc47fa": {
55
+ "id": "6e3b8864-b0db-428a-a347-705e05fc47fa",
56
+ "item_body": "Ahsoka Tano"
57
+ },
58
+ "806d8cb2-fdd4-4fd7-b6f3-e8a7c64374ed": {
59
+ "id": "806d8cb2-fdd4-4fd7-b6f3-e8a7c64374ed",
60
+ "item_body": "R2D2"
61
+ },
62
+ "a7bba39c-0438-42a5-ad2f-09d5c779f108": {
63
+ "id": "a7bba39c-0438-42a5-ad2f-09d5c779f108",
64
+ "item_body": "Yoda"
65
+ },
66
+ "b3b9fe25-7c1a-4157-9c30-4539474a2467": {
67
+ "id": "b3b9fe25-7c1a-4157-9c30-4539474a2467",
68
+ "item_body": "Mace Windu"
69
+ },
70
+ "c5a9795c-93f3-4e92-9c7e-cf6c2877e42a": {
71
+ "id": "c5a9795c-93f3-4e92-9c7e-cf6c2877e42a",
72
+ "item_body": "Anakin Skywalker"
73
+ },
74
+ "d2f8a497-8205-4f13-9030-1b6a92deaf3e": {
75
+ "id": "d2f8a497-8205-4f13-9030-1b6a92deaf3e",
76
+ "item_body": "Darth Tyranus"
77
+ }
78
+ },
79
+ "category_order": [
80
+ "b7f16ca5-ca89-49a2-ba12-510f3508a72b",
81
+ "09bdab3b-2430-4cd6-bcb0-0d425e150a54",
82
+ "5182166f-d135-41cb-b2f0-2bd71e7e9cf5"
83
+ ]
84
+ },
85
+ "properties": {
86
+ "shuffle_rules": {
87
+ "questions": {
88
+ "shuffled": false
89
+ }
90
+ }
91
+ },
92
+ "scoring_data": {
93
+ "value": [
94
+ {
95
+ "id": "b7f16ca5-ca89-49a2-ba12-510f3508a72b",
96
+ "scoring_data": {
97
+ "value": [
98
+ "6616afe8-7682-47db-aff6-e68ad5ca0c16",
99
+ "a7bba39c-0438-42a5-ad2f-09d5c779f108",
100
+ "b3b9fe25-7c1a-4157-9c30-4539474a2467",
101
+ "3509fb00-2169-46ef-bea1-1bcd12ff1111"
102
+ ]
103
+ },
104
+ "scoring_algorithm": "AllOrNothing"
105
+ },
106
+ {
107
+ "id": "09bdab3b-2430-4cd6-bcb0-0d425e150a54",
108
+ "scoring_data": {
109
+ "value": [
110
+ "612d0869-f718-45b0-8eb7-21397e237ec8",
111
+ "6aac4489-3937-4a43-a0b4-5d3d0340ee17",
112
+ "d2f8a497-8205-4f13-9030-1b6a92deaf3e"
113
+ ]
114
+ },
115
+ "scoring_algorithm": "AllOrNothing"
116
+ },
117
+ {
118
+ "id": "5182166f-d135-41cb-b2f0-2bd71e7e9cf5",
119
+ "scoring_data": {
120
+ "value": [
121
+ "c5a9795c-93f3-4e92-9c7e-cf6c2877e42a",
122
+ "6e3b8864-b0db-428a-a347-705e05fc47fa"
123
+ ]
124
+ },
125
+ "scoring_algorithm": "AllOrNothing"
126
+ }
127
+ ],
128
+ "score_method": "all_or_nothing"
129
+ },
130
+ "answer_feedback": {},
131
+ "scoring_algorithm": "Categorization",
132
+ "interaction_type_slug": "categorization",
133
+ "feedback": {}
134
+ }
135
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "id": "7",
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": "Rich Content Editor - no word limit, no word count, no spell check",
12
+ "item_body": "<p><strong>Question</strong> <em>stimulus</em> here <span style=\"text-decoration: underline;\">with</span> some <span style=\"text-decoration: underline;\"><em>extra</em></span> weird <span style=\"color: #000000;\">and</span> wacky <sup><span style=\"background-color: #e03e2d;\">words</span></sup> for testing of <span style=\"color: #fbeeb8;\">conversion</span></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
+ "rce": true,
16
+ "essay": null,
17
+ "word_count": false,
18
+ "file_upload": false,
19
+ "spell_check": true,
20
+ "word_limit_max": "10000",
21
+ "word_limit_min": null,
22
+ "word_limit_enabled": false
23
+ },
24
+ "properties": {
25
+ "word_limit": false,
26
+ "spell_check": false,
27
+ "word_limit_max": 0,
28
+ "word_limit_min": 0,
29
+ "show_word_count": false,
30
+ "rich_content_editor": false
31
+ },
32
+ "scoring_data": {
33
+ "value": "This is the rubric and should translate as such."
34
+ },
35
+ "answer_feedback": {},
36
+ "scoring_algorithm": "None",
37
+ "interaction_type_slug": "essay",
38
+ "feedback": {}
39
+ }
40
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "id": "5",
3
+ "position": 4,
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": "File Upload",
12
+ "item_body": "<p>File Upload Stem</p>",
13
+ "calculator_type": "none",
14
+ "interaction_data": {
15
+ "files_count": "1",
16
+ "restrict_count": true
17
+ },
18
+ "properties": {
19
+ "allowed_types": "jpg,png",
20
+ "restrict_types": true
21
+ },
22
+ "scoring_data": {
23
+ "value": ""
24
+ },
25
+ "answer_feedback": {},
26
+ "scoring_algorithm": "None",
27
+ "interaction_type_slug": "file-upload",
28
+ "feedback": {}
29
+ }
30
+ }
@@ -0,0 +1,162 @@
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>.&nbsp;</p>\n<p>Sugar is <span id=\"blank_6d38290f-cf3f-47f6-9fc0-b6d81cb249bc\"></span>,&nbsp;</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": null,
19
+ "answer_type": "wordbank"
20
+ },
21
+ {
22
+ "id": "177ead49-c8af-4c2d-86b3-b2e621671349",
23
+ "choices": null,
24
+ "answer_type": "wordbank"
25
+ },
26
+ {
27
+ "id": "6d38290f-cf3f-47f6-9fc0-b6d81cb249bc",
28
+ "choices": null,
29
+ "answer_type": "wordbank"
30
+ },
31
+ {
32
+ "id": "4dc29bfa-486a-45cb-a82b-a947c1743fcd",
33
+ "choices": null,
34
+ "answer_type": "wordbank"
35
+ }
36
+ ],
37
+ "word_bank_choices": [
38
+ {
39
+ "id": "5a77f17c-3ad9-445b-9174-81e4329b8916",
40
+ "item_body": "green"
41
+ },
42
+ {
43
+ "id": "ae7812a5-6b46-40cc-bc72-4111bbf9e4ce",
44
+ "item_body": "red"
45
+ },
46
+ {
47
+ "id": "cbe860ae-5dce-4197-a25d-df8d26e658fe",
48
+ "item_body": "blue"
49
+ },
50
+ {
51
+ "id": "7825715e-635b-4a93-b11e-8ea8bbf14209",
52
+ "item_body": "sweet"
53
+ },
54
+ {
55
+ "id": "4e1a02a6-ecc7-4d04-a645-490bb2b6848b",
56
+ "item_body": "you"
57
+ },
58
+ {
59
+ "id": "a880c94d-2e25-4d27-998d-983f12a0eb07",
60
+ "item_body": "purple"
61
+ },
62
+ {
63
+ "id": "13b477be-4630-4ecb-8f43-45d1675b57e9",
64
+ "item_body": "orange"
65
+ },
66
+ {
67
+ "id": "675c7892-f1b9-450c-b077-ff9bf6b75228",
68
+ "item_body": "sour"
69
+ },
70
+ {
71
+ "id": "94c88fdd-0010-4b88-b90c-362766263d58",
72
+ "item_body": "bitter"
73
+ },
74
+ {
75
+ "id": "c58d345a-d5a7-4ddb-9cae-7b9e4a8100c8",
76
+ "item_body": "they"
77
+ }
78
+ ]
79
+ },
80
+ "properties": {
81
+ "shuffle_rules": {
82
+ "blanks": {
83
+ "children": {
84
+ "0": {
85
+ "children": {
86
+ "choices": {
87
+ "shuffled": true
88
+ }
89
+ }
90
+ },
91
+ "1": {
92
+ "children": {
93
+ "choices": {
94
+ "shuffled": true
95
+ }
96
+ }
97
+ },
98
+ "2": {
99
+ "children": {
100
+ "choices": {
101
+ "shuffled": true
102
+ }
103
+ }
104
+ },
105
+ "3": {
106
+ "children": {
107
+ "choices": {
108
+ "shuffled": true
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ },
116
+ "scoring_data": {
117
+ "value": [
118
+ {
119
+ "id": "a958d3ca-eda4-497b-9a26-506a8a05ce30",
120
+ "scoring_data": {
121
+ "value": "red",
122
+ "choice_id": "ae7812a5-6b46-40cc-bc72-4111bbf9e4ce",
123
+ "blank_text": "red"
124
+ },
125
+ "scoring_algorithm": "TextEquivalence"
126
+ },
127
+ {
128
+ "id": "177ead49-c8af-4c2d-86b3-b2e621671349",
129
+ "scoring_data": {
130
+ "value": "blue",
131
+ "choice_id": "cbe860ae-5dce-4197-a25d-df8d26e658fe",
132
+ "blank_text": "blue"
133
+ },
134
+ "scoring_algorithm": "TextEquivalence"
135
+ },
136
+ {
137
+ "id": "6d38290f-cf3f-47f6-9fc0-b6d81cb249bc",
138
+ "scoring_data": {
139
+ "value": "sweet",
140
+ "choice_id": "7825715e-635b-4a93-b11e-8ea8bbf14209",
141
+ "blank_text": "sweet"
142
+ },
143
+ "scoring_algorithm": "TextEquivalence"
144
+ },
145
+ {
146
+ "id": "4dc29bfa-486a-45cb-a82b-a947c1743fcd",
147
+ "scoring_data": {
148
+ "value": "you",
149
+ "choice_id": "4e1a02a6-ecc7-4d04-a645-490bb2b6848b",
150
+ "blank_text": "you"
151
+ },
152
+ "scoring_algorithm": "TextEquivalence"
153
+ }
154
+ ],
155
+ "working_item_body": "<p>Roses are `red`,</p>\n<p>Violets are `blue`.&nbsp;</p>\n<p>Sugar is `sweet`,&nbsp;</p>\n<p>And so are `you`.</p>"
156
+ },
157
+ "answer_feedback": {},
158
+ "scoring_algorithm": "MultipleMethods",
159
+ "interaction_type_slug": "rich-fill-blank",
160
+ "feedback": {}
161
+ }
162
+ }