--- title: Python Playground emoji: 🐍 colorFrom: blue colorTo: indigo sdk: static app_file: index.html pinned: false --- # Black-Box Testing Playground A fully static, in-browser Python playground (Pyodide / WebAssembly) for the Black-Box Testing exercise. Two modes: - **Run** — write and run plain Python, see the output. - **Black-Box Test** — pick a problem (Q1 / Q2). A hidden buggy program is loaded as `blackbox`; you write a `TESTS` list and the playground reports which bugs your cases catch, at which line, and why. Problems: - **Q1 — Room Allocator** `allocate(students, rooms, capacity, mode)` (Boundary Value Testing) - **Q2 — Casual Workload Approval** `approve(role, fte, weekly_hours, period)` (Equivalence Class Testing) All Python runs in the visitor's browser — no server-side compute.