@plasius/learning 0.2.12 → 0.2.14
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/README.md +29 -1
- package/dist/index.cjs +649 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -2
- package/dist/index.d.ts +24 -2
- package/dist/index.js +647 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -32,12 +32,14 @@ __export(index_exports, {
|
|
|
32
32
|
OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1: () => OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1,
|
|
33
33
|
PADDLE_PULSE_MISSION_ONE_AUTHORING_V1: () => PADDLE_PULSE_MISSION_ONE_AUTHORING_V1,
|
|
34
34
|
PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1: () => PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1,
|
|
35
|
+
RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1: () => RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
35
36
|
RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1: () => RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
|
|
36
37
|
ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1: () => ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
|
|
37
38
|
ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1: () => ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
|
|
38
39
|
SERVO_CREATURE_MISSION_ONE_AUTHORING_V1: () => SERVO_CREATURE_MISSION_ONE_AUTHORING_V1,
|
|
39
40
|
SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1: () => SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1,
|
|
40
41
|
STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1: () => STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1,
|
|
42
|
+
VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1: () => VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1,
|
|
41
43
|
assertValidLearningPath: () => assertValidLearningPath,
|
|
42
44
|
assertValidMissionAuthoringBundle: () => assertValidMissionAuthoringBundle,
|
|
43
45
|
calculateAssessment: () => calculateAssessment,
|
|
@@ -1150,6 +1152,19 @@ function validateMissionAuthoringBundle(bundle, module3) {
|
|
|
1150
1152
|
);
|
|
1151
1153
|
}
|
|
1152
1154
|
}
|
|
1155
|
+
if (learner.boundedSuggestion) {
|
|
1156
|
+
const suggestion = learner.boundedSuggestion;
|
|
1157
|
+
const invalidBoundedSuggestion = suggestion.id.trim().length === 0 || suggestion.source !== "authored-fallback" || suggestion.intent.trim().length === 0 || suggestion.constraints.length === 0 || suggestion.constraints.some((constraint) => constraint.trim().length === 0) || !learnerArtifactIds.has(suggestion.permittedArtifactId) || suggestion.originalSnippet.trim().length === 0 || suggestion.replacementSnippet.trim().length === 0 || suggestion.originalSnippet === suggestion.replacementSnippet || suggestion.explanationPrompt.trim().length === 0 || suggestion.aiOptional !== false || suggestion.learnerApprovalRequired !== true || suggestion.alternatives.length !== 2 || suggestion.alternatives[0] !== "accept" || suggestion.alternatives[1] !== "reject";
|
|
1158
|
+
if (invalidBoundedSuggestion) {
|
|
1159
|
+
issues.push(
|
|
1160
|
+
authoringIssue(
|
|
1161
|
+
"invalid-bounded-suggestion",
|
|
1162
|
+
"A bounded suggestion requires one learner artifact, authored constraints, a visible diff and explicit accept/reject approval.",
|
|
1163
|
+
"learner.boundedSuggestion"
|
|
1164
|
+
)
|
|
1165
|
+
);
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1153
1168
|
const hardware = bundle.hardware;
|
|
1154
1169
|
if (hardware) {
|
|
1155
1170
|
if (module3.category !== "robot" || module3.hardware.mode !== "physical-first" || !module3.hardware.simulatorAvailable) {
|
|
@@ -3832,6 +3847,364 @@ var OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1 = {
|
|
|
3832
3847
|
}
|
|
3833
3848
|
}
|
|
3834
3849
|
};
|
|
3850
|
+
var RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1 = {
|
|
3851
|
+
version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
|
|
3852
|
+
moduleId: "junior-coder.rainbow-rescue-rover",
|
|
3853
|
+
moduleVersion: "1.1.0",
|
|
3854
|
+
missionId: "rainbow-rescue-rover-mission-1",
|
|
3855
|
+
learner: {
|
|
3856
|
+
estimatedMinutes: 20,
|
|
3857
|
+
stages: [
|
|
3858
|
+
{
|
|
3859
|
+
kind: "learn",
|
|
3860
|
+
instruction: "Read what detectColour(), locateTarget(), planSerialCommand(), armHeartbeat() and failSafeStop() do in the private Rainbow Rescue Rover simulator.",
|
|
3861
|
+
artifactIds: ["rainbow-rescue-rover-m1-art"]
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
kind: "predict",
|
|
3865
|
+
instruction: "Predict the simulated colour, target zone, bounded command, heartbeat time and final stopped state before the rescue plan runs.",
|
|
3866
|
+
artifactIds: []
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
kind: "build",
|
|
3870
|
+
instruction: "Adjust the five documented integration calls to recognise one simulated target and plan one safe serial command with a heartbeat and fail-safe stop.",
|
|
3871
|
+
artifactIds: ["rainbow-rescue-rover-m1-code"]
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
kind: "run",
|
|
3875
|
+
instruction: "Use the Run action button to start the private Rainbow Rescue Rover integration simulator.",
|
|
3876
|
+
artifactIds: ["rainbow-rescue-rover-m1-code"]
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
kind: "assess",
|
|
3880
|
+
instruction: "Run the visible and protected deterministic colour, location, command, heartbeat and stop checks.",
|
|
3881
|
+
artifactIds: []
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
kind: "inspect",
|
|
3885
|
+
instruction: "Compare the highlighted integration-plan line with the first rescue goal that did not pass.",
|
|
3886
|
+
artifactIds: []
|
|
3887
|
+
},
|
|
3888
|
+
{
|
|
3889
|
+
kind: "fix",
|
|
3890
|
+
instruction: "Change one bounded colour, target zone, command, heartbeat or stop call, then rerun and inspect the text telemetry.",
|
|
3891
|
+
artifactIds: ["rainbow-rescue-rover-m1-code"]
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
kind: "explain",
|
|
3895
|
+
instruction: "Explain how family-local colour evidence became a bounded command plan and why the heartbeat and fail-safe stop protect every uncertain state.",
|
|
3896
|
+
artifactIds: []
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
kind: "reward",
|
|
3900
|
+
instruction: "Collect the simulated badge when the score and mandatory privacy and safety checks pass; physical completion remains adult-only.",
|
|
3901
|
+
artifactIds: []
|
|
3902
|
+
}
|
|
3903
|
+
],
|
|
3904
|
+
readinessChecks: [
|
|
3905
|
+
{
|
|
3906
|
+
id: "rainbow-rescue-rover-m1-find-privacy",
|
|
3907
|
+
prompt: "Find the rule that keeps Camera Module 3 frames on the family Raspberry Pi and explain why only bounded command labels may leave it.",
|
|
3908
|
+
scored: false
|
|
3909
|
+
}
|
|
3910
|
+
],
|
|
3911
|
+
artifacts: [
|
|
3912
|
+
{
|
|
3913
|
+
id: "rainbow-rescue-rover-m1-code",
|
|
3914
|
+
kind: "starter-code",
|
|
3915
|
+
audience: "learner",
|
|
3916
|
+
solutionBearing: false
|
|
3917
|
+
},
|
|
3918
|
+
{
|
|
3919
|
+
id: "rainbow-rescue-rover-m1-art",
|
|
3920
|
+
kind: "starter-assets",
|
|
3921
|
+
audience: "learner",
|
|
3922
|
+
solutionBearing: false
|
|
3923
|
+
},
|
|
3924
|
+
{
|
|
3925
|
+
id: "rainbow-rescue-rover-m1-printable",
|
|
3926
|
+
kind: "printable",
|
|
3927
|
+
audience: "learner",
|
|
3928
|
+
solutionBearing: false
|
|
3929
|
+
}
|
|
3930
|
+
],
|
|
3931
|
+
goals: [
|
|
3932
|
+
{
|
|
3933
|
+
id: "rainbow-rescue-rover-m1-starts",
|
|
3934
|
+
statement: "The documented integration-plan settings are valid and the private simulator starts.",
|
|
3935
|
+
visibility: "visible",
|
|
3936
|
+
criterionIds: ["rainbow-rescue-rover-build"],
|
|
3937
|
+
completionRequired: true,
|
|
3938
|
+
aiRequired: false
|
|
3939
|
+
},
|
|
3940
|
+
{
|
|
3941
|
+
id: "rainbow-rescue-rover-m1-target-command",
|
|
3942
|
+
statement: "The rover plan recognises a green simulated target in the centre and selects one bounded forward command.",
|
|
3943
|
+
visibility: "visible",
|
|
3944
|
+
criterionIds: ["rainbow-rescue-rover-goal-one", "rainbow-rescue-rover-goal-two"],
|
|
3945
|
+
completionRequired: true,
|
|
3946
|
+
aiRequired: false
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
id: "rainbow-rescue-rover-m1-private-runtime",
|
|
3950
|
+
statement: "The plan arms a heartbeat, ends fail-safe stopped and never accesses a camera, serial port, motor, network or browser storage.",
|
|
3951
|
+
visibility: "visible",
|
|
3952
|
+
criterionIds: ["rainbow-rescue-rover-safety"],
|
|
3953
|
+
completionRequired: true,
|
|
3954
|
+
aiRequired: false
|
|
3955
|
+
}
|
|
3956
|
+
],
|
|
3957
|
+
interactions: [
|
|
3958
|
+
{
|
|
3959
|
+
id: "rainbow-rescue-rover-m1-run-control",
|
|
3960
|
+
description: "Start the private Rainbow Rescue Rover integration simulation.",
|
|
3961
|
+
primaryMode: "pointer",
|
|
3962
|
+
alternativeIds: ["rainbow-rescue-rover-m1-keyboard-run"]
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
id: "rainbow-rescue-rover-m1-code-control",
|
|
3966
|
+
description: "Edit the documented colour, target, command, heartbeat and stop calls.",
|
|
3967
|
+
primaryMode: "keyboard",
|
|
3968
|
+
alternativeIds: []
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
id: "rainbow-rescue-rover-m1-target-preview",
|
|
3972
|
+
description: "Observe the simulated colour target, command route and stopped state.",
|
|
3973
|
+
primaryMode: "colour",
|
|
3974
|
+
alternativeIds: ["rainbow-rescue-rover-m1-telemetry"]
|
|
3975
|
+
}
|
|
3976
|
+
],
|
|
3977
|
+
accessibilityAlternatives: [
|
|
3978
|
+
{
|
|
3979
|
+
id: "rainbow-rescue-rover-m1-keyboard-run",
|
|
3980
|
+
modes: ["keyboard"],
|
|
3981
|
+
equivalentOutcome: true,
|
|
3982
|
+
description: "Press Enter or Space on the play-icon Run button to start the same simulator."
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
id: "rainbow-rescue-rover-m1-telemetry",
|
|
3986
|
+
modes: ["text", "shape", "symbol", "reduced-motion"],
|
|
3987
|
+
equivalentOutcome: true,
|
|
3988
|
+
description: "Read the colour name, target zone, command, heartbeat milliseconds and stopped state without camera access, animation or colour alone."
|
|
3989
|
+
}
|
|
3990
|
+
],
|
|
3991
|
+
evidenceRequirements: [
|
|
3992
|
+
{
|
|
3993
|
+
id: "rainbow-rescue-rover-m1-assessment",
|
|
3994
|
+
goalIds: [
|
|
3995
|
+
"rainbow-rescue-rover-m1-starts",
|
|
3996
|
+
"rainbow-rescue-rover-m1-target-command",
|
|
3997
|
+
"rainbow-rescue-rover-m1-private-runtime"
|
|
3998
|
+
],
|
|
3999
|
+
kind: "assessment-result",
|
|
4000
|
+
retention: "entitlement",
|
|
4001
|
+
containsPersonalData: false
|
|
4002
|
+
},
|
|
4003
|
+
{
|
|
4004
|
+
id: "rainbow-rescue-rover-m1-explanation",
|
|
4005
|
+
goalIds: ["rainbow-rescue-rover-m1-target-command"],
|
|
4006
|
+
kind: "learner-explanation",
|
|
4007
|
+
retention: "attempt",
|
|
4008
|
+
containsPersonalData: false
|
|
4009
|
+
}
|
|
4010
|
+
],
|
|
4011
|
+
sideAdventures: [
|
|
4012
|
+
{
|
|
4013
|
+
id: "rainbow-rescue-rover-m1-remix",
|
|
4014
|
+
prompt: "Invent an original colour rescue rule and add a text, shape or symbol cue that explains the command without camera frames, motion or colour alone.",
|
|
4015
|
+
completionRequired: false
|
|
4016
|
+
}
|
|
4017
|
+
],
|
|
4018
|
+
rewardBindings: [
|
|
4019
|
+
{
|
|
4020
|
+
id: "rainbow-rescue-rover-m1-simulated-badge",
|
|
4021
|
+
badgeId: "rainbow-rescue-rover-mission-complete",
|
|
4022
|
+
goalIds: [
|
|
4023
|
+
"rainbow-rescue-rover-m1-starts",
|
|
4024
|
+
"rainbow-rescue-rover-m1-target-command",
|
|
4025
|
+
"rainbow-rescue-rover-m1-private-runtime"
|
|
4026
|
+
],
|
|
4027
|
+
deterministic: true,
|
|
4028
|
+
random: false,
|
|
4029
|
+
tokenConvertible: false
|
|
4030
|
+
}
|
|
4031
|
+
],
|
|
4032
|
+
functionReference: [
|
|
4033
|
+
{
|
|
4034
|
+
id: "rainbow-rescue-rover-function-detect",
|
|
4035
|
+
signature: "detectColour(colour)",
|
|
4036
|
+
summary: "Selects one labelled colour result in the private simulator.",
|
|
4037
|
+
parameters: [
|
|
4038
|
+
{
|
|
4039
|
+
name: "colour",
|
|
4040
|
+
type: "string",
|
|
4041
|
+
description: "Use red, green, blue or yellow."
|
|
4042
|
+
}
|
|
4043
|
+
],
|
|
4044
|
+
effect: "Returns one simulator colour label and confidence state; it never opens a camera or receives a frame.",
|
|
4045
|
+
example: 'detectColour("green");'
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
id: "rainbow-rescue-rover-function-locate",
|
|
4049
|
+
signature: "locateTarget(zone)",
|
|
4050
|
+
summary: "Places the simulated target in one labelled horizontal zone.",
|
|
4051
|
+
parameters: [
|
|
4052
|
+
{
|
|
4053
|
+
name: "zone",
|
|
4054
|
+
type: "string",
|
|
4055
|
+
description: "Use left, centre or right."
|
|
4056
|
+
}
|
|
4057
|
+
],
|
|
4058
|
+
effect: "Updates text, shape and coordinate cues in the simulator without analysing or storing an image.",
|
|
4059
|
+
example: 'locateTarget("centre");'
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
id: "rainbow-rescue-rover-function-command",
|
|
4063
|
+
signature: "planSerialCommand(command)",
|
|
4064
|
+
summary: "Plans one bounded command label for the simulated rover link.",
|
|
4065
|
+
parameters: [
|
|
4066
|
+
{
|
|
4067
|
+
name: "command",
|
|
4068
|
+
type: "string",
|
|
4069
|
+
description: "Use forward, turn-left, turn-right or stop."
|
|
4070
|
+
}
|
|
4071
|
+
],
|
|
4072
|
+
effect: "Records a simulator-only command label; it never opens a serial port or activates motors.",
|
|
4073
|
+
example: 'planSerialCommand("forward");'
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
id: "rainbow-rescue-rover-function-heartbeat",
|
|
4077
|
+
signature: "armHeartbeat(duration)",
|
|
4078
|
+
summary: "Arms a bounded simulated command heartbeat.",
|
|
4079
|
+
parameters: [
|
|
4080
|
+
{
|
|
4081
|
+
name: "duration",
|
|
4082
|
+
type: "whole number",
|
|
4083
|
+
description: "A bounded heartbeat from 250 to 1000 milliseconds."
|
|
4084
|
+
}
|
|
4085
|
+
],
|
|
4086
|
+
effect: "Records heartbeat telemetry so an uncertain simulator link becomes stopped; it cannot maintain physical movement.",
|
|
4087
|
+
example: "armHeartbeat(500);"
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
id: "rainbow-rescue-rover-function-stop",
|
|
4091
|
+
signature: "failSafeStop()",
|
|
4092
|
+
summary: "Ends the integration simulation in a fail-safe stopped state.",
|
|
4093
|
+
parameters: [],
|
|
4094
|
+
effect: "Marks the private simulator stopped after the bounded command plan; it cannot activate, stop or otherwise control physical hardware.",
|
|
4095
|
+
example: "failSafeStop();"
|
|
4096
|
+
}
|
|
4097
|
+
]
|
|
4098
|
+
},
|
|
4099
|
+
facilitator: {
|
|
4100
|
+
artifacts: [
|
|
4101
|
+
{
|
|
4102
|
+
id: "rainbow-rescue-rover-m1-answer-key",
|
|
4103
|
+
kind: "answer-key",
|
|
4104
|
+
audience: "facilitator",
|
|
4105
|
+
solutionBearing: true
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4108
|
+
id: "rainbow-rescue-rover-m1-protected-tests",
|
|
4109
|
+
kind: "protected-test",
|
|
4110
|
+
audience: "facilitator",
|
|
4111
|
+
solutionBearing: true
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
id: "rainbow-rescue-rover-m1-adult-hardware-guide",
|
|
4115
|
+
kind: "facilitator-note",
|
|
4116
|
+
audience: "facilitator",
|
|
4117
|
+
solutionBearing: true
|
|
4118
|
+
}
|
|
4119
|
+
],
|
|
4120
|
+
protectedGoals: [
|
|
4121
|
+
{
|
|
4122
|
+
id: "rainbow-rescue-rover-m1-protected-resilience",
|
|
4123
|
+
statement: "The simulator rejects unsupported colours, zones, serial commands, invalid heartbeats, missing stop calls and any camera, serial or physical-hardware request.",
|
|
4124
|
+
visibility: "protected",
|
|
4125
|
+
criterionIds: ["rainbow-rescue-rover-edge-one", "rainbow-rescue-rover-edge-two"],
|
|
4126
|
+
completionRequired: false,
|
|
4127
|
+
aiRequired: false
|
|
4128
|
+
}
|
|
4129
|
+
],
|
|
4130
|
+
prompts: [
|
|
4131
|
+
"Ask the learner to predict the labelled target, bounded command and final stopped state before suggesting one change.",
|
|
4132
|
+
"Use only authored function guidance and simulator telemetry; never request camera frames or give learner wiring, power or motor-control advice.",
|
|
4133
|
+
"Physical export stays unavailable until an adult acknowledges the exact manifest and every camera, computer, serial, rover and power component has bench-test evidence."
|
|
4134
|
+
]
|
|
4135
|
+
},
|
|
4136
|
+
hardware: {
|
|
4137
|
+
requirementsVersion: "1.0.0",
|
|
4138
|
+
hardwareIncluded: false,
|
|
4139
|
+
completePathItemIds: [
|
|
4140
|
+
"pico-2-w",
|
|
4141
|
+
"breadboard",
|
|
4142
|
+
"usb-data-cable",
|
|
4143
|
+
"jumper-wires",
|
|
4144
|
+
"verified-explorer",
|
|
4145
|
+
"pi-zero-2-w",
|
|
4146
|
+
"camera-3",
|
|
4147
|
+
"pi-storage-power"
|
|
4148
|
+
],
|
|
4149
|
+
incrementalItemIds: [
|
|
4150
|
+
"verified-explorer",
|
|
4151
|
+
"pi-zero-2-w",
|
|
4152
|
+
"camera-3",
|
|
4153
|
+
"pi-storage-power"
|
|
4154
|
+
],
|
|
4155
|
+
components: [
|
|
4156
|
+
{ itemId: "pico-2-w", quantity: 1, acquisitionScope: "complete-path", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false },
|
|
4157
|
+
{ itemId: "breadboard", quantity: 1, acquisitionScope: "complete-path", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false },
|
|
4158
|
+
{ itemId: "usb-data-cable", quantity: 1, acquisitionScope: "complete-path", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false },
|
|
4159
|
+
{ itemId: "jumper-wires", quantity: 12, acquisitionScope: "complete-path", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false },
|
|
4160
|
+
{ itemId: "verified-explorer", quantity: 1, acquisitionScope: "incremental", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false },
|
|
4161
|
+
{ itemId: "pi-zero-2-w", quantity: 1, acquisitionScope: "incremental", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false },
|
|
4162
|
+
{ itemId: "camera-3", quantity: 1, acquisitionScope: "incremental", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false },
|
|
4163
|
+
{ itemId: "pi-storage-power", quantity: 1, acquisitionScope: "incremental", verificationStatus: "pending-bench-test", compatibilityClaimed: false, physicalCompletionEligible: false }
|
|
4164
|
+
],
|
|
4165
|
+
safeguards: {
|
|
4166
|
+
adultAssemblyRequired: true,
|
|
4167
|
+
adultAcknowledgementRequiredForExport: true,
|
|
4168
|
+
websiteMayControlHardware: false,
|
|
4169
|
+
simulatorCompletionAvailable: true,
|
|
4170
|
+
simulatedBadgeId: "rainbow-rescue-rover-mission-complete",
|
|
4171
|
+
physicalBadgeId: "rainbow-rescue-rover-physical-builder",
|
|
4172
|
+
physicalBadgeRequiresAdultSignoff: true,
|
|
4173
|
+
adultAssemblySteps: [
|
|
4174
|
+
"Confirm the exact bench-signed rover, Pi Zero 2 W, Camera Module 3 and correct Zero-series camera ribbon identities against the manifest.",
|
|
4175
|
+
"With all power disconnected, fit and inspect the camera ribbon, storage, Pi power, Pico data link and isolated rover assemblies using the adult guide.",
|
|
4176
|
+
"Complete local colour calibration, bounded serial-command, heartbeat, link-loss and fail-safe-stop tests with the wheels lifted clear of the surface."
|
|
4177
|
+
],
|
|
4178
|
+
powerRequirements: [
|
|
4179
|
+
"Use a separate regulated Raspberry Pi power supply for the Pi Zero 2 W and Camera Module 3.",
|
|
4180
|
+
"Use the verified switched protected motor supply for the rover; never power motors, the Pi Zero 2 W or Camera Module 3 from a Pico GPIO pin.",
|
|
4181
|
+
"Keep every power switch accessible and disconnect every source before changing the camera ribbon, storage, wiring, sensors, wheels or chassis parts."
|
|
4182
|
+
],
|
|
4183
|
+
cableRequirements: [
|
|
4184
|
+
"One known data-capable USB cable compatible with the Pico 2 W and Pi Zero 2 W serial plan.",
|
|
4185
|
+
"The correct Zero-series Camera Module 3 ribbon and adult-verified insulated rover and power connectors."
|
|
4186
|
+
],
|
|
4187
|
+
softwarePrerequisites: [
|
|
4188
|
+
"Current Raspberry Pi OS with supported rpicam and Picamera2 software on the family-owned Pi Zero 2 W.",
|
|
4189
|
+
"Supported Pico SDK toolchain and known-good recovery firmware with adult-owned heartbeat, link-loss and emergency-stop behaviour.",
|
|
4190
|
+
"A family-local colour-calibration utility that never uploads, publishes or transmits Camera Module 3 frames."
|
|
4191
|
+
],
|
|
4192
|
+
warnings: [
|
|
4193
|
+
"Hardware is not included with the module.",
|
|
4194
|
+
"No listed camera, computer, rover, serial or power configuration currently claims compatibility or physical-completion eligibility.",
|
|
4195
|
+
"Camera frames remain on the family Raspberry Pi and must never be submitted to Plasius, an agent service or a published project.",
|
|
4196
|
+
"The website never activates motors, opens a camera or serial port, and an uncertain or missing heartbeat must stop the physical rover.",
|
|
4197
|
+
"Moving wheels, pinch points, stalled motors, camera ribbon damage and unsuitable supplies can cause unsafe movement, heat or damage; adult assembly, calibration and testing are mandatory.",
|
|
4198
|
+
"The simulator and simulated badge remain available without physical equipment."
|
|
4199
|
+
],
|
|
4200
|
+
unrelatedHardwareNotRequired: [
|
|
4201
|
+
"cloud camera, object-recognition or face-recognition services",
|
|
4202
|
+
"microphone, speaker, location or biometric sensors",
|
|
4203
|
+
"public hosting, analytics, advertising or external network access"
|
|
4204
|
+
]
|
|
4205
|
+
}
|
|
4206
|
+
}
|
|
4207
|
+
};
|
|
3835
4208
|
var RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1 = {
|
|
3836
4209
|
version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
|
|
3837
4210
|
moduleId: "junior-coder.rescue-crew-commander",
|
|
@@ -4278,6 +4651,280 @@ var METEOR_SHIELD_MISSION_ONE_AUTHORING_V1 = {
|
|
|
4278
4651
|
]
|
|
4279
4652
|
}
|
|
4280
4653
|
};
|
|
4654
|
+
var VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1 = {
|
|
4655
|
+
version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
|
|
4656
|
+
moduleId: "junior-coder.vibe-game-remix-lab",
|
|
4657
|
+
moduleVersion: "1.1.0",
|
|
4658
|
+
missionId: "vibe-game-remix-lab-mission-1",
|
|
4659
|
+
learner: {
|
|
4660
|
+
estimatedMinutes: 20,
|
|
4661
|
+
stages: [
|
|
4662
|
+
{
|
|
4663
|
+
kind: "learn",
|
|
4664
|
+
instruction: "Read how setRescueSpeed(), setGateSpacing() and setGoalCount() change the supplied mini-game.",
|
|
4665
|
+
artifactIds: ["vibe-game-remix-lab-m1-guide"]
|
|
4666
|
+
},
|
|
4667
|
+
{
|
|
4668
|
+
kind: "predict",
|
|
4669
|
+
instruction: "Choose one bounded intent card and predict what its one-line diff will change before viewing it.",
|
|
4670
|
+
artifactIds: ["vibe-game-remix-lab-m1-intent-cards"]
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
kind: "build",
|
|
4674
|
+
instruction: "Open the supplied mini-game and keep changes inside its documented settings file.",
|
|
4675
|
+
artifactIds: ["vibe-game-remix-lab-m1-code"]
|
|
4676
|
+
},
|
|
4677
|
+
{
|
|
4678
|
+
kind: "run",
|
|
4679
|
+
instruction: "Use the Run action button to start the private JavaScript preview.",
|
|
4680
|
+
artifactIds: ["vibe-game-remix-lab-m1-code"]
|
|
4681
|
+
},
|
|
4682
|
+
{
|
|
4683
|
+
kind: "assess",
|
|
4684
|
+
instruction: "Run deterministic checks before requesting or applying any suggestion.",
|
|
4685
|
+
artifactIds: []
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
kind: "inspect",
|
|
4689
|
+
instruction: "Compare the single authored diff with your prediction and the failed goal evidence.",
|
|
4690
|
+
artifactIds: ["vibe-game-remix-lab-m1-code"]
|
|
4691
|
+
},
|
|
4692
|
+
{
|
|
4693
|
+
kind: "fix",
|
|
4694
|
+
instruction: "Accept or reject the proposed change yourself, then rerun the preview and assessment.",
|
|
4695
|
+
artifactIds: ["vibe-game-remix-lab-m1-code"]
|
|
4696
|
+
},
|
|
4697
|
+
{
|
|
4698
|
+
kind: "explain",
|
|
4699
|
+
instruction: "Explain why you accepted or rejected the change and what the new evidence shows.",
|
|
4700
|
+
artifactIds: []
|
|
4701
|
+
},
|
|
4702
|
+
{
|
|
4703
|
+
kind: "reward",
|
|
4704
|
+
instruction: "Collect the evidence-bound badge after the deterministic score reaches 80 and every safety check passes.",
|
|
4705
|
+
artifactIds: []
|
|
4706
|
+
}
|
|
4707
|
+
],
|
|
4708
|
+
readinessChecks: [
|
|
4709
|
+
{
|
|
4710
|
+
id: "vibe-game-remix-lab-m1-find-setting",
|
|
4711
|
+
prompt: "Point to the documented function that changes how many rescue goals appear.",
|
|
4712
|
+
scored: false
|
|
4713
|
+
}
|
|
4714
|
+
],
|
|
4715
|
+
artifacts: [
|
|
4716
|
+
{
|
|
4717
|
+
id: "vibe-game-remix-lab-m1-code",
|
|
4718
|
+
kind: "starter-code",
|
|
4719
|
+
audience: "learner",
|
|
4720
|
+
solutionBearing: false
|
|
4721
|
+
},
|
|
4722
|
+
{
|
|
4723
|
+
id: "vibe-game-remix-lab-m1-guide",
|
|
4724
|
+
kind: "starter-assets",
|
|
4725
|
+
audience: "learner",
|
|
4726
|
+
solutionBearing: false
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
id: "vibe-game-remix-lab-m1-intent-cards",
|
|
4730
|
+
kind: "printable",
|
|
4731
|
+
audience: "learner",
|
|
4732
|
+
solutionBearing: false
|
|
4733
|
+
}
|
|
4734
|
+
],
|
|
4735
|
+
goals: [
|
|
4736
|
+
{
|
|
4737
|
+
id: "vibe-game-remix-lab-m1-starts",
|
|
4738
|
+
statement: "The supplied JavaScript mini-game remains structurally valid and starts.",
|
|
4739
|
+
visibility: "visible",
|
|
4740
|
+
criterionIds: ["vibe-game-remix-lab-build"],
|
|
4741
|
+
completionRequired: true,
|
|
4742
|
+
aiRequired: false
|
|
4743
|
+
},
|
|
4744
|
+
{
|
|
4745
|
+
id: "vibe-game-remix-lab-m1-bounded-remix",
|
|
4746
|
+
statement: "The approved one-file change matches the chosen intent and every published behaviour goal.",
|
|
4747
|
+
visibility: "visible",
|
|
4748
|
+
criterionIds: [
|
|
4749
|
+
"vibe-game-remix-lab-goal-one",
|
|
4750
|
+
"vibe-game-remix-lab-goal-two",
|
|
4751
|
+
"vibe-game-remix-lab-goal-three"
|
|
4752
|
+
],
|
|
4753
|
+
completionRequired: true,
|
|
4754
|
+
aiRequired: false
|
|
4755
|
+
},
|
|
4756
|
+
{
|
|
4757
|
+
id: "vibe-game-remix-lab-m1-private-runtime",
|
|
4758
|
+
statement: "The remix stays inside the private sandbox with no network, personal data or automatic code changes.",
|
|
4759
|
+
visibility: "visible",
|
|
4760
|
+
criterionIds: ["vibe-game-remix-lab-safety"],
|
|
4761
|
+
completionRequired: true,
|
|
4762
|
+
aiRequired: false
|
|
4763
|
+
}
|
|
4764
|
+
],
|
|
4765
|
+
interactions: [
|
|
4766
|
+
{
|
|
4767
|
+
id: "vibe-game-remix-lab-m1-run-control",
|
|
4768
|
+
description: "Start the supplied mini-game preview.",
|
|
4769
|
+
primaryMode: "pointer",
|
|
4770
|
+
alternativeIds: ["vibe-game-remix-lab-m1-keyboard-run"]
|
|
4771
|
+
},
|
|
4772
|
+
{
|
|
4773
|
+
id: "vibe-game-remix-lab-m1-diff-review",
|
|
4774
|
+
description: "Read the removed and added source line before choosing what to do.",
|
|
4775
|
+
primaryMode: "text",
|
|
4776
|
+
alternativeIds: []
|
|
4777
|
+
},
|
|
4778
|
+
{
|
|
4779
|
+
id: "vibe-game-remix-lab-m1-accept-control",
|
|
4780
|
+
description: "Approve the exact immutable suggestion snapshot.",
|
|
4781
|
+
primaryMode: "pointer",
|
|
4782
|
+
alternativeIds: ["vibe-game-remix-lab-m1-keyboard-review"]
|
|
4783
|
+
},
|
|
4784
|
+
{
|
|
4785
|
+
id: "vibe-game-remix-lab-m1-reject-control",
|
|
4786
|
+
description: "Reject the suggestion and preserve the current source.",
|
|
4787
|
+
primaryMode: "pointer",
|
|
4788
|
+
alternativeIds: ["vibe-game-remix-lab-m1-keyboard-review"]
|
|
4789
|
+
}
|
|
4790
|
+
],
|
|
4791
|
+
accessibilityAlternatives: [
|
|
4792
|
+
{
|
|
4793
|
+
id: "vibe-game-remix-lab-m1-keyboard-run",
|
|
4794
|
+
modes: ["keyboard"],
|
|
4795
|
+
equivalentOutcome: true,
|
|
4796
|
+
description: "Press Enter or Space on the play-icon Run button to start the same preview."
|
|
4797
|
+
},
|
|
4798
|
+
{
|
|
4799
|
+
id: "vibe-game-remix-lab-m1-keyboard-review",
|
|
4800
|
+
modes: ["keyboard", "text", "reduced-motion"],
|
|
4801
|
+
equivalentOutcome: true,
|
|
4802
|
+
description: "Read the labelled removed and added lines, then focus Accept or Reject and press Enter or Space."
|
|
4803
|
+
}
|
|
4804
|
+
],
|
|
4805
|
+
evidenceRequirements: [
|
|
4806
|
+
{
|
|
4807
|
+
id: "vibe-game-remix-lab-m1-assessment",
|
|
4808
|
+
goalIds: [
|
|
4809
|
+
"vibe-game-remix-lab-m1-starts",
|
|
4810
|
+
"vibe-game-remix-lab-m1-bounded-remix",
|
|
4811
|
+
"vibe-game-remix-lab-m1-private-runtime"
|
|
4812
|
+
],
|
|
4813
|
+
kind: "assessment-result",
|
|
4814
|
+
retention: "entitlement",
|
|
4815
|
+
containsPersonalData: false
|
|
4816
|
+
},
|
|
4817
|
+
{
|
|
4818
|
+
id: "vibe-game-remix-lab-m1-explanation",
|
|
4819
|
+
goalIds: ["vibe-game-remix-lab-m1-bounded-remix"],
|
|
4820
|
+
kind: "learner-explanation",
|
|
4821
|
+
retention: "attempt",
|
|
4822
|
+
containsPersonalData: false
|
|
4823
|
+
}
|
|
4824
|
+
],
|
|
4825
|
+
sideAdventures: [
|
|
4826
|
+
{
|
|
4827
|
+
id: "vibe-game-remix-lab-m1-inventor",
|
|
4828
|
+
prompt: "Write a new bounded remix intent card with one permitted setting, one constraint and one success test.",
|
|
4829
|
+
completionRequired: false
|
|
4830
|
+
}
|
|
4831
|
+
],
|
|
4832
|
+
rewardBindings: [
|
|
4833
|
+
{
|
|
4834
|
+
id: "vibe-game-remix-lab-m1-badge",
|
|
4835
|
+
badgeId: "vibe-game-remix-lab-mission-complete",
|
|
4836
|
+
goalIds: [
|
|
4837
|
+
"vibe-game-remix-lab-m1-starts",
|
|
4838
|
+
"vibe-game-remix-lab-m1-bounded-remix",
|
|
4839
|
+
"vibe-game-remix-lab-m1-private-runtime"
|
|
4840
|
+
],
|
|
4841
|
+
deterministic: true,
|
|
4842
|
+
random: false,
|
|
4843
|
+
tokenConvertible: false
|
|
4844
|
+
}
|
|
4845
|
+
],
|
|
4846
|
+
functionReference: [
|
|
4847
|
+
{
|
|
4848
|
+
id: "vibe-game-remix-lab-function-speed",
|
|
4849
|
+
signature: "setRescueSpeed(speed)",
|
|
4850
|
+
summary: "Sets the supplied rescue robot's bounded movement speed.",
|
|
4851
|
+
parameters: [{ name: "speed", type: "whole number", description: "A safe speed from 1 to 5." }],
|
|
4852
|
+
effect: "Changes only the private mini-game simulation speed.",
|
|
4853
|
+
example: "setRescueSpeed(3);"
|
|
4854
|
+
},
|
|
4855
|
+
{
|
|
4856
|
+
id: "vibe-game-remix-lab-function-spacing",
|
|
4857
|
+
signature: "setGateSpacing(spacing)",
|
|
4858
|
+
summary: "Sets the gap between original rescue gates.",
|
|
4859
|
+
parameters: [{ name: "spacing", type: "whole number", description: "A bounded spacing from 2 to 6." }],
|
|
4860
|
+
effect: "Changes only the generated gate layout in the private preview.",
|
|
4861
|
+
example: "setGateSpacing(4);"
|
|
4862
|
+
},
|
|
4863
|
+
{
|
|
4864
|
+
id: "vibe-game-remix-lab-function-goals",
|
|
4865
|
+
signature: "setGoalCount(count)",
|
|
4866
|
+
summary: "Chooses how many fictional rescue goals the round contains.",
|
|
4867
|
+
parameters: [{ name: "count", type: "whole number", description: "A bounded goal count from 1 to 4." }],
|
|
4868
|
+
effect: "Changes the labelled rescue-goal count without network or account access.",
|
|
4869
|
+
example: "setGoalCount(3);"
|
|
4870
|
+
}
|
|
4871
|
+
],
|
|
4872
|
+
boundedSuggestion: {
|
|
4873
|
+
id: "vibe-game-remix-lab-m1-authored-goal-diff",
|
|
4874
|
+
source: "authored-fallback",
|
|
4875
|
+
intent: "Make the round contain one more rescue goal.",
|
|
4876
|
+
constraints: [
|
|
4877
|
+
"Change exactly one documented setting.",
|
|
4878
|
+
"Keep the goal count inside the published range.",
|
|
4879
|
+
"Do not add network, storage, DOM or account access."
|
|
4880
|
+
],
|
|
4881
|
+
permittedArtifactId: "vibe-game-remix-lab-m1-code",
|
|
4882
|
+
originalSnippet: "setGoalCount(2);",
|
|
4883
|
+
replacementSnippet: "setGoalCount(3);",
|
|
4884
|
+
explanationPrompt: "Did the new goal count match your prediction, and which assessment evidence proves it?",
|
|
4885
|
+
aiOptional: false,
|
|
4886
|
+
learnerApprovalRequired: true,
|
|
4887
|
+
alternatives: ["accept", "reject"]
|
|
4888
|
+
}
|
|
4889
|
+
},
|
|
4890
|
+
facilitator: {
|
|
4891
|
+
artifacts: [
|
|
4892
|
+
{
|
|
4893
|
+
id: "vibe-game-remix-lab-m1-answer-key",
|
|
4894
|
+
kind: "answer-key",
|
|
4895
|
+
audience: "facilitator",
|
|
4896
|
+
solutionBearing: true
|
|
4897
|
+
},
|
|
4898
|
+
{
|
|
4899
|
+
id: "vibe-game-remix-lab-m1-protected-tests",
|
|
4900
|
+
kind: "protected-test",
|
|
4901
|
+
audience: "facilitator",
|
|
4902
|
+
solutionBearing: true
|
|
4903
|
+
},
|
|
4904
|
+
{
|
|
4905
|
+
id: "vibe-game-remix-lab-m1-safety-notes",
|
|
4906
|
+
kind: "facilitator-note",
|
|
4907
|
+
audience: "facilitator",
|
|
4908
|
+
solutionBearing: true
|
|
4909
|
+
}
|
|
4910
|
+
],
|
|
4911
|
+
protectedGoals: [
|
|
4912
|
+
{
|
|
4913
|
+
id: "vibe-game-remix-lab-m1-protected-resilience",
|
|
4914
|
+
statement: "The sandbox rejects prompt injection, answer dumping, disallowed files, network access and changes outside the approved diff.",
|
|
4915
|
+
visibility: "protected",
|
|
4916
|
+
criterionIds: ["vibe-game-remix-lab-edge-one", "vibe-game-remix-lab-edge-two"],
|
|
4917
|
+
completionRequired: false,
|
|
4918
|
+
aiRequired: false
|
|
4919
|
+
}
|
|
4920
|
+
],
|
|
4921
|
+
prompts: [
|
|
4922
|
+
"Ask for the learner's prediction before revealing the authored diff.",
|
|
4923
|
+
"Do not invite free-form chat; keep intent, evidence and suggestions bound to the current project, rubric and permitted artifact.",
|
|
4924
|
+
"A rejection must leave source unchanged, and AI/provider failure must never block deterministic completion."
|
|
4925
|
+
]
|
|
4926
|
+
}
|
|
4927
|
+
};
|
|
4281
4928
|
var ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1 = {
|
|
4282
4929
|
version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
|
|
4283
4930
|
moduleId: "junior-coder.road-hopper-rally",
|
|
@@ -4639,12 +5286,14 @@ ${summary}`);
|
|
|
4639
5286
|
OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1,
|
|
4640
5287
|
PADDLE_PULSE_MISSION_ONE_AUTHORING_V1,
|
|
4641
5288
|
PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1,
|
|
5289
|
+
RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
4642
5290
|
RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
|
|
4643
5291
|
ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
|
|
4644
5292
|
ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
|
|
4645
5293
|
SERVO_CREATURE_MISSION_ONE_AUTHORING_V1,
|
|
4646
5294
|
SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1,
|
|
4647
5295
|
STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1,
|
|
5296
|
+
VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1,
|
|
4648
5297
|
assertValidLearningPath,
|
|
4649
5298
|
assertValidMissionAuthoringBundle,
|
|
4650
5299
|
calculateAssessment,
|