Commit 61c089f
fix: add future annotations import and log judge init failures
- Add `from __future__ import annotations` to evaluator.py so the
self-referential `-> Evaluator` return type does not need quoting
- Log a warning when a judge fails to initialize in _initialize_judges
instead of silently swallowing the exception
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2a15009 commit 61c089f
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
| 343 | + | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments