verify the build
The CLI uses just Python. Verification additionally uses Python 3.12, Node.js, and the Scratch Foundation's project parser and VM. Generated showcase fixtures are built automatically from source.
npm install
npm test
The suite compiles each fixture to .sb3, checks its structure and assets, starts it in the Scratch VM, and compares output with CPython. For interactive programs it sends Scratch question and answer events and compares the prompts and output. It also checks heap reuse, stdin rewind, unsupported-syntax diagnostics, and runtime error locations. Set the PYTHON environment variable to use a different executable for verification. Run node verify.cjs tests/contest_types.py to verify the annotated contest and collection features by themselves. The full showcase tests all 64 module examples. The numbered uploadable parts must collectively cover all modules and remain below the 5 MB project JSON limit after execution.