Kavya988's picture
Upload 29 files
d416acc verified
raw
history blame
307 Bytes
"""Grader for auth_error task: 401 Unauthorized - expired API key."""
from tasks.grading_helper import run_agent_on_incident
def grade() -> float:
"""Grade the auth_error task. Returns score between 0 and 1."""
score = run_agent_on_incident("auth_error")
return max(0.001, min(0.999, score))