Kolaps27's picture
fix: add explicit static tasks and grader endpoints
b6a4a0c
raw
history blame contribute delete
532 Bytes
from __future__ import annotations
TASKS = [
{
"name": "easy",
"description": "Simple UI optimization task",
"grader": "graders:grade_easy",
},
{
"name": "medium",
"description": "Moderate UI optimization task",
"grader": "graders:grade_medium",
},
{
"name": "hard",
"description": "Complex UI optimization task",
"grader": "graders:grade_hard",
},
]
TASK_NAMES = [task["name"] for task in TASKS]
__all__ = ["TASKS", "TASK_NAMES"]