(no commit message)

This commit is contained in:
2025-10-19 14:16:34 -05:00
parent d33cef379c
commit c1847586be
13 changed files with 884 additions and 1 deletions

14
contracts/scorecard_v1.py Normal file
View File

@@ -0,0 +1,14 @@
from pydantic import BaseModel, Field, ConfigDict
from typing import List
class Criterion(BaseModel):
name: str
score: float = Field(ge=0, le=10)
rationale: str
class ScorecardV1(BaseModel):
model_config = ConfigDict(extra='forbid', frozen=True, strict=True)
target_id: str
scheme: str = "v1"
criteria: List[Criterion]
total: float = Field(ge=0, le=10)