Kavya988's picture
Upload 29 files
d416acc verified
raw
history blame
294 Bytes
"""Grader for rate_limit task: 429 Too Many Requests."""
from tasks.grading_helper import run_agent_on_incident
def grade() -> float:
"""Grade the rate_limit task. Returns score between 0 and 1."""
score = run_agent_on_incident("rate_limit")
return max(0.001, min(0.999, score))