Output of a single :class:`Scorer` invocation. ``scorer`` is the registered name of the scorer that produced this result — distinct from ``Scenario.scoring_method``, which is the *requested* scorer on the input side.
| 67 | |
| 68 | |
| 69 | class ScorerResult(BaseModel): |
| 70 | """Output of a single :class:`Scorer` invocation. |
| 71 | |
| 72 | ``scorer`` is the registered name of the scorer that produced this |
| 73 | result — distinct from ``Scenario.scoring_method``, which is the |
| 74 | *requested* scorer on the input side. |
| 75 | """ |
| 76 | |
| 77 | scorer: str |
| 78 | passed: bool |
| 79 | score: float = 0.0 |
| 80 | rationale: str = "" |
| 81 | details: dict[str, Any] = Field(default_factory=dict) |
| 82 | |
| 83 | |
| 84 | class ScenarioResult(BaseModel): |
no outgoing calls