Skip to content

Commit 9fc008e

Browse files
jsonbaileyclaude
andcommitted
chore: align LDJudgeResult property order to match spec
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d624ea3 commit 9fc008e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/sdk/server-ai/src/api/judge

packages/sdk/server-ai/src/api/judge/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ export interface LDJudgeResult {
2828
errorMessage?: string;
2929
/** Whether this evaluation was sampled (i.e. actually run). False when skipped by sampling. */
3030
sampled: boolean;
31+
/** The metric key for this evaluation */
32+
metricKey?: string;
3133
/** Score between 0.0 and 1.0 indicating the evaluation result */
3234
score?: number;
3335
/** Reasoning behind the provided score */
3436
reasoning?: string;
35-
/** The metric key for this evaluation */
36-
metricKey?: string;
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)