Spaces:
Running
Running
Upload index.html with huggingface_hub
Browse files- index.html +1 -3
index.html
CHANGED
|
@@ -152,10 +152,9 @@ def fib(n):
|
|
| 152 |
print([fib(i) for i in range(10)])
|
| 153 |
`;
|
| 154 |
|
| 155 |
-
// ===== Problems:
|
| 156 |
const PROBLEMS = {
|
| 157 |
Q1: {
|
| 158 |
-
data: "q1.dat",
|
| 159 |
public: "allocate",
|
| 160 |
sig: "allocate(students, rooms, capacity, mode)",
|
| 161 |
testTemplate: `# Q1 Room Allocator -- blackbox.allocate(students, rooms, capacity, mode), 5 bugs.
|
|
@@ -168,7 +167,6 @@ TESTS = [
|
|
| 168 |
`,
|
| 169 |
},
|
| 170 |
Q2: {
|
| 171 |
-
data: "q2.dat",
|
| 172 |
public: "approve",
|
| 173 |
sig: "approve(role, fte, weekly_hours, period)",
|
| 174 |
testTemplate: `# Q2 Workload Approval -- blackbox.approve(role, fte, weekly_hours, period), 5 bugs.
|
|
|
|
| 152 |
print([fib(i) for i in range(10)])
|
| 153 |
`;
|
| 154 |
|
| 155 |
+
// ===== Problems: UI metadata only. The hidden blackbox/oracle live in the worker. =====
|
| 156 |
const PROBLEMS = {
|
| 157 |
Q1: {
|
|
|
|
| 158 |
public: "allocate",
|
| 159 |
sig: "allocate(students, rooms, capacity, mode)",
|
| 160 |
testTemplate: `# Q1 Room Allocator -- blackbox.allocate(students, rooms, capacity, mode), 5 bugs.
|
|
|
|
| 167 |
`,
|
| 168 |
},
|
| 169 |
Q2: {
|
|
|
|
| 170 |
public: "approve",
|
| 171 |
sig: "approve(role, fte, weekly_hours, period)",
|
| 172 |
testTemplate: `# Q2 Workload Approval -- blackbox.approve(role, fte, weekly_hours, period), 5 bugs.
|