1.5.0: practice for every challenge #7

Merged
oliver.maklott merged 1 commit from ueben-pools into main 2026-10-21 10:11:17 +02:00

Practice for every challenge of the pack (plan "Übungen für alle Packs").

Challenge normal advanced expert
erste-schritte where Robo ends, order commands, wrong turn (edit) count crystals (choices), collect them (write), order with nimm left and right swapped (edit), a long path (write), two corners
wiederholen how often forward, the right number (edit), order two loops crystals in the loop (edit), count crystals (choices), around the corner (write) big staircase with nested loops (write), read a nested loop, steps too big (edit)
eigene-befehle turn around, the missing call (edit), stairs with stufe() (write) stufe() in a loop (write), gerade() twice, repair gerade() (edit) two own commands without rechts() (write), a function calling one, two rows with reihe() (write)
fehlerjagd too many steps (edit), forgotten parentheses (edit), unknown command (edit) where the wall stops Robo, a turn inside the loop (edit), a turn wrong in stufe() (edit) two bugs (edit), which line is wrong (choices), turned too early (edit)
kristall-mission count crystals (choices), complete the program (edit), order a row the mine with loops (write), where Robo stands, one crystal left (edit) with reihe() (write), a twisted reihe() (choices), reihe() forgets nimm (edit)
  • Worlds come from the round's seed: lengths, turn direction, crystal spacing; lib/robo.ts draws the map around Robo's path. Every round has three items of three topics.
  • Crystal counts and "which line" use choices: in a world, a predict without options answers with a field.
  • Skills are catalog names (prog.sequence, prog.loops.count, prog.loops.nested, prog.functions.define, prog.debugging).
  • Tests: every item with three seeds in the sandbox, right passes and wrong fails (every item runs the robot; more seeds exhaust the CI runner). In addition testdaten/welt.ts replays 300 seeds per item without a sandbox: the right answer solves the world, the expected field or count matches the replay, the wrong answer fails the world check (unless the step also checks change or structure).
  • README section "Üben". 1.5.0 (minor), built against 1.4.0.

Checks: aivopod pack test 138 passed, pack build --previous clean, tsc --noEmit clean.

🤖 Generated with Claude Code

Practice for every challenge of the pack (plan "Übungen für alle Packs"). | Challenge | normal | advanced | expert | | --- | --- | --- | --- | | erste-schritte | where Robo ends, order commands, wrong turn (edit) | count crystals (choices), collect them (write), order with nimm | left and right swapped (edit), a long path (write), two corners | | wiederholen | how often forward, the right number (edit), order two loops | crystals in the loop (edit), count crystals (choices), around the corner (write) | big staircase with nested loops (write), read a nested loop, steps too big (edit) | | eigene-befehle | turn around, the missing call (edit), stairs with stufe() (write) | stufe() in a loop (write), gerade() twice, repair gerade() (edit) | two own commands without rechts() (write), a function calling one, two rows with reihe() (write) | | fehlerjagd | too many steps (edit), forgotten parentheses (edit), unknown command (edit) | where the wall stops Robo, a turn inside the loop (edit), a turn wrong in stufe() (edit) | two bugs (edit), which line is wrong (choices), turned too early (edit) | | kristall-mission | count crystals (choices), complete the program (edit), order a row | the mine with loops (write), where Robo stands, one crystal left (edit) | with reihe() (write), a twisted reihe() (choices), reihe() forgets nimm (edit) | - Worlds come from the round's seed: lengths, turn direction, crystal spacing; `lib/robo.ts` draws the map around Robo's path. Every round has three items of three topics. - Crystal counts and "which line" use choices: in a world, a predict without options answers with a field. - Skills are catalog names (prog.sequence, prog.loops.count, prog.loops.nested, prog.functions.define, prog.debugging). - Tests: every item with three seeds in the sandbox, right passes and wrong fails (every item runs the robot; more seeds exhaust the CI runner). In addition `testdaten/welt.ts` replays 300 seeds per item without a sandbox: the right answer solves the world, the expected field or count matches the replay, the wrong answer fails the world check (unless the step also checks change or structure). - README section "Üben". 1.5.0 (minor), built against 1.4.0. Checks: `aivopod pack test` 138 passed, `pack build --previous` clean, `tsc --noEmit` clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lib/ueben.ts builds each exercise with a passing and a failing answer; lib/robo.ts draws the
world around the path Robo takes (straight pieces of two or more fields with alternating turns
never touch, so a wrong turn hits a wall) and replays commands. testdaten/ueben.ts tries every
item with three seeds in the sandbox – every item runs the robot; testdaten/welt.ts checks 300
seeds per item without a sandbox: the right answer solves the world, predictions match the
replay, the wrong answer fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Roboterwelt!7
No description provided.