Skip to content

Examples and guides for using the OpenAI API

1.1 KB
Raw Blame
"""WALK recorded-audio grading, shared with the single-turn CRAWL harness."""

from __future__ import annotations

from shared.single_turn.grading import (
    DEFAULT_JUDGE_MODEL,
    DEFAULT_JUDGE_REASONING_EFFORT,
    SEMANTIC_RUBRICS,
    DimensionGrade,
    SemanticJudgeError,
    applicable_semantic_dimensions,
    apply_semantic_grades,
    build_semantic_judge_input,
    expected_tool_fields,
    judge_semantic_dimensions,
    parse_json_dict,
    unassessed_semantic_dimensions,
)
from shared.single_turn.grading import (
    SingleTurnGradeResult as WalkGradeResult,
)
from shared.single_turn.grading import (
    grade_single_turn_example as grade_walk_example,
)

__all__ = (
    "DEFAULT_JUDGE_MODEL",
    "DEFAULT_JUDGE_REASONING_EFFORT",
    "SEMANTIC_RUBRICS",
    "DimensionGrade",
    "SemanticJudgeError",
    "WalkGradeResult",
    "applicable_semantic_dimensions",
    "apply_semantic_grades",
    "build_semantic_judge_input",
    "expected_tool_fields",
    "grade_walk_example",
    "judge_semantic_dimensions",
    "parse_json_dict",
    "unassessed_semantic_dimensions",
)