@plasius/learning 0.2.7 → 0.2.9
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 +27 -2
- package/dist/index.cjs +717 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +69 -2
- package/dist/index.d.ts +69 -2
- package/dist/index.js +715 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,6 +62,7 @@ the exact catalog module that owns its rubric, mission and badges.
|
|
|
62
62
|
|
|
63
63
|
```ts
|
|
64
64
|
import {
|
|
65
|
+
BEACON_BOT_MISSION_ONE_AUTHORING_V1,
|
|
65
66
|
JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1,
|
|
66
67
|
METEOR_SHIELD_MISSION_ONE_AUTHORING_V1,
|
|
67
68
|
PADDLE_PULSE_MISSION_ONE_AUTHORING_V1,
|
|
@@ -70,6 +71,7 @@ import {
|
|
|
70
71
|
ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
|
|
71
72
|
ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
|
|
72
73
|
SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1,
|
|
74
|
+
STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1,
|
|
73
75
|
assertValidMissionAuthoringBundle,
|
|
74
76
|
} from "@plasius/learning";
|
|
75
77
|
|
|
@@ -94,6 +96,12 @@ const rescueCrewCommander = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
|
94
96
|
const pixelTrailChallenge = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
95
97
|
(module) => module.slug === "pixel-trail-challenge",
|
|
96
98
|
);
|
|
99
|
+
const starDefenderSquadron = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
100
|
+
(module) => module.slug === "star-defender-squadron",
|
|
101
|
+
);
|
|
102
|
+
const beaconBot = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
103
|
+
(module) => module.slug === "beacon-bot",
|
|
104
|
+
);
|
|
97
105
|
|
|
98
106
|
if (
|
|
99
107
|
!roadHopper ||
|
|
@@ -102,7 +110,9 @@ if (
|
|
|
102
110
|
!paddlePulse ||
|
|
103
111
|
!meteorShield ||
|
|
104
112
|
!rescueCrewCommander ||
|
|
105
|
-
!pixelTrailChallenge
|
|
113
|
+
!pixelTrailChallenge ||
|
|
114
|
+
!starDefenderSquadron ||
|
|
115
|
+
!beaconBot
|
|
106
116
|
) {
|
|
107
117
|
throw new Error("Junior Coder module is missing");
|
|
108
118
|
}
|
|
@@ -135,6 +145,14 @@ assertValidMissionAuthoringBundle(
|
|
|
135
145
|
PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1,
|
|
136
146
|
pixelTrailChallenge,
|
|
137
147
|
);
|
|
148
|
+
assertValidMissionAuthoringBundle(
|
|
149
|
+
STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1,
|
|
150
|
+
starDefenderSquadron,
|
|
151
|
+
);
|
|
152
|
+
assertValidMissionAuthoringBundle(
|
|
153
|
+
BEACON_BOT_MISSION_ONE_AUTHORING_V1,
|
|
154
|
+
beaconBot,
|
|
155
|
+
);
|
|
138
156
|
```
|
|
139
157
|
|
|
140
158
|
## Contract rules
|
|
@@ -157,13 +175,20 @@ assertValidMissionAuthoringBundle(
|
|
|
157
175
|
- Completion requires a score of at least 80 and every mandatory criterion.
|
|
158
176
|
- Module agents may explain evidence and propose a bounded next step, but cannot assign scores or rewards.
|
|
159
177
|
- Physical requirements are disclosed by a versioned manifest before purchase.
|
|
178
|
+
- Robotics authoring distinguishes the complete reusable path kit from the
|
|
179
|
+
module's incremental items. Each component carries verification,
|
|
180
|
+
compatibility-claim and physical-completion status.
|
|
181
|
+
- Unverified components cannot claim compatibility or physical completion.
|
|
182
|
+
Simulator completion remains separate; physical export and its distinct
|
|
183
|
+
badge require adult acknowledgement and evidence.
|
|
160
184
|
|
|
161
185
|
See [the foundation design](docs/design/junior-coder-catalog-foundation.md),
|
|
162
186
|
[the uniform pricing design](docs/design/junior-coder-uniform-pricing.md),
|
|
163
187
|
[the mission authoring design](docs/design/junior-coder-mission-authoring.md),
|
|
164
188
|
[ADR 0001](docs/adrs/adr-0001-learning-domain-and-catalog-boundary.md), and
|
|
165
189
|
[ADR 0002](docs/adrs/adr-0002-immutable-module-repricing-and-admin-test-source.md),
|
|
166
|
-
|
|
190
|
+
[ADR 0003](docs/adrs/adr-0003-mission-authoring-manifests-are-additive-and-separated.md),
|
|
191
|
+
and [ADR 0004](docs/adrs/adr-0004-robot-mission-hardware-disclosures-are-additive-and-fail-closed.md).
|
|
167
192
|
|
|
168
193
|
## Development
|
|
169
194
|
|