File size: 252 Bytes
7758a19
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from pydantic import BaseModel, ConfigDict


class EvaluationResult(BaseModel):
    """Represents the result of evaluating a criterion"""

    model_config = ConfigDict(extra="forbid")
    passed: bool
    reason: str
    criteria: str
    points: int