Add eval types and hard graders
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>
This commit is contained in:
1 parent
c4e8f35858
commit
76f2fbbf06
6 files changed
+318
No files matched your search
@@ -0,0 +1,15 @@
|
||||
"""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]
|
||||
Reference in new issue
Block a user