- Pyodide (Python 3.14, WebAssembly) in a separate Node process under the permission
model: read-only access to Pyodide's files, no writes, processes or network, empty
environment, JS bridges removed, time limit with kill and restart.
- Assistant tool run_python, which can load a draft or quiz as Python data.
- After quiz generation the model checks question count, type mix, correct answers per
type, duplicates and recomputed calculations with Python, then submits fixes that are
applied only if the question still validates. Switch in the Generate dialog.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>