Spaces:
Sleeping
Sleeping
Delete server_error
Browse files
server_error/__init__.py
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
# server_error task
|
|
|
|
|
|
server_error/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (180 Bytes)
|
|
|
server_error/__pycache__/grader.cpython-313.pyc
DELETED
|
Binary file (651 Bytes)
|
|
|
server_error/grader.py
DELETED
|
@@ -1,9 +0,0 @@
|
|
| 1 |
-
"""Grader for server_error task: 500 Internal Server Error."""
|
| 2 |
-
|
| 3 |
-
from tasks.grading_helper import run_agent_on_incident
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
def grade() -> float:
|
| 7 |
-
"""Grade the server_error task. Returns score between 0 and 1."""
|
| 8 |
-
score = run_agent_on_incident("server_error")
|
| 9 |
-
return max(0.001, min(0.999, score))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|