Spaces:
Paused
Paused
Commit ·
8575841
1
Parent(s): b838f32
fix: add enabled:true to all graders, restore /tasks dict format, add per_task_rewards alias
Browse filesComprehensive 3-layer fix targeting all possible platform grader checks:
1. openenv.yaml: added 'enabled: true' to every task grader
- Error says 'Add (or enable) graders' — 'enable' likely means enabled:true
- Platform may check: grader.get('enabled', False) == True
2. GET /tasks: reverted to dict format {count:30, tasks:[...]}
- Each task now has grader.enabled=true
- Platform likely uses response.get('tasks',[]) or response['tasks']
- Flat list broke any code doing response['tasks'] or response.get('tasks')
3. GET /grader: added per_task_rewards as alias for per_task
- Platform may check per_task_rewards key instead of per_task
- Both cold and hot paths now expose both keys with enabled:true graders
- openenv.yaml +30 -0
- server/app.py +21 -6
- validate.py +1 -1
openenv.yaml
CHANGED
|
@@ -131,6 +131,7 @@ tasks:
|
|
| 131 |
- task_id: EASY-001
|
| 132 |
difficulty: easy
|
| 133 |
grader:
|
|
|
|
| 134 |
type: action_match
|
| 135 |
correct_action: approve
|
| 136 |
partial_credit: {}
|
|
@@ -140,6 +141,7 @@ tasks:
|
|
| 140 |
- task_id: EASY-002
|
| 141 |
difficulty: easy
|
| 142 |
grader:
|
|
|
|
| 143 |
type: action_match
|
| 144 |
correct_action: reject
|
| 145 |
partial_credit:
|
|
@@ -152,6 +154,7 @@ tasks:
|
|
| 152 |
- task_id: EASY-003
|
| 153 |
difficulty: easy
|
| 154 |
grader:
|
|
|
|
| 155 |
type: action_match
|
| 156 |
correct_action: approve
|
| 157 |
partial_credit: {}
|
|
@@ -161,6 +164,7 @@ tasks:
|
|
| 161 |
- task_id: EASY-004
|
| 162 |
difficulty: easy
|
| 163 |
grader:
|
|
|
|
| 164 |
type: action_match
|
| 165 |
correct_action: flag
|
| 166 |
partial_credit:
|
|
@@ -173,6 +177,7 @@ tasks:
|
|
| 173 |
- task_id: EASY-005
|
| 174 |
difficulty: easy
|
| 175 |
grader:
|
|
|
|
| 176 |
type: action_match
|
| 177 |
correct_action: approve
|
| 178 |
partial_credit: {}
|
|
@@ -182,6 +187,7 @@ tasks:
|
|
| 182 |
- task_id: EASY-006
|
| 183 |
difficulty: easy
|
| 184 |
grader:
|
|
|
|
| 185 |
type: action_match
|
| 186 |
correct_action: flag
|
| 187 |
partial_credit:
|
|
@@ -193,6 +199,7 @@ tasks:
|
|
| 193 |
- task_id: MED-001
|
| 194 |
difficulty: medium
|
| 195 |
grader:
|
|
|
|
| 196 |
type: action_match
|
| 197 |
correct_action: escalate
|
| 198 |
partial_credit:
|
|
@@ -207,6 +214,7 @@ tasks:
|
|
| 207 |
- task_id: MED-002
|
| 208 |
difficulty: medium
|
| 209 |
grader:
|
|
|
|
| 210 |
type: action_match
|
| 211 |
correct_action: hold
|
| 212 |
partial_credit:
|
|
@@ -220,6 +228,7 @@ tasks:
|
|
| 220 |
- task_id: MED-003
|
| 221 |
difficulty: medium
|
| 222 |
grader:
|
|
|
|
| 223 |
type: action_match
|
| 224 |
correct_action: flag
|
| 225 |
partial_credit:
|
|
@@ -233,6 +242,7 @@ tasks:
|
|
| 233 |
- task_id: MED-004
|
| 234 |
difficulty: medium
|
| 235 |
grader:
|
|
|
|
| 236 |
type: action_match
|
| 237 |
correct_action: flag
|
| 238 |
partial_credit:
|
|
@@ -245,6 +255,7 @@ tasks:
|
|
| 245 |
- task_id: MED-005
|
| 246 |
difficulty: medium
|
| 247 |
grader:
|
|
|
|
| 248 |
type: action_match
|
| 249 |
correct_action: hold
|
| 250 |
partial_credit:
|
|
@@ -258,6 +269,7 @@ tasks:
|
|
| 258 |
- task_id: MED-006
|
| 259 |
difficulty: medium
|
| 260 |
grader:
|
|
|
|
| 261 |
type: action_match
|
| 262 |
correct_action: escalate
|
| 263 |
partial_credit:
|
|
@@ -272,6 +284,7 @@ tasks:
|
|
| 272 |
- task_id: MED-007
|
| 273 |
difficulty: medium
|
| 274 |
grader:
|
|
|
|
| 275 |
type: action_match
|
| 276 |
correct_action: hold
|
| 277 |
partial_credit:
|
|
@@ -287,6 +300,7 @@ tasks:
|
|
| 287 |
- task_id: MED-008
|
| 288 |
difficulty: medium
|
| 289 |
grader:
|
|
|
|
| 290 |
type: action_match
|
| 291 |
correct_action: flag
|
| 292 |
partial_credit:
|
|
@@ -301,6 +315,7 @@ tasks:
|
|
| 301 |
- task_id: HARD-001
|
| 302 |
difficulty: hard
|
| 303 |
grader:
|
|
|
|
| 304 |
type: action_match
|
| 305 |
correct_action: escalate
|
| 306 |
partial_credit:
|
|
@@ -315,6 +330,7 @@ tasks:
|
|
| 315 |
- task_id: HARD-002
|
| 316 |
difficulty: hard
|
| 317 |
grader:
|
|
|
|
| 318 |
type: action_match
|
| 319 |
correct_action: reject
|
| 320 |
partial_credit:
|
|
@@ -330,6 +346,7 @@ tasks:
|
|
| 330 |
- task_id: HARD-003
|
| 331 |
difficulty: hard
|
| 332 |
grader:
|
|
|
|
| 333 |
type: action_match
|
| 334 |
correct_action: reject
|
| 335 |
partial_credit:
|
|
@@ -344,6 +361,7 @@ tasks:
|
|
| 344 |
- task_id: HARD-004
|
| 345 |
difficulty: hard
|
| 346 |
grader:
|
|
|
|
| 347 |
type: action_match
|
| 348 |
correct_action: approve
|
| 349 |
partial_credit:
|
|
@@ -358,6 +376,7 @@ tasks:
|
|
| 358 |
- task_id: HARD-005
|
| 359 |
difficulty: hard
|
| 360 |
grader:
|
|
|
|
| 361 |
type: action_match
|
| 362 |
correct_action: escalate
|
| 363 |
partial_credit:
|
|
@@ -374,6 +393,7 @@ tasks:
|
|
| 374 |
- task_id: HARD-006
|
| 375 |
difficulty: hard
|
| 376 |
grader:
|
|
|
|
| 377 |
type: action_match
|
| 378 |
correct_action: flag
|
| 379 |
partial_credit:
|
|
@@ -388,6 +408,7 @@ tasks:
|
|
| 388 |
- task_id: HARD-007
|
| 389 |
difficulty: hard
|
| 390 |
grader:
|
|
|
|
| 391 |
type: action_match
|
| 392 |
correct_action: reject
|
| 393 |
partial_credit:
|
|
@@ -404,6 +425,7 @@ tasks:
|
|
| 404 |
- task_id: HARD-008
|
| 405 |
difficulty: hard
|
| 406 |
grader:
|
|
|
|
| 407 |
type: action_match
|
| 408 |
correct_action: reject
|
| 409 |
partial_credit:
|
|
@@ -420,6 +442,7 @@ tasks:
|
|
| 420 |
- task_id: HARD-009
|
| 421 |
difficulty: hard
|
| 422 |
grader:
|
|
|
|
| 423 |
type: action_match
|
| 424 |
correct_action: escalate
|
| 425 |
partial_credit:
|
|
@@ -436,6 +459,7 @@ tasks:
|
|
| 436 |
- task_id: HARD-010
|
| 437 |
difficulty: hard
|
| 438 |
grader:
|
|
|
|
| 439 |
type: action_match
|
| 440 |
correct_action: reject
|
| 441 |
partial_credit:
|
|
@@ -452,6 +476,7 @@ tasks:
|
|
| 452 |
- task_id: CRIT-001
|
| 453 |
difficulty: critical
|
| 454 |
grader:
|
|
|
|
| 455 |
type: action_match
|
| 456 |
correct_action: approve
|
| 457 |
partial_credit:
|
|
@@ -468,6 +493,7 @@ tasks:
|
|
| 468 |
- task_id: CRIT-002
|
| 469 |
difficulty: critical
|
| 470 |
grader:
|
|
|
|
| 471 |
type: action_match
|
| 472 |
correct_action: reject
|
| 473 |
partial_credit:
|
|
@@ -482,6 +508,7 @@ tasks:
|
|
| 482 |
- task_id: CRIT-003
|
| 483 |
difficulty: critical
|
| 484 |
grader:
|
|
|
|
| 485 |
type: action_match
|
| 486 |
correct_action: escalate
|
| 487 |
partial_credit:
|
|
@@ -498,6 +525,7 @@ tasks:
|
|
| 498 |
- task_id: CRIT-004
|
| 499 |
difficulty: critical
|
| 500 |
grader:
|
|
|
|
| 501 |
type: action_match
|
| 502 |
correct_action: reject
|
| 503 |
partial_credit:
|
|
@@ -513,6 +541,7 @@ tasks:
|
|
| 513 |
- task_id: CRIT-005
|
| 514 |
difficulty: critical
|
| 515 |
grader:
|
|
|
|
| 516 |
type: action_match
|
| 517 |
correct_action: reject
|
| 518 |
partial_credit:
|
|
@@ -529,6 +558,7 @@ tasks:
|
|
| 529 |
- task_id: CRIT-006
|
| 530 |
difficulty: critical
|
| 531 |
grader:
|
|
|
|
| 532 |
type: action_match
|
| 533 |
correct_action: escalate
|
| 534 |
partial_credit:
|
|
|
|
| 131 |
- task_id: EASY-001
|
| 132 |
difficulty: easy
|
| 133 |
grader:
|
| 134 |
+
enabled: true
|
| 135 |
type: action_match
|
| 136 |
correct_action: approve
|
| 137 |
partial_credit: {}
|
|
|
|
| 141 |
- task_id: EASY-002
|
| 142 |
difficulty: easy
|
| 143 |
grader:
|
| 144 |
+
enabled: true
|
| 145 |
type: action_match
|
| 146 |
correct_action: reject
|
| 147 |
partial_credit:
|
|
|
|
| 154 |
- task_id: EASY-003
|
| 155 |
difficulty: easy
|
| 156 |
grader:
|
| 157 |
+
enabled: true
|
| 158 |
type: action_match
|
| 159 |
correct_action: approve
|
| 160 |
partial_credit: {}
|
|
|
|
| 164 |
- task_id: EASY-004
|
| 165 |
difficulty: easy
|
| 166 |
grader:
|
| 167 |
+
enabled: true
|
| 168 |
type: action_match
|
| 169 |
correct_action: flag
|
| 170 |
partial_credit:
|
|
|
|
| 177 |
- task_id: EASY-005
|
| 178 |
difficulty: easy
|
| 179 |
grader:
|
| 180 |
+
enabled: true
|
| 181 |
type: action_match
|
| 182 |
correct_action: approve
|
| 183 |
partial_credit: {}
|
|
|
|
| 187 |
- task_id: EASY-006
|
| 188 |
difficulty: easy
|
| 189 |
grader:
|
| 190 |
+
enabled: true
|
| 191 |
type: action_match
|
| 192 |
correct_action: flag
|
| 193 |
partial_credit:
|
|
|
|
| 199 |
- task_id: MED-001
|
| 200 |
difficulty: medium
|
| 201 |
grader:
|
| 202 |
+
enabled: true
|
| 203 |
type: action_match
|
| 204 |
correct_action: escalate
|
| 205 |
partial_credit:
|
|
|
|
| 214 |
- task_id: MED-002
|
| 215 |
difficulty: medium
|
| 216 |
grader:
|
| 217 |
+
enabled: true
|
| 218 |
type: action_match
|
| 219 |
correct_action: hold
|
| 220 |
partial_credit:
|
|
|
|
| 228 |
- task_id: MED-003
|
| 229 |
difficulty: medium
|
| 230 |
grader:
|
| 231 |
+
enabled: true
|
| 232 |
type: action_match
|
| 233 |
correct_action: flag
|
| 234 |
partial_credit:
|
|
|
|
| 242 |
- task_id: MED-004
|
| 243 |
difficulty: medium
|
| 244 |
grader:
|
| 245 |
+
enabled: true
|
| 246 |
type: action_match
|
| 247 |
correct_action: flag
|
| 248 |
partial_credit:
|
|
|
|
| 255 |
- task_id: MED-005
|
| 256 |
difficulty: medium
|
| 257 |
grader:
|
| 258 |
+
enabled: true
|
| 259 |
type: action_match
|
| 260 |
correct_action: hold
|
| 261 |
partial_credit:
|
|
|
|
| 269 |
- task_id: MED-006
|
| 270 |
difficulty: medium
|
| 271 |
grader:
|
| 272 |
+
enabled: true
|
| 273 |
type: action_match
|
| 274 |
correct_action: escalate
|
| 275 |
partial_credit:
|
|
|
|
| 284 |
- task_id: MED-007
|
| 285 |
difficulty: medium
|
| 286 |
grader:
|
| 287 |
+
enabled: true
|
| 288 |
type: action_match
|
| 289 |
correct_action: hold
|
| 290 |
partial_credit:
|
|
|
|
| 300 |
- task_id: MED-008
|
| 301 |
difficulty: medium
|
| 302 |
grader:
|
| 303 |
+
enabled: true
|
| 304 |
type: action_match
|
| 305 |
correct_action: flag
|
| 306 |
partial_credit:
|
|
|
|
| 315 |
- task_id: HARD-001
|
| 316 |
difficulty: hard
|
| 317 |
grader:
|
| 318 |
+
enabled: true
|
| 319 |
type: action_match
|
| 320 |
correct_action: escalate
|
| 321 |
partial_credit:
|
|
|
|
| 330 |
- task_id: HARD-002
|
| 331 |
difficulty: hard
|
| 332 |
grader:
|
| 333 |
+
enabled: true
|
| 334 |
type: action_match
|
| 335 |
correct_action: reject
|
| 336 |
partial_credit:
|
|
|
|
| 346 |
- task_id: HARD-003
|
| 347 |
difficulty: hard
|
| 348 |
grader:
|
| 349 |
+
enabled: true
|
| 350 |
type: action_match
|
| 351 |
correct_action: reject
|
| 352 |
partial_credit:
|
|
|
|
| 361 |
- task_id: HARD-004
|
| 362 |
difficulty: hard
|
| 363 |
grader:
|
| 364 |
+
enabled: true
|
| 365 |
type: action_match
|
| 366 |
correct_action: approve
|
| 367 |
partial_credit:
|
|
|
|
| 376 |
- task_id: HARD-005
|
| 377 |
difficulty: hard
|
| 378 |
grader:
|
| 379 |
+
enabled: true
|
| 380 |
type: action_match
|
| 381 |
correct_action: escalate
|
| 382 |
partial_credit:
|
|
|
|
| 393 |
- task_id: HARD-006
|
| 394 |
difficulty: hard
|
| 395 |
grader:
|
| 396 |
+
enabled: true
|
| 397 |
type: action_match
|
| 398 |
correct_action: flag
|
| 399 |
partial_credit:
|
|
|
|
| 408 |
- task_id: HARD-007
|
| 409 |
difficulty: hard
|
| 410 |
grader:
|
| 411 |
+
enabled: true
|
| 412 |
type: action_match
|
| 413 |
correct_action: reject
|
| 414 |
partial_credit:
|
|
|
|
| 425 |
- task_id: HARD-008
|
| 426 |
difficulty: hard
|
| 427 |
grader:
|
| 428 |
+
enabled: true
|
| 429 |
type: action_match
|
| 430 |
correct_action: reject
|
| 431 |
partial_credit:
|
|
|
|
| 442 |
- task_id: HARD-009
|
| 443 |
difficulty: hard
|
| 444 |
grader:
|
| 445 |
+
enabled: true
|
| 446 |
type: action_match
|
| 447 |
correct_action: escalate
|
| 448 |
partial_credit:
|
|
|
|
| 459 |
- task_id: HARD-010
|
| 460 |
difficulty: hard
|
| 461 |
grader:
|
| 462 |
+
enabled: true
|
| 463 |
type: action_match
|
| 464 |
correct_action: reject
|
| 465 |
partial_credit:
|
|
|
|
| 476 |
- task_id: CRIT-001
|
| 477 |
difficulty: critical
|
| 478 |
grader:
|
| 479 |
+
enabled: true
|
| 480 |
type: action_match
|
| 481 |
correct_action: approve
|
| 482 |
partial_credit:
|
|
|
|
| 493 |
- task_id: CRIT-002
|
| 494 |
difficulty: critical
|
| 495 |
grader:
|
| 496 |
+
enabled: true
|
| 497 |
type: action_match
|
| 498 |
correct_action: reject
|
| 499 |
partial_credit:
|
|
|
|
| 508 |
- task_id: CRIT-003
|
| 509 |
difficulty: critical
|
| 510 |
grader:
|
| 511 |
+
enabled: true
|
| 512 |
type: action_match
|
| 513 |
correct_action: escalate
|
| 514 |
partial_credit:
|
|
|
|
| 525 |
- task_id: CRIT-004
|
| 526 |
difficulty: critical
|
| 527 |
grader:
|
| 528 |
+
enabled: true
|
| 529 |
type: action_match
|
| 530 |
correct_action: reject
|
| 531 |
partial_credit:
|
|
|
|
| 541 |
- task_id: CRIT-005
|
| 542 |
difficulty: critical
|
| 543 |
grader:
|
| 544 |
+
enabled: true
|
| 545 |
type: action_match
|
| 546 |
correct_action: reject
|
| 547 |
partial_credit:
|
|
|
|
| 558 |
- task_id: CRIT-006
|
| 559 |
difficulty: critical
|
| 560 |
grader:
|
| 561 |
+
enabled: true
|
| 562 |
type: action_match
|
| 563 |
correct_action: escalate
|
| 564 |
partial_credit:
|
server/app.py
CHANGED
|
@@ -251,6 +251,7 @@ async def tasks():
|
|
| 251 |
"regulatory_action": getattr(t, "regulatory_action", False),
|
| 252 |
"chain_total": getattr(t, "chain_total", 1),
|
| 253 |
"grader": {
|
|
|
|
| 254 |
"type": "action_match",
|
| 255 |
"correct_action": t.correct_action,
|
| 256 |
"partial_credit": dict(getattr(t, "partial_credit_actions", {})),
|
|
@@ -260,10 +261,7 @@ async def tasks():
|
|
| 260 |
},
|
| 261 |
}
|
| 262 |
)
|
| 263 |
-
|
| 264 |
-
# (A dict response like {"count":...,"tasks":[...]} causes iteration over
|
| 265 |
-
# dict keys rather than task objects, making grader detection fail.)
|
| 266 |
-
return result
|
| 267 |
|
| 268 |
|
| 269 |
@app.get("/grader", summary="Grade the current episode")
|
|
@@ -290,6 +288,7 @@ async def grader():
|
|
| 290 |
"task_id": t.task_id,
|
| 291 |
"difficulty": t.difficulty,
|
| 292 |
"grader": {
|
|
|
|
| 293 |
"type": "action_match",
|
| 294 |
"correct_action": t.correct_action,
|
| 295 |
"partial_credit": dict(getattr(t, "partial_credit_actions", {})),
|
|
@@ -300,8 +299,22 @@ async def grader():
|
|
| 300 |
}
|
| 301 |
for t in TASKS
|
| 302 |
],
|
| 303 |
-
"message": "No episode in progress. Showing grader catalog.",
|
| 304 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 305 |
|
| 306 |
# No session at all — return catalog instead of raising 400
|
| 307 |
if _current_session_id is None or _current_session_id not in _sessions:
|
|
@@ -323,6 +336,7 @@ async def grader():
|
|
| 323 |
t = tasks_by_id.get(pt["task_id"])
|
| 324 |
if t:
|
| 325 |
entry["grader"] = {
|
|
|
|
| 326 |
"type": "action_match",
|
| 327 |
"correct_action": t.correct_action,
|
| 328 |
"partial_credit": dict(getattr(t, "partial_credit_actions", {})),
|
|
@@ -341,6 +355,7 @@ async def grader():
|
|
| 341 |
"budget_penalty": result.budget_penalty,
|
| 342 |
"passed": result.passed,
|
| 343 |
"per_task": per_task,
|
|
|
|
| 344 |
}
|
| 345 |
|
| 346 |
|
|
|
|
| 251 |
"regulatory_action": getattr(t, "regulatory_action", False),
|
| 252 |
"chain_total": getattr(t, "chain_total", 1),
|
| 253 |
"grader": {
|
| 254 |
+
"enabled": True,
|
| 255 |
"type": "action_match",
|
| 256 |
"correct_action": t.correct_action,
|
| 257 |
"partial_credit": dict(getattr(t, "partial_credit_actions", {})),
|
|
|
|
| 261 |
},
|
| 262 |
}
|
| 263 |
)
|
| 264 |
+
return {"count": len(result), "tasks": result}
|
|
|
|
|
|
|
|
|
|
| 265 |
|
| 266 |
|
| 267 |
@app.get("/grader", summary="Grade the current episode")
|
|
|
|
| 288 |
"task_id": t.task_id,
|
| 289 |
"difficulty": t.difficulty,
|
| 290 |
"grader": {
|
| 291 |
+
"enabled": True,
|
| 292 |
"type": "action_match",
|
| 293 |
"correct_action": t.correct_action,
|
| 294 |
"partial_credit": dict(getattr(t, "partial_credit_actions", {})),
|
|
|
|
| 299 |
}
|
| 300 |
for t in TASKS
|
| 301 |
],
|
| 302 |
+
"message": "No episode in progress. Showing grader catalog.", \"per_task_rewards\": [
|
| 303 |
+
{
|
| 304 |
+
\"task_id\": t.task_id,
|
| 305 |
+
\"difficulty\": t.difficulty,
|
| 306 |
+
\"grader\": {
|
| 307 |
+
\"enabled\": True,
|
| 308 |
+
\"type\": \"action_match\",
|
| 309 |
+
\"correct_action\": t.correct_action,
|
| 310 |
+
\"partial_credit\": dict(getattr(t, \"partial_credit_actions\", {})),
|
| 311 |
+
\"requires_investigation\": list(getattr(t, \"requires_investigation\", [])),
|
| 312 |
+
\"regulatory_action\": getattr(t, \"regulatory_action\", False),
|
| 313 |
+
\"key_flags\": list(getattr(t, \"key_flags\", [])),
|
| 314 |
+
},
|
| 315 |
+
}
|
| 316 |
+
for t in TASKS
|
| 317 |
+
], }
|
| 318 |
|
| 319 |
# No session at all — return catalog instead of raising 400
|
| 320 |
if _current_session_id is None or _current_session_id not in _sessions:
|
|
|
|
| 336 |
t = tasks_by_id.get(pt["task_id"])
|
| 337 |
if t:
|
| 338 |
entry["grader"] = {
|
| 339 |
+
"enabled": True,
|
| 340 |
"type": "action_match",
|
| 341 |
"correct_action": t.correct_action,
|
| 342 |
"partial_credit": dict(getattr(t, "partial_credit_actions", {})),
|
|
|
|
| 355 |
"budget_penalty": result.budget_penalty,
|
| 356 |
"passed": result.passed,
|
| 357 |
"per_task": per_task,
|
| 358 |
+
"per_task_rewards": per_task,
|
| 359 |
}
|
| 360 |
|
| 361 |
|
validate.py
CHANGED
|
@@ -358,7 +358,7 @@ def check_server(base_url: str):
|
|
| 358 |
# tasks
|
| 359 |
try:
|
| 360 |
tasks = http_get(f"{base_url}/tasks")
|
| 361 |
-
count =
|
| 362 |
if count >= 3:
|
| 363 |
ok(f"GET /tasks → count={count} (>= 3 required)")
|
| 364 |
else:
|
|
|
|
| 358 |
# tasks
|
| 359 |
try:
|
| 360 |
tasks = http_get(f"{base_url}/tasks")
|
| 361 |
+
count = tasks.get("count", 0) if isinstance(tasks, dict) else len(tasks)
|
| 362 |
if count >= 3:
|
| 363 |
ok(f"GET /tasks → count={count} (>= 3 required)")
|
| 364 |
else:
|