Per-case result returned from `evaluate()`. Replaces the older `(bool, str)` tuple with a typed struct so downstream code can introspect individual fields without positional-index brittleness.
| 58 | @typechecked |
| 59 | @dataclass |
| 60 | class EvaluationResult: |
| 61 | """Per-case result returned from `evaluate()`. Replaces the older |
| 62 | `(bool, str)` tuple with a typed struct so downstream code can introspect |
| 63 | individual fields without positional-index brittleness.""" |
| 64 | |
| 65 | ok: bool |
| 66 | message: str |
| 67 | |
| 68 | |
| 69 | CASES: list[TestCase] = [ |