Kavya988's picture
Upload 4 files
46fc2a0 verified
raw
history blame
304 Bytes
"""Grader for server_error task: 500 Internal Server Error."""
from tasks.grading_helper import run_agent_on_incident
def grade() -> float:
"""Grade the server_error task. Returns score between 0 and 1."""
score = run_agent_on_incident("server_error")
return max(0.001, min(0.999, score))