Task

Use the Inspect Task class to define a task.

from inspect_ai import task, Task
from gage_inspect.solver import task_doc

@task
def hello():
    """Say hello in another language.

    Input:
      lang: The language to say hello in.
    """
    return Task(solver=task_doc())

Inspect classes:

Copyright 2025 Gage ML, Inc.