Spaces:
Sleeping
Sleeping
databoysu commited on
Commit ·
8f0fc49
1
Parent(s): e70f466
Task shape change
Browse files- openenv.yaml +27 -9
openenv.yaml
CHANGED
|
@@ -5,15 +5,33 @@ runtime: fastapi
|
|
| 5 |
app: server.app:app
|
| 6 |
port: 7860
|
| 7 |
tasks:
|
| 8 |
-
|
|
|
|
| 9 |
name: valid_parentheses_wrong_mapping
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
name: binary_search_off_by_one
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
name: reverse_string_returns_original
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
app: server.app:app
|
| 6 |
port: 7860
|
| 7 |
tasks:
|
| 8 |
+
task1_easy:
|
| 9 |
+
id: valid_parentheses_wrong_mapping
|
| 10 |
name: valid_parentheses_wrong_mapping
|
| 11 |
+
file: task1_easy.py
|
| 12 |
+
enabled: true
|
| 13 |
+
difficulty: easy
|
| 14 |
+
objective: "Debug the is_valid function so it passes all tests."
|
| 15 |
+
grader:
|
| 16 |
+
enabled: true
|
| 17 |
+
entrypoint: task1_easy:grade
|
| 18 |
+
task2_medium:
|
| 19 |
+
id: binary_search_off_by_one
|
| 20 |
name: binary_search_off_by_one
|
| 21 |
+
file: task2_medium.py
|
| 22 |
+
enabled: true
|
| 23 |
+
difficulty: medium
|
| 24 |
+
objective: "Debug the binary_search function so it passes all tests."
|
| 25 |
+
grader:
|
| 26 |
+
enabled: true
|
| 27 |
+
entrypoint: task2_medium:grade
|
| 28 |
+
task3_hard:
|
| 29 |
+
id: reverse_string_returns_original
|
| 30 |
name: reverse_string_returns_original
|
| 31 |
+
file: task3_hard.py
|
| 32 |
+
enabled: true
|
| 33 |
+
difficulty: hard
|
| 34 |
+
objective: "Debug the reverse_string function so it passes all tests."
|
| 35 |
+
grader:
|
| 36 |
+
enabled: true
|
| 37 |
+
entrypoint: task3_hard:grade
|