blackopsrepl's picture
Upload 30 files
50f82a1 verified
raw
history blame
499 Bytes
from dataclasses import dataclass
from typing import Annotated
from solverforge_legacy.solver.score import HardSoftScore
from .json_serialization import ScoreSerializer
@dataclass
class MatchAnalysisDTO:
name: str
score: Annotated[HardSoftScore, ScoreSerializer]
justification: object
@dataclass
class ConstraintAnalysisDTO:
name: str
weight: Annotated[HardSoftScore, ScoreSerializer]
matches: list[MatchAnalysisDTO]
score: Annotated[HardSoftScore, ScoreSerializer]