As an engineer, I want a stable bridge between Python and the React app so that console, files, feedback, and graphics can evolve safely.
Acceptance criteria:
-
The Python bridge exposes typed APIs for:
- stdout/stderr
- input
- virtual file reads/writes
- feedback submission
- trace events
- graphics output
- image output
- dataset access
-
APIs are documented with TypeScript interfaces.
-
Invalid bridge calls return structured errors.
-
The bridge prevents learner code from accessing instructor-only resources.
As an engineer, I want a stable bridge between Python and the React app so that console, files, feedback, and graphics can evolve safely.
Acceptance criteria:
The Python bridge exposes typed APIs for:
APIs are documented with TypeScript interfaces.
Invalid bridge calls return structured errors.
The bridge prevents learner code from accessing instructor-only resources.