python-playground / README.md
sh1k4ku's picture
Upload README.md with huggingface_hub
69232ed verified
|
Raw History Blame Contribute Delete
828 Bytes
---
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.