@plasius/learning 0.2.6 → 0.2.7

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.d.cts CHANGED
@@ -382,6 +382,12 @@ declare const SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
382
382
  * and ball controls without receiving protected collision targets or answers.
383
383
  */
384
384
  declare const PADDLE_PULSE_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
385
+ /**
386
+ * Original first mission for Pixel Trail Challenge. Learners use documented,
387
+ * bounded Python host functions without receiving protected coordinates,
388
+ * expected source fragments or list/collision edge answers.
389
+ */
390
+ declare const PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
385
391
  /**
386
392
  * Original first mission for Rescue Crew Commander. The learner arranges a
387
393
  * typed visual program and can inspect its synchronized JavaScript projection,
@@ -402,4 +408,4 @@ declare function validateLearningPath(path: LearningPathVersionV1): LearningVali
402
408
  /** Fail fast when a path is not safe to publish or consume. */
403
409
  declare function assertValidLearningPath(path: LearningPathVersionV1): void;
404
410
 
405
- export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
411
+ export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
package/dist/index.d.ts CHANGED
@@ -382,6 +382,12 @@ declare const SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
382
382
  * and ball controls without receiving protected collision targets or answers.
383
383
  */
384
384
  declare const PADDLE_PULSE_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
385
+ /**
386
+ * Original first mission for Pixel Trail Challenge. Learners use documented,
387
+ * bounded Python host functions without receiving protected coordinates,
388
+ * expected source fragments or list/collision edge answers.
389
+ */
390
+ declare const PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
385
391
  /**
386
392
  * Original first mission for Rescue Crew Commander. The learner arranges a
387
393
  * typed visual program and can inspect its synchronized JavaScript projection,
@@ -402,4 +408,4 @@ declare function validateLearningPath(path: LearningPathVersionV1): LearningVali
402
408
  /** Fail fast when a path is not safe to publish or consume. */
403
409
  declare function assertValidLearningPath(path: LearningPathVersionV1): void;
404
410
 
405
- export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
411
+ export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
package/dist/index.js CHANGED
@@ -1742,6 +1742,226 @@ var PADDLE_PULSE_MISSION_ONE_AUTHORING_V1 = {
1742
1742
  ]
1743
1743
  }
1744
1744
  };
1745
+ var PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1 = {
1746
+ version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
1747
+ moduleId: "junior-coder.pixel-trail-challenge",
1748
+ moduleVersion: "1.1.0",
1749
+ missionId: "pixel-trail-challenge-mission-1",
1750
+ learner: {
1751
+ estimatedMinutes: 20,
1752
+ stages: [
1753
+ {
1754
+ kind: "learn",
1755
+ instruction: "Read what set_direction(), set_trail_limit() and place_energy_orb() do in the private Python preview.",
1756
+ artifactIds: ["pixel-trail-challenge-m1-art"]
1757
+ },
1758
+ {
1759
+ kind: "predict",
1760
+ instruction: "Predict the next grid square and how the trail list will change after one move.",
1761
+ artifactIds: []
1762
+ },
1763
+ {
1764
+ kind: "build",
1765
+ instruction: "Adjust the three documented Python calls so the pixel follows a safe trail toward the energy orb.",
1766
+ artifactIds: ["pixel-trail-challenge-m1-code"]
1767
+ },
1768
+ {
1769
+ kind: "run",
1770
+ instruction: "Use the Run action button to start the private grid preview.",
1771
+ artifactIds: ["pixel-trail-challenge-m1-code"]
1772
+ },
1773
+ {
1774
+ kind: "assess",
1775
+ instruction: "Run the visible and protected deterministic trail checks.",
1776
+ artifactIds: []
1777
+ },
1778
+ {
1779
+ kind: "inspect",
1780
+ instruction: "Compare the highlighted Python line with the first goal that did not pass.",
1781
+ artifactIds: []
1782
+ },
1783
+ {
1784
+ kind: "fix",
1785
+ instruction: "Change one direction, trail or orb setting, run again and inspect the position and list-length telemetry.",
1786
+ artifactIds: ["pixel-trail-challenge-m1-code"]
1787
+ },
1788
+ {
1789
+ kind: "explain",
1790
+ instruction: "Explain how the direction changed the position and why the trail list kept only recent squares.",
1791
+ artifactIds: []
1792
+ },
1793
+ {
1794
+ kind: "reward",
1795
+ instruction: "Collect the evidence-bound badge when the score and private-runtime safety check pass.",
1796
+ artifactIds: []
1797
+ }
1798
+ ],
1799
+ readinessChecks: [
1800
+ {
1801
+ id: "pixel-trail-challenge-m1-find-direction",
1802
+ prompt: "Point to the Python call that chooses the pixel's next direction.",
1803
+ scored: false
1804
+ }
1805
+ ],
1806
+ artifacts: [
1807
+ {
1808
+ id: "pixel-trail-challenge-m1-code",
1809
+ kind: "starter-code",
1810
+ audience: "learner",
1811
+ solutionBearing: false
1812
+ },
1813
+ {
1814
+ id: "pixel-trail-challenge-m1-art",
1815
+ kind: "starter-assets",
1816
+ audience: "learner",
1817
+ solutionBearing: false
1818
+ },
1819
+ {
1820
+ id: "pixel-trail-challenge-m1-printable",
1821
+ kind: "printable",
1822
+ audience: "learner",
1823
+ solutionBearing: false
1824
+ }
1825
+ ],
1826
+ goals: [
1827
+ {
1828
+ id: "pixel-trail-challenge-m1-starts",
1829
+ statement: "The Python settings are valid and the private grid preview starts.",
1830
+ visibility: "visible",
1831
+ criterionIds: ["pixel-trail-challenge-build"],
1832
+ completionRequired: true,
1833
+ aiRequired: false
1834
+ },
1835
+ {
1836
+ id: "pixel-trail-challenge-m1-safe-trail",
1837
+ statement: "The pixel moves in the chosen direction, keeps a bounded trail list and reaches the energy orb.",
1838
+ visibility: "visible",
1839
+ criterionIds: [
1840
+ "pixel-trail-challenge-goal-one",
1841
+ "pixel-trail-challenge-goal-two"
1842
+ ],
1843
+ completionRequired: true,
1844
+ aiRequired: false
1845
+ },
1846
+ {
1847
+ id: "pixel-trail-challenge-m1-private-runtime",
1848
+ statement: "The program stays inside the private Python worker and host-provided grid API.",
1849
+ visibility: "visible",
1850
+ criterionIds: ["pixel-trail-challenge-safety"],
1851
+ completionRequired: true,
1852
+ aiRequired: false
1853
+ }
1854
+ ],
1855
+ interactions: [
1856
+ {
1857
+ id: "pixel-trail-challenge-m1-run-control",
1858
+ description: "Start the private Python grid simulation.",
1859
+ primaryMode: "pointer",
1860
+ alternativeIds: ["pixel-trail-challenge-m1-keyboard-run"]
1861
+ },
1862
+ {
1863
+ id: "pixel-trail-challenge-m1-direction-control",
1864
+ description: "Change the active movement direction with labelled arrow controls or arrow keys.",
1865
+ primaryMode: "keyboard",
1866
+ alternativeIds: []
1867
+ },
1868
+ {
1869
+ id: "pixel-trail-challenge-m1-trail-motion",
1870
+ description: "Observe the pixel, recent trail squares and energy orb on the grid.",
1871
+ primaryMode: "motion",
1872
+ alternativeIds: ["pixel-trail-challenge-m1-telemetry"]
1873
+ }
1874
+ ],
1875
+ accessibilityAlternatives: [
1876
+ {
1877
+ id: "pixel-trail-challenge-m1-keyboard-run",
1878
+ modes: ["keyboard"],
1879
+ equivalentOutcome: true,
1880
+ description: "Press Enter or Space on the play-icon Run button to start the same preview."
1881
+ },
1882
+ {
1883
+ id: "pixel-trail-challenge-m1-telemetry",
1884
+ modes: ["text", "shape", "reduced-motion"],
1885
+ equivalentOutcome: true,
1886
+ description: "Read row, column, direction, trail length and orb status without animation or colour dependence."
1887
+ }
1888
+ ],
1889
+ evidenceRequirements: [
1890
+ {
1891
+ id: "pixel-trail-challenge-m1-assessment",
1892
+ goalIds: [
1893
+ "pixel-trail-challenge-m1-starts",
1894
+ "pixel-trail-challenge-m1-safe-trail",
1895
+ "pixel-trail-challenge-m1-private-runtime"
1896
+ ],
1897
+ kind: "assessment-result",
1898
+ retention: "entitlement",
1899
+ containsPersonalData: false
1900
+ },
1901
+ {
1902
+ id: "pixel-trail-challenge-m1-explanation",
1903
+ goalIds: ["pixel-trail-challenge-m1-safe-trail"],
1904
+ kind: "learner-explanation",
1905
+ retention: "attempt",
1906
+ containsPersonalData: false
1907
+ }
1908
+ ],
1909
+ sideAdventures: [
1910
+ {
1911
+ id: "pixel-trail-challenge-m1-remix",
1912
+ prompt: "Invent an original energy-orb symbol and describe a new safe grid rule for collecting it.",
1913
+ completionRequired: false
1914
+ }
1915
+ ],
1916
+ rewardBindings: [
1917
+ {
1918
+ id: "pixel-trail-challenge-m1-badge",
1919
+ badgeId: "pixel-trail-challenge-mission-complete",
1920
+ goalIds: [
1921
+ "pixel-trail-challenge-m1-starts",
1922
+ "pixel-trail-challenge-m1-safe-trail",
1923
+ "pixel-trail-challenge-m1-private-runtime"
1924
+ ],
1925
+ deterministic: true,
1926
+ random: false,
1927
+ tokenConvertible: false
1928
+ }
1929
+ ]
1930
+ },
1931
+ facilitator: {
1932
+ artifacts: [
1933
+ {
1934
+ id: "pixel-trail-challenge-m1-answer-key",
1935
+ kind: "answer-key",
1936
+ audience: "facilitator",
1937
+ solutionBearing: true
1938
+ },
1939
+ {
1940
+ id: "pixel-trail-challenge-m1-protected-tests",
1941
+ kind: "protected-test",
1942
+ audience: "facilitator",
1943
+ solutionBearing: true
1944
+ }
1945
+ ],
1946
+ protectedGoals: [
1947
+ {
1948
+ id: "pixel-trail-challenge-m1-protected-resilience",
1949
+ statement: "The worker rejects invalid directions, clamps trail capacity and terminates bounded grid simulations before list or collision abuse.",
1950
+ visibility: "protected",
1951
+ criterionIds: [
1952
+ "pixel-trail-challenge-edge-one",
1953
+ "pixel-trail-challenge-edge-two"
1954
+ ],
1955
+ completionRequired: false,
1956
+ aiRequired: false
1957
+ }
1958
+ ],
1959
+ prompts: [
1960
+ "Ask the learner to predict the next row and column before suggesting a Python edit.",
1961
+ "Use the function reference and visible telemetry; never reveal protected coordinates, numeric targets or expected source fragments."
1962
+ ]
1963
+ }
1964
+ };
1745
1965
  var RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1 = {
1746
1966
  version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
1747
1967
  moduleId: "junior-coder.rescue-crew-commander",
@@ -2544,6 +2764,7 @@ export {
2544
2764
  METEOR_SHIELD_MISSION_ONE_AUTHORING_V1,
2545
2765
  MISSION_AUTHORING_CONTRACT_VERSION_V1,
2546
2766
  PADDLE_PULSE_MISSION_ONE_AUTHORING_V1,
2767
+ PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1,
2547
2768
  RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
2548
2769
  ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
2549
2770
  ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,