@plasius/learning 0.2.1 → 0.2.2

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.
package/dist/index.js CHANGED
@@ -1088,6 +1088,220 @@ function assertValidMissionAuthoringBundle(bundle, module2) {
1088
1088
  throw new Error(`Invalid mission authoring bundle:
1089
1089
  ${summary}`);
1090
1090
  }
1091
+ var ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1 = {
1092
+ version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
1093
+ moduleId: "junior-coder.robot-maze-dash",
1094
+ moduleVersion: "1.1.0",
1095
+ missionId: "robot-maze-dash-mission-1",
1096
+ learner: {
1097
+ estimatedMinutes: 20,
1098
+ stages: [
1099
+ {
1100
+ kind: "learn",
1101
+ instruction: "Meet the move, turn-left and turn-right action blocks and read what each command does.",
1102
+ artifactIds: ["robot-maze-dash-m1-art"]
1103
+ },
1104
+ {
1105
+ kind: "predict",
1106
+ instruction: "Predict where the robot will stop after it follows the blocks from top to bottom.",
1107
+ artifactIds: []
1108
+ },
1109
+ {
1110
+ kind: "build",
1111
+ instruction: "Arrange the action blocks so the rescue robot can reach the beacon.",
1112
+ artifactIds: ["robot-maze-dash-m1-program"]
1113
+ },
1114
+ {
1115
+ kind: "run",
1116
+ instruction: "Use the Run action button to watch the robot follow your visual program.",
1117
+ artifactIds: ["robot-maze-dash-m1-program"]
1118
+ },
1119
+ {
1120
+ kind: "assess",
1121
+ instruction: "Run the visible and protected deterministic mission checks.",
1122
+ artifactIds: []
1123
+ },
1124
+ {
1125
+ kind: "inspect",
1126
+ instruction: "Compare the highlighted block with the first goal that did not pass.",
1127
+ artifactIds: []
1128
+ },
1129
+ {
1130
+ kind: "fix",
1131
+ instruction: "Move, add or remove one action block, then run the mission again.",
1132
+ artifactIds: ["robot-maze-dash-m1-program"]
1133
+ },
1134
+ {
1135
+ kind: "explain",
1136
+ instruction: "Explain how the order of your blocks changed the robot path.",
1137
+ artifactIds: []
1138
+ },
1139
+ {
1140
+ kind: "reward",
1141
+ instruction: "Collect the evidence-bound badge when the score and safety check pass.",
1142
+ artifactIds: []
1143
+ }
1144
+ ],
1145
+ readinessChecks: [
1146
+ {
1147
+ id: "robot-maze-dash-m1-read-order",
1148
+ prompt: "Point to the first action the robot will follow.",
1149
+ scored: false
1150
+ }
1151
+ ],
1152
+ artifacts: [
1153
+ {
1154
+ id: "robot-maze-dash-m1-program",
1155
+ kind: "starter-code",
1156
+ audience: "learner",
1157
+ solutionBearing: false
1158
+ },
1159
+ {
1160
+ id: "robot-maze-dash-m1-art",
1161
+ kind: "starter-assets",
1162
+ audience: "learner",
1163
+ solutionBearing: false
1164
+ },
1165
+ {
1166
+ id: "robot-maze-dash-m1-printable",
1167
+ kind: "printable",
1168
+ audience: "learner",
1169
+ solutionBearing: false
1170
+ }
1171
+ ],
1172
+ goals: [
1173
+ {
1174
+ id: "robot-maze-dash-m1-starts",
1175
+ statement: "The visual program is structurally valid and starts.",
1176
+ visibility: "visible",
1177
+ criterionIds: ["robot-maze-dash-build"],
1178
+ completionRequired: true,
1179
+ aiRequired: false
1180
+ },
1181
+ {
1182
+ id: "robot-maze-dash-m1-reaches-beacon",
1183
+ statement: "The robot follows the action order and reaches the rescue beacon.",
1184
+ visibility: "visible",
1185
+ criterionIds: [
1186
+ "robot-maze-dash-goal-one",
1187
+ "robot-maze-dash-goal-two"
1188
+ ],
1189
+ completionRequired: true,
1190
+ aiRequired: false
1191
+ },
1192
+ {
1193
+ id: "robot-maze-dash-m1-safe-preview",
1194
+ statement: "The robot stays inside the private maze simulator boundary.",
1195
+ visibility: "visible",
1196
+ criterionIds: ["robot-maze-dash-safety"],
1197
+ completionRequired: true,
1198
+ aiRequired: false
1199
+ }
1200
+ ],
1201
+ interactions: [
1202
+ {
1203
+ id: "robot-maze-dash-m1-reorder-blocks",
1204
+ description: "Change the order of visual action blocks.",
1205
+ primaryMode: "drag",
1206
+ alternativeIds: ["robot-maze-dash-m1-button-reorder"]
1207
+ },
1208
+ {
1209
+ id: "robot-maze-dash-m1-run-control",
1210
+ description: "Start the private maze simulation.",
1211
+ primaryMode: "pointer",
1212
+ alternativeIds: ["robot-maze-dash-m1-keyboard-run"]
1213
+ }
1214
+ ],
1215
+ accessibilityAlternatives: [
1216
+ {
1217
+ id: "robot-maze-dash-m1-button-reorder",
1218
+ modes: ["keyboard", "pointer"],
1219
+ equivalentOutcome: true,
1220
+ description: "Use labelled Move up and Move down buttons instead of dragging a block."
1221
+ },
1222
+ {
1223
+ id: "robot-maze-dash-m1-keyboard-run",
1224
+ modes: ["keyboard"],
1225
+ equivalentOutcome: true,
1226
+ description: "Start the same simulation by pressing Enter or Space on the Run button."
1227
+ }
1228
+ ],
1229
+ evidenceRequirements: [
1230
+ {
1231
+ id: "robot-maze-dash-m1-assessment",
1232
+ goalIds: [
1233
+ "robot-maze-dash-m1-starts",
1234
+ "robot-maze-dash-m1-reaches-beacon",
1235
+ "robot-maze-dash-m1-safe-preview"
1236
+ ],
1237
+ kind: "assessment-result",
1238
+ retention: "entitlement",
1239
+ containsPersonalData: false
1240
+ },
1241
+ {
1242
+ id: "robot-maze-dash-m1-explanation",
1243
+ goalIds: ["robot-maze-dash-m1-reaches-beacon"],
1244
+ kind: "learner-explanation",
1245
+ retention: "attempt",
1246
+ containsPersonalData: false
1247
+ }
1248
+ ],
1249
+ sideAdventures: [
1250
+ {
1251
+ id: "robot-maze-dash-m1-remix",
1252
+ prompt: "Invent a different safe route and describe which action block must change first.",
1253
+ completionRequired: false
1254
+ }
1255
+ ],
1256
+ rewardBindings: [
1257
+ {
1258
+ id: "robot-maze-dash-m1-badge",
1259
+ badgeId: "robot-maze-dash-mission-complete",
1260
+ goalIds: [
1261
+ "robot-maze-dash-m1-starts",
1262
+ "robot-maze-dash-m1-reaches-beacon",
1263
+ "robot-maze-dash-m1-safe-preview"
1264
+ ],
1265
+ deterministic: true,
1266
+ random: false,
1267
+ tokenConvertible: false
1268
+ }
1269
+ ]
1270
+ },
1271
+ facilitator: {
1272
+ artifacts: [
1273
+ {
1274
+ id: "robot-maze-dash-m1-answer-key",
1275
+ kind: "answer-key",
1276
+ audience: "facilitator",
1277
+ solutionBearing: true
1278
+ },
1279
+ {
1280
+ id: "robot-maze-dash-m1-protected-tests",
1281
+ kind: "protected-test",
1282
+ audience: "facilitator",
1283
+ solutionBearing: true
1284
+ }
1285
+ ],
1286
+ protectedGoals: [
1287
+ {
1288
+ id: "robot-maze-dash-m1-protected-bounds",
1289
+ statement: "The interpreter stops safely at walls, bounds and its action limit.",
1290
+ visibility: "protected",
1291
+ criterionIds: [
1292
+ "robot-maze-dash-edge-one",
1293
+ "robot-maze-dash-edge-two"
1294
+ ],
1295
+ completionRequired: false,
1296
+ aiRequired: false
1297
+ }
1298
+ ],
1299
+ prompts: [
1300
+ "Ask the learner to point to the first action block before suggesting a change.",
1301
+ "Use the command reference and visible goal; never reveal the protected route or expected block list."
1302
+ ]
1303
+ }
1304
+ };
1091
1305
  var ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1 = {
1092
1306
  version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
1093
1307
  moduleId: "junior-coder.road-hopper-rally",
@@ -1443,6 +1657,7 @@ export {
1443
1657
  JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1,
1444
1658
  MISSION_AUTHORING_CONTRACT_VERSION_V1,
1445
1659
  ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
1660
+ ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
1446
1661
  assertValidLearningPath,
1447
1662
  assertValidMissionAuthoringBundle,
1448
1663
  calculateAssessment,