From ff755aeb87cba5c9d03ce3402e97e6e92aeedfb7 Mon Sep 17 00:00:00 2001 From: ttbombadil Date: Sat, 3 Oct 2026 17:30:12 +0200 Subject: [PATCH] fix(tutor): let serial-output be learned without an int variable The Concept serial-output required variable-values, whose questions apply only when the sketch uses int. On sketches that print via Serial but have no int (16 of 35 Examples), serial-output could therefore never be selected: variables-and-serial was activated but unresolved from the first turn, and UnoSim blocked the Topic-driven Tutor with content-exhausted for the whole session. Serial output does not depend on an int: the Concept's objective, indicator, misconception, scaffold and both questions require only a Serial print call. The prerequisite is removed; activation, Concepts, questions and mastery stay unchanged, and preferredOrder still teaches variable-values first where the sketch has an int. The manifest hash of the Topic is updated. Co-Authored-By: Claude Opus 5.5 --- tutor/manifest.yaml | 2 +- tutor/topics/variables-and-serial.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutor/manifest.yaml b/tutor/manifest.yaml index 9dc0dcc..7d07c29 100644 --- a/tutor/manifest.yaml +++ b/tutor/manifest.yaml @@ -3,7 +3,7 @@ defaultStrategy: precision-policy topics: - id: variables-and-serial path: tutor/topics/variables-and-serial.yaml - sha256: f80f62a304e4183f4102672f0d9af4e1f8dbe5823a09bfabeba999a65f8b5c6b + sha256: 68c95666f71db4dd67d237b331cedda82313ca216b1611458e7a0ee26a6ca80a - id: long-values path: tutor/topics/long-values.yaml sha256: d0c801fca7749d6b91fd743a386077ad41fd5bef002df6e6330eaff5c713b4f5 diff --git a/tutor/topics/variables-and-serial.yaml b/tutor/topics/variables-and-serial.yaml index d3487e8..274b36f 100644 --- a/tutor/topics/variables-and-serial.yaml +++ b/tutor/topics/variables-and-serial.yaml @@ -29,7 +29,7 @@ concepts: - id: serial-output title: Serielle Ausgabe objective: Beschreiben, wie ein Wert über eine Serial-Ausgabe sichtbar wird. - prerequisites: [variable-values] + prerequisites: [] difficulty: entry: [1, 50] transfer: [20, 80]