File size: 298 Bytes
2b71112
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
"""Grader for wrong_endpoint task: 404 Not Found."""

from tasks.grading_helper import run_agent_on_incident


def grade() -> float:
    """Grade the wrong_endpoint task. Returns score between 0 and 1."""
    score = run_agent_on_incident("wrong_endpoint")
    return max(0.001, min(0.999, score))