Spaces:
Running
Running
File size: 828 Bytes
b50fb29 a89f518 b50fb29 a89f518 b50fb29 69232ed a89f518 69232ed a89f518 69232ed a89f518 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ---
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.
|