Spaces:
Sleeping
Sleeping
| from dataclasses import dataclass | |
| from typing import Annotated | |
| from solverforge_legacy.solver.score import HardSoftScore | |
| from .json_serialization import ScoreSerializer | |
| class MatchAnalysisDTO: | |
| name: str | |
| score: Annotated[HardSoftScore, ScoreSerializer] | |
| justification: object | |
| class ConstraintAnalysisDTO: | |
| name: str | |
| weight: Annotated[HardSoftScore, ScoreSerializer] | |
| matches: list[MatchAnalysisDTO] | |
| score: Annotated[HardSoftScore, ScoreSerializer] | |