@coorpacademy/player-web 4.2.11 → 4.3.0

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 (157) hide show
  1. package/es/map-state-to-props/test/answer.js +390 -0
  2. package/es/map-state-to-props/test/answer.js.map +1 -0
  3. package/es/map-state-to-props/test/fixtures/player/clue.json +131 -0
  4. package/es/map-state-to-props/test/fixtures/player/loading-clue.json +131 -0
  5. package/es/map-state-to-props/test/fixtures/player/no-clue.json +118 -0
  6. package/es/map-state-to-props/test/fixtures/player/slide-no-lessons.json +115 -0
  7. package/es/map-state-to-props/test/fixtures/player/slide.json +127 -0
  8. package/es/map-state-to-props/test/fixtures/popin-correction/popin-extra-life.json +139 -0
  9. package/es/map-state-to-props/test/fixtures/popin-correction/popin-failure.json +145 -0
  10. package/es/map-state-to-props/test/fixtures/popin-correction/popin-next-level.json +282 -0
  11. package/es/map-state-to-props/test/fixtures/popin-correction/popin-revival.json +140 -0
  12. package/es/map-state-to-props/test/fixtures/popin-correction/popin-success-node.json +154 -0
  13. package/es/map-state-to-props/test/fixtures/popin-correction/popin-success.json +268 -0
  14. package/es/map-state-to-props/test/fixtures/popin-correction/state-fail-multiple-answers.json +473 -0
  15. package/es/map-state-to-props/test/fixtures/popin-end/fail.json +205 -0
  16. package/es/map-state-to-props/test/fixtures/popin-end/learner-adaptive-failure.json +209 -0
  17. package/es/map-state-to-props/test/fixtures/popin-end/learner-failure-with-redirection.json +211 -0
  18. package/es/map-state-to-props/test/fixtures/popin-end/learner-failure.json +211 -0
  19. package/es/map-state-to-props/test/fixtures/popin-end/learner-success-with-redirection.json +278 -0
  20. package/es/map-state-to-props/test/fixtures/popin-end/learner-success.json +275 -0
  21. package/es/map-state-to-props/test/fixtures/popin-end/success.json +223 -0
  22. package/es/map-state-to-props/test/fixtures/progression-learner.json +102 -0
  23. package/es/map-state-to-props/test/fixtures/progression-state.json +45 -0
  24. package/es/map-state-to-props/test/fixtures/slides/basic.json +60 -0
  25. package/es/map-state-to-props/test/fixtures/slides/plop.json +56 -0
  26. package/es/map-state-to-props/test/fixtures/slides/qcm-drag.json +56 -0
  27. package/es/map-state-to-props/test/fixtures/slides/qcm-graphic.json +49 -0
  28. package/es/map-state-to-props/test/fixtures/slides/qcm.json +43 -0
  29. package/es/map-state-to-props/test/fixtures/slides/slider.json +57 -0
  30. package/es/map-state-to-props/test/fixtures/slides/template.json +49 -0
  31. package/es/map-state-to-props/test/fixtures/slides/videos.json +163 -0
  32. package/es/map-state-to-props/test/fixtures/slides/with-context.json +69 -0
  33. package/es/map-state-to-props/test/header.js +131 -0
  34. package/es/map-state-to-props/test/header.js.map +1 -0
  35. package/es/map-state-to-props/test/index.js +107 -0
  36. package/es/map-state-to-props/test/index.js.map +1 -0
  37. package/es/map-state-to-props/test/player.js +680 -0
  38. package/es/map-state-to-props/test/player.js.map +1 -0
  39. package/es/map-state-to-props/test/popin-correction.create-header-cta.js +301 -0
  40. package/es/map-state-to-props/test/popin-correction.create-header-cta.js.map +1 -0
  41. package/es/map-state-to-props/test/popin-correction.js +80 -0
  42. package/es/map-state-to-props/test/popin-correction.js.map +1 -0
  43. package/es/map-state-to-props/test/popin-end.js +313 -0
  44. package/es/map-state-to-props/test/popin-end.js.map +1 -0
  45. package/es/map-state-to-props/test/popin-error.js +77 -0
  46. package/es/map-state-to-props/test/popin-error.js.map +1 -0
  47. package/es/map-state-to-props/test/resources.js +31 -0
  48. package/es/map-state-to-props/test/resources.js.map +1 -0
  49. package/es/test/add-timeout.js +8 -0
  50. package/es/test/add-timeout.js.map +1 -0
  51. package/es/test/helpers/css-register.js +3 -0
  52. package/es/test/helpers/css-register.js.map +1 -0
  53. package/es/test/helpers/macro.js +6 -0
  54. package/es/test/helpers/macro.js.map +1 -0
  55. package/es/test/index.js +39 -0
  56. package/es/test/index.js.map +1 -0
  57. package/es/test/init-reducers.js +50 -0
  58. package/es/test/init-reducers.js.map +1 -0
  59. package/es/test/locales.js +8 -0
  60. package/es/test/locales.js.map +1 -0
  61. package/es/test/run-app.js +20 -0
  62. package/es/test/run-app.js.map +1 -0
  63. package/es/test/store.js +38 -0
  64. package/es/test/store.js.map +1 -0
  65. package/es/views/test/helpers/render.js +13 -0
  66. package/es/views/test/helpers/render.js.map +1 -0
  67. package/es/views/test/helpers/state-to-vnode.js +7 -0
  68. package/es/views/test/helpers/state-to-vnode.js.map +1 -0
  69. package/es/views/test/loading.js +15 -0
  70. package/es/views/test/loading.js.map +1 -0
  71. package/es/views/test/popin-correction.js +223 -0
  72. package/es/views/test/popin-correction.js.map +1 -0
  73. package/es/views/test/popin-end.js +93 -0
  74. package/es/views/test/popin-end.js.map +1 -0
  75. package/es/views/test/router.js +22 -0
  76. package/es/views/test/router.js.map +1 -0
  77. package/es/views/test/slide.js +335 -0
  78. package/es/views/test/slide.js.map +1 -0
  79. package/lib/map-state-to-props/test/answer.js +408 -0
  80. package/lib/map-state-to-props/test/answer.js.map +1 -0
  81. package/lib/map-state-to-props/test/fixtures/player/clue.json +131 -0
  82. package/lib/map-state-to-props/test/fixtures/player/loading-clue.json +131 -0
  83. package/lib/map-state-to-props/test/fixtures/player/no-clue.json +118 -0
  84. package/lib/map-state-to-props/test/fixtures/player/slide-no-lessons.json +115 -0
  85. package/lib/map-state-to-props/test/fixtures/player/slide.json +127 -0
  86. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-extra-life.json +139 -0
  87. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-failure.json +145 -0
  88. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-next-level.json +282 -0
  89. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-revival.json +140 -0
  90. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-success-node.json +154 -0
  91. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-success.json +268 -0
  92. package/lib/map-state-to-props/test/fixtures/popin-correction/state-fail-multiple-answers.json +473 -0
  93. package/lib/map-state-to-props/test/fixtures/popin-end/fail.json +205 -0
  94. package/lib/map-state-to-props/test/fixtures/popin-end/learner-adaptive-failure.json +209 -0
  95. package/lib/map-state-to-props/test/fixtures/popin-end/learner-failure-with-redirection.json +211 -0
  96. package/lib/map-state-to-props/test/fixtures/popin-end/learner-failure.json +211 -0
  97. package/lib/map-state-to-props/test/fixtures/popin-end/learner-success-with-redirection.json +278 -0
  98. package/lib/map-state-to-props/test/fixtures/popin-end/learner-success.json +275 -0
  99. package/lib/map-state-to-props/test/fixtures/popin-end/success.json +223 -0
  100. package/lib/map-state-to-props/test/fixtures/progression-learner.json +102 -0
  101. package/lib/map-state-to-props/test/fixtures/progression-state.json +45 -0
  102. package/lib/map-state-to-props/test/fixtures/slides/basic.json +60 -0
  103. package/lib/map-state-to-props/test/fixtures/slides/plop.json +56 -0
  104. package/lib/map-state-to-props/test/fixtures/slides/qcm-drag.json +56 -0
  105. package/lib/map-state-to-props/test/fixtures/slides/qcm-graphic.json +49 -0
  106. package/lib/map-state-to-props/test/fixtures/slides/qcm.json +43 -0
  107. package/lib/map-state-to-props/test/fixtures/slides/slider.json +57 -0
  108. package/lib/map-state-to-props/test/fixtures/slides/template.json +49 -0
  109. package/lib/map-state-to-props/test/fixtures/slides/videos.json +163 -0
  110. package/lib/map-state-to-props/test/fixtures/slides/with-context.json +69 -0
  111. package/lib/map-state-to-props/test/header.js +143 -0
  112. package/lib/map-state-to-props/test/header.js.map +1 -0
  113. package/lib/map-state-to-props/test/index.js +100 -0
  114. package/lib/map-state-to-props/test/index.js.map +1 -0
  115. package/lib/map-state-to-props/test/player.js +714 -0
  116. package/lib/map-state-to-props/test/player.js.map +1 -0
  117. package/lib/map-state-to-props/test/popin-correction.create-header-cta.js +315 -0
  118. package/lib/map-state-to-props/test/popin-correction.create-header-cta.js.map +1 -0
  119. package/lib/map-state-to-props/test/popin-correction.js +85 -0
  120. package/lib/map-state-to-props/test/popin-correction.js.map +1 -0
  121. package/lib/map-state-to-props/test/popin-end.js +328 -0
  122. package/lib/map-state-to-props/test/popin-end.js.map +1 -0
  123. package/lib/map-state-to-props/test/popin-error.js +85 -0
  124. package/lib/map-state-to-props/test/popin-error.js.map +1 -0
  125. package/lib/map-state-to-props/test/resources.js +42 -0
  126. package/lib/map-state-to-props/test/resources.js.map +1 -0
  127. package/lib/test/add-timeout.js +14 -0
  128. package/lib/test/add-timeout.js.map +1 -0
  129. package/lib/test/helpers/css-register.js +8 -0
  130. package/lib/test/helpers/css-register.js.map +1 -0
  131. package/lib/test/helpers/macro.js +12 -0
  132. package/lib/test/helpers/macro.js.map +1 -0
  133. package/lib/test/index.js +53 -0
  134. package/lib/test/index.js.map +1 -0
  135. package/lib/test/init-reducers.js +57 -0
  136. package/lib/test/init-reducers.js.map +1 -0
  137. package/lib/test/locales.js +18 -0
  138. package/lib/test/locales.js.map +1 -0
  139. package/lib/test/run-app.js +27 -0
  140. package/lib/test/run-app.js.map +1 -0
  141. package/lib/test/store.js +45 -0
  142. package/lib/test/store.js.map +1 -0
  143. package/lib/views/test/helpers/render.js +24 -0
  144. package/lib/views/test/helpers/render.js.map +1 -0
  145. package/lib/views/test/helpers/state-to-vnode.js +14 -0
  146. package/lib/views/test/helpers/state-to-vnode.js.map +1 -0
  147. package/lib/views/test/loading.js +22 -0
  148. package/lib/views/test/loading.js.map +1 -0
  149. package/lib/views/test/popin-correction.js +237 -0
  150. package/lib/views/test/popin-correction.js.map +1 -0
  151. package/lib/views/test/popin-end.js +105 -0
  152. package/lib/views/test/popin-end.js.map +1 -0
  153. package/lib/views/test/router.js +32 -0
  154. package/lib/views/test/router.js.map +1 -0
  155. package/lib/views/test/slide.js +359 -0
  156. package/lib/views/test/slide.js.map +1 -0
  157. package/package.json +4 -3
@@ -0,0 +1,209 @@
1
+ {
2
+ "data": {
3
+ "answers": {
4
+ "entities": {
5
+ "59e4810fc4cca0001d85bca7": {
6
+ "1.B1.4": {
7
+ "correctAnswer": [
8
+ "Yahoo! a choisi Google comme moteur de recherche sur sa page d’accueil et lui a ainsi ouvert le cœur des internautes"
9
+ ],
10
+ "corrections": [
11
+ {
12
+ "answer": "",
13
+ "isCorrect": false
14
+ }
15
+ ]
16
+ },
17
+ "1.B1.3": {
18
+ "correctAnswer": [
19
+ "Yahoo! a choisi Google comme moteur de recherche sur sa page d’accueil et lui a ainsi ouvert le cœur des internautes"
20
+ ],
21
+ "corrections": [
22
+ {
23
+ "answer": "",
24
+ "isCorrect": false
25
+ }
26
+ ]
27
+ },
28
+ "1.B1.2": {
29
+ "correctAnswer": [
30
+ "Le Pagerank, c’est-à-dire l’algorithme de mesure quantitatif de la popularité d’une page web\n"
31
+ ],
32
+ "corrections": [
33
+ {
34
+ "answer": "",
35
+ "isCorrect": false
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ }
41
+ },
42
+ "configs": {
43
+ "entities": {
44
+ "learner@1": {
45
+ "version": "1",
46
+ "lives": 3,
47
+ "maxTypos": 2,
48
+ "slidesToComplete": 4,
49
+ "answerBoundaryLimit": 5,
50
+ "starsPerAskingClue": -1,
51
+ "starsPerCorrectAnswer": 4,
52
+ "starsPerResourceViewed": 4,
53
+ "remainingLifeRequests": 1
54
+ }
55
+ }
56
+ },
57
+ "contents": {
58
+ "level": {
59
+ "entities": {
60
+ "1.B": {
61
+ "_id": "59bf86f5d0e29a28b6b19d90",
62
+ "timeAlloted": 20,
63
+ "level": "base",
64
+ "levelTranslation": "Base",
65
+ "name": "La recherche en ligne",
66
+ "ref": "1.B",
67
+ "eligibleBattle": true,
68
+ "rewards": [],
69
+ "creditsToAccess": 0,
70
+ "infiniteLives": false,
71
+ "isConditional": false,
72
+ "data": [],
73
+ "stats": {
74
+ "userTriesCount": 0,
75
+ "userDoneCount": 0
76
+ },
77
+ "chapterIds": ["1.B1", "1.B2"],
78
+ "acquiredSkills": [
79
+ "discipline_1.module_base.skill1",
80
+ "discipline_1.module_base.skill2",
81
+ "discipline_1.module_base.skill3",
82
+ "discipline_1.module_base.skill4",
83
+ "discipline_1.module_base.skill5"
84
+ ],
85
+ "external_refs": [],
86
+ "bestScore": 32,
87
+ "info": {
88
+ "nbSlides": 8
89
+ }
90
+ },
91
+ "1.A": {
92
+ "_id": "59bf86f5d0e29a28b6b19d8f",
93
+ "timeAlloted": 20,
94
+ "level": "advanced",
95
+ "levelTranslation": "Advanced",
96
+ "name": "La recherche en ligne",
97
+ "ref": "1.A",
98
+ "eligibleBattle": true,
99
+ "rewards": [],
100
+ "creditsToAccess": 0,
101
+ "infiniteLives": false,
102
+ "isConditional": false,
103
+ "data": [],
104
+ "stats": {
105
+ "userTriesCount": 0,
106
+ "userDoneCount": 0
107
+ },
108
+ "chapterIds": ["1.A1", "1.A2"],
109
+ "acquiredSkills": [
110
+ "discipline_1.module_avance.skill1",
111
+ "discipline_1.module_avance.skill2",
112
+ "discipline_1.module_avance.skill3",
113
+ "discipline_1.module_avance.skill4",
114
+ "discipline_1.module_avance.skill5"
115
+ ],
116
+ "external_refs": []
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "clues": {
122
+ "entities": {}
123
+ },
124
+ "exitNodes": {
125
+ "entities": {
126
+ "failExitNode": {
127
+ "_id": "59bf0da4a0b089a21b2532b0",
128
+ "ref": "failExitNode",
129
+ "type": "failure",
130
+ "__v": 0,
131
+ "meta": {
132
+ "updatedAt": "2017-10-16T09:52:55.631Z",
133
+ "createdAt": "2017-10-16T09:52:55.631Z"
134
+ },
135
+ "media": {
136
+ "subtitles": [],
137
+ "posters": [],
138
+ "src": []
139
+ }
140
+ }
141
+ }
142
+ },
143
+ "progressions": {
144
+ "entities": {
145
+ "59e4810fc4cca0001d85bca7": {
146
+ "_id": "59e4810fc4cca0001d85bca7",
147
+ "userId": "59d5e8c19405e1ccfca5df8c",
148
+ "content": {
149
+ "ref": "1.B",
150
+ "type": "level"
151
+ },
152
+ "meta": {
153
+ "updatedAt": "2017-10-16T09:51:11.190Z",
154
+ "createdAt": "2017-10-16T09:51:11.190Z"
155
+ },
156
+ "engine": {
157
+ "ref": "learner",
158
+ "version": "1"
159
+ },
160
+ "state": {
161
+ "nextContent": {
162
+ "ref": "failExitNode",
163
+ "type": "failure"
164
+ },
165
+ "livesDisabled": true,
166
+ "isCorrect": false,
167
+ "slides": ["1.B1.4", "1.B1.3", "1.B1.2"],
168
+ "lives": 3,
169
+ "step": {
170
+ "current": 4
171
+ },
172
+ "stars": 0,
173
+ "requestedClues": [],
174
+ "viewedResources": [],
175
+ "remainingLifeRequests": 0,
176
+ "content": {
177
+ "ref": "extraLife",
178
+ "type": "node"
179
+ }
180
+ },
181
+ "correctAnswer": [
182
+ "Le Pagerank, c’est-à-dire l’algorithme de mesure quantitatif de la popularité d’une page web\n"
183
+ ]
184
+ }
185
+ }
186
+ },
187
+ "rank": {
188
+ "start": 2,
189
+ "end": 3
190
+ },
191
+ "recommendations": {
192
+ "entities": {}
193
+ }
194
+ },
195
+ "ui": {
196
+ "answers": {},
197
+ "corrections": {
198
+ "accordion": [false, false, false],
199
+ "playResource": ""
200
+ },
201
+ "current": {
202
+ "progressionId": "59e4810fc4cca0001d85bca7"
203
+ },
204
+ "extraLife": {
205
+ "acceptRevivalPending": false
206
+ },
207
+ "route": {}
208
+ }
209
+ }
@@ -0,0 +1,211 @@
1
+ {
2
+ "data": {
3
+ "answers": {
4
+ "entities": {
5
+ "59e4810fc4cca0001d85bca7": {
6
+ "1.B1.4": {
7
+ "correctAnswer": [
8
+ "Yahoo! a choisi Google comme moteur de recherche sur sa page d’accueil et lui a ainsi ouvert le cœur des internautes"
9
+ ],
10
+ "corrections": [
11
+ {
12
+ "answer": "",
13
+ "isCorrect": false
14
+ }
15
+ ]
16
+ },
17
+ "1.B1.3": {
18
+ "correctAnswer": [
19
+ "Yahoo! a choisi Google comme moteur de recherche sur sa page d’accueil et lui a ainsi ouvert le cœur des internautes"
20
+ ],
21
+ "corrections": [
22
+ {
23
+ "answer": "",
24
+ "isCorrect": false
25
+ }
26
+ ]
27
+ },
28
+ "1.B1.2": {
29
+ "correctAnswer": [
30
+ "Le Pagerank, c’est-à-dire l’algorithme de mesure quantitatif de la popularité d’une page web\n"
31
+ ],
32
+ "corrections": [
33
+ {
34
+ "answer": "",
35
+ "isCorrect": false
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ }
41
+ },
42
+ "configs": {
43
+ "entities": {
44
+ "learner@1": {
45
+ "version": "1",
46
+ "lives": 3,
47
+ "maxTypos": 2,
48
+ "slidesToComplete": 4,
49
+ "answerBoundaryLimit": 5,
50
+ "starsPerAskingClue": -1,
51
+ "starsPerCorrectAnswer": 4,
52
+ "starsPerResourceViewed": 4,
53
+ "remainingLifeRequests": 1
54
+ }
55
+ }
56
+ },
57
+ "contents": {
58
+ "level": {
59
+ "entities": {
60
+ "1.B": {
61
+ "_id": "59bf86f5d0e29a28b6b19d90",
62
+ "timeAlloted": 20,
63
+ "level": "base",
64
+ "levelTranslation": "Base",
65
+ "name": "La recherche en ligne",
66
+ "ref": "1.B",
67
+ "eligibleBattle": true,
68
+ "rewards": [],
69
+ "creditsToAccess": 0,
70
+ "infiniteLives": false,
71
+ "isConditional": false,
72
+ "data": [],
73
+ "stats": {
74
+ "userTriesCount": 0,
75
+ "userDoneCount": 0
76
+ },
77
+ "chapterIds": ["1.B1", "1.B2"],
78
+ "acquiredSkills": [
79
+ "discipline_1.module_base.skill1",
80
+ "discipline_1.module_base.skill2",
81
+ "discipline_1.module_base.skill3",
82
+ "discipline_1.module_base.skill4",
83
+ "discipline_1.module_base.skill5"
84
+ ],
85
+ "external_refs": [],
86
+ "bestScore": 32,
87
+ "info": {
88
+ "nbSlides": 8
89
+ }
90
+ },
91
+ "1.A": {
92
+ "_id": "59bf86f5d0e29a28b6b19d8f",
93
+ "timeAlloted": 20,
94
+ "level": "advanced",
95
+ "levelTranslation": "Advanced",
96
+ "name": "La recherche en ligne",
97
+ "ref": "1.A",
98
+ "eligibleBattle": true,
99
+ "rewards": [],
100
+ "creditsToAccess": 0,
101
+ "infiniteLives": false,
102
+ "isConditional": false,
103
+ "data": [],
104
+ "stats": {
105
+ "userTriesCount": 0,
106
+ "userDoneCount": 0
107
+ },
108
+ "chapterIds": ["1.A1", "1.A2"],
109
+ "acquiredSkills": [
110
+ "discipline_1.module_avance.skill1",
111
+ "discipline_1.module_avance.skill2",
112
+ "discipline_1.module_avance.skill3",
113
+ "discipline_1.module_avance.skill4",
114
+ "discipline_1.module_avance.skill5"
115
+ ],
116
+ "external_refs": []
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "clues": {
122
+ "entities": {}
123
+ },
124
+ "exitNodes": {
125
+ "entities": {
126
+ "failExitNode": {
127
+ "_id": "59bf0da4a0b089a21b2532b0",
128
+ "ref": "failExitNode",
129
+ "type": "failure",
130
+ "__v": 0,
131
+ "meta": {
132
+ "updatedAt": "2017-10-16T09:52:55.631Z",
133
+ "createdAt": "2017-10-16T09:52:55.631Z"
134
+ },
135
+ "media": {
136
+ "subtitles": [],
137
+ "posters": [],
138
+ "src": []
139
+ }
140
+ }
141
+ }
142
+ },
143
+ "progressions": {
144
+ "entities": {
145
+ "59e4810fc4cca0001d85bca7": {
146
+ "_id": "59e4810fc4cca0001d85bca7",
147
+ "userId": "59d5e8c19405e1ccfca5df8c",
148
+ "content": {
149
+ "ref": "1.B",
150
+ "type": "level"
151
+ },
152
+ "meta": {
153
+ "updatedAt": "2017-10-16T09:51:11.190Z",
154
+ "createdAt": "2017-10-16T09:51:11.190Z"
155
+ },
156
+ "engine": {
157
+ "ref": "learner",
158
+ "version": "1"
159
+ },
160
+ "state": {
161
+ "nextContent": {
162
+ "ref": "failExitNode",
163
+ "type": "failure"
164
+ },
165
+ "isCorrect": false,
166
+ "slides": ["1.B1.4", "1.B1.3", "1.B1.2"],
167
+ "lives": 0,
168
+ "step": {
169
+ "current": 4
170
+ },
171
+ "stars": 0,
172
+ "requestedClues": [],
173
+ "viewedResources": [],
174
+ "remainingLifeRequests": 0,
175
+ "content": {
176
+ "ref": "extraLife",
177
+ "type": "node"
178
+ }
179
+ },
180
+ "correctAnswer": [
181
+ "Le Pagerank, c’est-à-dire l’algorithme de mesure quantitatif de la popularité d’une page web\n"
182
+ ]
183
+ }
184
+ }
185
+ },
186
+ "rank": {
187
+ "start": 2,
188
+ "end": 3
189
+ },
190
+ "recommendations": {
191
+ "entities": {}
192
+ }
193
+ },
194
+ "ui": {
195
+ "answers": {},
196
+ "corrections": {
197
+ "accordion": [false, false, false],
198
+ "playResource": ""
199
+ },
200
+ "current": {
201
+ "progressionId": "59e4810fc4cca0001d85bca7"
202
+ },
203
+ "extraLife": {
204
+ "acceptRevivalPending": false
205
+ },
206
+ "route": {},
207
+ "location": {
208
+ "redirectURLAfterEnd": "http://www.google.com"
209
+ }
210
+ }
211
+ }
@@ -0,0 +1,211 @@
1
+ {
2
+ "data": {
3
+ "answers": {
4
+ "entities": {
5
+ "59e4810fc4cca0001d85bca7": {
6
+ "1.B1.4": {
7
+ "correctAnswer": [
8
+ "Yahoo! a choisi Google comme moteur de recherche sur sa page d’accueil et lui a ainsi ouvert le cœur des internautes"
9
+ ],
10
+ "corrections": [
11
+ {
12
+ "answer": "",
13
+ "isCorrect": false
14
+ }
15
+ ]
16
+ },
17
+ "1.B1.3": {
18
+ "correctAnswer": [
19
+ "Yahoo! a choisi Google comme moteur de recherche sur sa page d’accueil et lui a ainsi ouvert le cœur des internautes"
20
+ ],
21
+ "corrections": [
22
+ {
23
+ "answer": "",
24
+ "isCorrect": false
25
+ }
26
+ ]
27
+ },
28
+ "1.B1.2": {
29
+ "correctAnswer": [
30
+ "Le Pagerank, c’est-à-dire l’algorithme de mesure quantitatif de la popularité d’une page web\n"
31
+ ],
32
+ "corrections": [
33
+ {
34
+ "answer": "",
35
+ "isCorrect": false
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ }
41
+ },
42
+ "configs": {
43
+ "entities": {
44
+ "learner@1": {
45
+ "version": "1",
46
+ "lives": 3,
47
+ "maxTypos": 2,
48
+ "slidesToComplete": 4,
49
+ "answerBoundaryLimit": 5,
50
+ "starsPerAskingClue": -1,
51
+ "starsPerCorrectAnswer": 4,
52
+ "starsPerResourceViewed": 4,
53
+ "remainingLifeRequests": 1
54
+ }
55
+ }
56
+ },
57
+ "contents": {
58
+ "level": {
59
+ "entities": {
60
+ "1.B": {
61
+ "_id": "59bf86f5d0e29a28b6b19d90",
62
+ "timeAlloted": 20,
63
+ "level": "base",
64
+ "levelTranslation": "Base",
65
+ "name": "La recherche en ligne",
66
+ "ref": "1.B",
67
+ "eligibleBattle": true,
68
+ "rewards": [],
69
+ "creditsToAccess": 0,
70
+ "infiniteLives": false,
71
+ "isConditional": false,
72
+ "data": [],
73
+ "stats": {
74
+ "userTriesCount": 0,
75
+ "userDoneCount": 0
76
+ },
77
+ "chapterIds": ["1.B1", "1.B2"],
78
+ "acquiredSkills": [
79
+ "discipline_1.module_base.skill1",
80
+ "discipline_1.module_base.skill2",
81
+ "discipline_1.module_base.skill3",
82
+ "discipline_1.module_base.skill4",
83
+ "discipline_1.module_base.skill5"
84
+ ],
85
+ "external_refs": [],
86
+ "bestScore": 32,
87
+ "info": {
88
+ "nbSlides": 8
89
+ }
90
+ },
91
+ "1.A": {
92
+ "_id": "59bf86f5d0e29a28b6b19d8f",
93
+ "timeAlloted": 20,
94
+ "level": "advanced",
95
+ "levelTranslation": "Advanced",
96
+ "name": "La recherche en ligne",
97
+ "ref": "1.A",
98
+ "eligibleBattle": true,
99
+ "rewards": [],
100
+ "creditsToAccess": 0,
101
+ "infiniteLives": false,
102
+ "isConditional": false,
103
+ "data": [],
104
+ "stats": {
105
+ "userTriesCount": 0,
106
+ "userDoneCount": 0
107
+ },
108
+ "chapterIds": ["1.A1", "1.A2"],
109
+ "acquiredSkills": [
110
+ "discipline_1.module_avance.skill1",
111
+ "discipline_1.module_avance.skill2",
112
+ "discipline_1.module_avance.skill3",
113
+ "discipline_1.module_avance.skill4",
114
+ "discipline_1.module_avance.skill5"
115
+ ],
116
+ "external_refs": []
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "clues": {
122
+ "entities": {}
123
+ },
124
+ "exitNodes": {
125
+ "entities": {
126
+ "failExitNode": {
127
+ "_id": "59bf0da4a0b089a21b2532b0",
128
+ "ref": "failExitNode",
129
+ "type": "failure",
130
+ "__v": 0,
131
+ "meta": {
132
+ "updatedAt": "2017-10-16T09:52:55.631Z",
133
+ "createdAt": "2017-10-16T09:52:55.631Z"
134
+ },
135
+ "media": {
136
+ "subtitles": [],
137
+ "posters": [],
138
+ "src": []
139
+ }
140
+ }
141
+ }
142
+ },
143
+ "progressions": {
144
+ "entities": {
145
+ "59e4810fc4cca0001d85bca7": {
146
+ "_id": "59e4810fc4cca0001d85bca7",
147
+ "userId": "59d5e8c19405e1ccfca5df8c",
148
+ "content": {
149
+ "ref": "1.B",
150
+ "type": "level"
151
+ },
152
+ "meta": {
153
+ "updatedAt": "2017-10-16T09:51:11.190Z",
154
+ "createdAt": "2017-10-16T09:51:11.190Z"
155
+ },
156
+ "engine": {
157
+ "ref": "learner",
158
+ "version": "1"
159
+ },
160
+ "state": {
161
+ "nextContent": {
162
+ "ref": "failExitNode",
163
+ "type": "failure"
164
+ },
165
+ "isCorrect": false,
166
+ "slides": ["1.B1.4", "1.B1.3", "1.B1.2"],
167
+ "lives": 0,
168
+ "step": {
169
+ "current": 4
170
+ },
171
+ "stars": 0,
172
+ "requestedClues": [],
173
+ "viewedResources": [],
174
+ "remainingLifeRequests": 0,
175
+ "content": {
176
+ "ref": "extraLife",
177
+ "type": "node"
178
+ }
179
+ },
180
+ "correctAnswer": [
181
+ "Le Pagerank, c’est-à-dire l’algorithme de mesure quantitatif de la popularité d’une page web\n"
182
+ ]
183
+ }
184
+ }
185
+ },
186
+ "rank": {
187
+ "start": 2,
188
+ "end": 3
189
+ },
190
+ "recommendations": {
191
+ "entities": {}
192
+ }
193
+ },
194
+ "ui": {
195
+ "answers": {},
196
+ "corrections": {
197
+ "accordion": [false, false, false],
198
+ "playResource": ""
199
+ },
200
+ "current": {
201
+ "progressionId": "59e4810fc4cca0001d85bca7"
202
+ },
203
+ "extraLife": {
204
+ "acceptRevivalPending": false
205
+ },
206
+ "route": {},
207
+ "location": {
208
+ "redirectURLAfterEnd": ""
209
+ }
210
+ }
211
+ }