Skip to content

Commit 8ed390f

Browse files
jsonbaileyclaude
andcommitted
chore: align JudgeResult field order to match spec
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b120e5e commit 8ed390f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/sdk/server-ai/src/ldai/providers

packages/sdk/server-ai/src/ldai/providers/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ class JudgeResult:
6666
success: bool = False
6767
error_message: Optional[str] = None
6868
sampled: bool = False # True when the evaluation was sampled and run
69+
metric_key: Optional[str] = None
6970
score: Optional[float] = None
7071
reasoning: Optional[str] = None
71-
metric_key: Optional[str] = None
7272

7373
def to_dict(self) -> Dict[str, Any]:
7474
"""

0 commit comments

Comments
 (0)