Pure grading of recorded responses: equals and contains checks over JSON Pointers, strict output-model validation, score per case. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
16 lines
386 B
Python
16 lines
386 B
Python
"""Example output model for the example set ``evals/example``.
|
|
|
|
This is a placeholder until real step building blocks exist.
|
|
"""
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class ExampleOutput(BaseModel):
|
|
"""Example output model, not part of the real pipeline."""
|
|
|
|
model_config = ConfigDict(strict=True, extra="forbid", frozen=True)
|
|
|
|
language: str
|
|
entities: list[str]
|