Skip to content

Commit 8095eaf

Browse files
committed
update readme
1 parent 7a82d1f commit 8095eaf

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
# Pyscript Coding Challenge
22

3-
This Demos how to set up a python coding challenge that runs locally in the browser (no server-side untrusted code execution). Only one challenge is provided, but the configuration is stored as a dictionary in `challenge.py`, demonstrating how this can be adapted to support many challenges (in a database) readily.
3+
This Demos how to set up a python coding challenge that runs locally in the browser (no server-side untrusted code execution). Only one challenge is provided, but the configuration is stored as a python dictionary, demonstrating how this can be adapted to support many challenges (in a database) readily.
4+
5+
## Key files
6+
7+
- `srcastro`: contains web-related assets.
8+
- `srcpy`: contains source python programs that run via pyscript
9+
- `main.py`: dispatches new worker threads to evaluate challenge code (any time the "run tests" button is clicked)
10+
- `worker.py`: Worker thread program. Evaluates the submitted code for rules, then runs the implementation against test cases.

0 commit comments

Comments
 (0)