Practice items checked against the real robot engine over 200 seeds #8
Loading…
Reference in a new issue
No description provided.
Delete branch "ueben-engine-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds committed tests that check every practice item of all six pools against the real game engine (
@aivopod/weltfrom node_modules) over 200 seeds, replayed in-process insideaivopod pack test– no sandbox runs added (pruefeUeben(..., [0, 7, 123456])stays as it is).What
testdaten/welt.ts(pruefeWelten) checks per item and seed:sol-wie-oft,sol-fragen,ver-wie-oft,ver-aussen-innen), row pattern (pix-muster), painted fields (pix-zaehlen,pix-funktion), shape (pix-form), direction (ret-wohin), and the cell of the firstabbiegen()call (ret-erste-kurve, via a__melde()put into the function). The measured value must equalcheck.answerandrichtig,falschmust differ.sol-endlos(engine stops at its action limit = never ends),uo-tabelle(the task's situation built as a world),pix-zuordnen(first four painted fields of a row): the engine's mapping equalsrichtig.richtigpasses the engine'sbewertein every world,falschfails (unless the step also checks change, structure or indentation).sen-if-else,sen-frage,uo-uebersetzen,ver-struktogramm,ver-for-oder-while,ret-befehle,ret-faelle) are listed with the reason; every other predict/match item must have a measurement.Result: no wrong answer found, so no pool or lib change and no version bump. Mutation check (in a scratch copy): wrong first-turn cell, wrong shape, wrong count, a halting loop listed as endless, a wrong truth value and a
falschthat solves the world are each caught.npx tsc --noEmitandaivopod pack testgreen (199 tests, 60 of them new).🤖 Generated with Claude Code