Spaces:
Sleeping
Sleeping
| """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)) | |