niceeval 0.19.0 → 0.19.1-canary.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INDEX.md +1 -1
- package/dist/assertions/record/codec.cjs +19 -13
- package/dist/assertions/record/codec.cjs.map +1 -1
- package/dist/assertions/record/codec.d.cts +2 -0
- package/dist/assertions/record/codec.d.mts +2 -0
- package/dist/assertions/record/codec.d.ts +2 -0
- package/dist/assertions/record/codec.js +16 -14
- package/dist/inspection/assertion-projection.cjs +4 -1
- package/dist/inspection/assertion-projection.cjs.map +1 -1
- package/dist/inspection/cli/contribution.cjs +18 -14
- package/dist/inspection/cli/contribution.cjs.map +1 -1
- package/dist/inspection/cli/contribution.d.cts +7 -0
- package/dist/inspection/cli/contribution.d.mts +7 -0
- package/dist/inspection/cli/contribution.d.ts +7 -0
- package/dist/inspection/overview.cjs +28 -14
- package/dist/inspection/overview.cjs.map +1 -1
- package/dist/inspection/overview.d.cts +151 -18
- package/dist/inspection/overview.d.mts +151 -18
- package/dist/inspection/overview.d.ts +151 -18
- package/dist/inspection/overview.js +4 -2
- package/dist/inspection/project-result.d.cts +148 -148
- package/dist/inspection/project-result.d.mts +148 -148
- package/dist/inspection/project-result.d.ts +148 -148
- package/dist/inspection/protocol-values.cjs +1 -1
- package/dist/inspection/protocol-values.cjs.map +1 -1
- package/dist/inspection/protocol-values.d.cts +1 -1
- package/dist/inspection/protocol-values.d.mts +1 -1
- package/dist/inspection/protocol-values.d.ts +1 -1
- package/dist/inspection/protocol.d.cts +611 -479
- package/dist/inspection/protocol.d.mts +611 -479
- package/dist/inspection/protocol.d.ts +611 -479
- package/dist/inspection/public.cjs +3 -1
- package/dist/inspection/public.cjs.map +1 -1
- package/dist/inspection/public.d.cts +1 -0
- package/dist/inspection/public.d.mts +1 -0
- package/dist/inspection/public.d.ts +1 -0
- package/dist/inspection/public.js +18 -16
- package/dist/inspection/public.mjs +54 -52
- package/dist/inspection/results.cjs +11 -15
- package/dist/inspection/results.cjs.map +1 -1
- package/dist/inspection/results.d.cts +769 -324
- package/dist/inspection/results.d.mts +769 -324
- package/dist/inspection/results.d.ts +769 -324
- package/dist/inspection/results.js +4 -0
- package/dist/inspection/select.cjs +12 -72
- package/dist/inspection/select.cjs.map +1 -1
- package/dist/inspection/verdict.cjs +61 -0
- package/dist/inspection/verdict.cjs.map +1 -0
- package/dist/inspection/verdict.d.cts +3 -0
- package/dist/inspection/verdict.d.mts +3 -0
- package/dist/inspection/verdict.d.ts +3 -0
- package/dist/inspection/verdict.js +6 -0
- package/dist/inspection/verdict.js.map +1 -0
- package/dist/runner/discover.cjs +5 -4
- package/dist/runner/discover.cjs.map +1 -1
- package/dist/sandbox/index.cjs +4 -2
- package/dist/sandbox/index.cjs.map +1 -1
- package/dist/sandbox/index.d.cts +2 -0
- package/dist/sandbox/index.d.mts +2 -0
- package/dist/sandbox/index.d.ts +2 -0
- package/dist/sandbox/index.js +34 -32
- package/dist/sandbox/index.mjs +34 -32
- package/dist/sandbox/opensandbox/managed-process.cjs +224 -0
- package/dist/sandbox/opensandbox/managed-process.cjs.map +1 -0
- package/dist/sandbox/opensandbox/managed-process.d.cts +9 -0
- package/dist/sandbox/opensandbox/managed-process.d.mts +9 -0
- package/dist/sandbox/opensandbox/managed-process.d.ts +9 -0
- package/dist/sandbox/opensandbox/managed-process.js +6 -0
- package/dist/sandbox/opensandbox/managed-process.js.map +1 -0
- package/dist/sandbox/opensandbox/materialize.cjs +25 -0
- package/dist/sandbox/opensandbox/materialize.cjs.map +1 -0
- package/dist/sandbox/opensandbox/materialize.d.cts +4 -0
- package/dist/sandbox/opensandbox/materialize.d.mts +4 -0
- package/dist/sandbox/opensandbox/materialize.d.ts +4 -0
- package/dist/sandbox/opensandbox/materialize.js +6 -0
- package/dist/sandbox/opensandbox/materialize.js.map +1 -0
- package/dist/sandbox/opensandbox/process-bridge.cjs +89 -0
- package/dist/sandbox/opensandbox/process-bridge.cjs.map +1 -0
- package/dist/sandbox/opensandbox/process-bridge.d.cts +2 -0
- package/dist/sandbox/opensandbox/process-bridge.d.mts +2 -0
- package/dist/sandbox/opensandbox/process-bridge.d.ts +2 -0
- package/dist/sandbox/opensandbox/process-bridge.js +6 -0
- package/dist/sandbox/opensandbox/process-bridge.js.map +1 -0
- package/dist/sandbox/opensandbox/sandbox.cjs +253 -0
- package/dist/sandbox/opensandbox/sandbox.cjs.map +1 -0
- package/dist/sandbox/opensandbox/sandbox.d.cts +51 -0
- package/dist/sandbox/opensandbox/sandbox.d.mts +51 -0
- package/dist/sandbox/opensandbox/sandbox.d.ts +51 -0
- package/dist/sandbox/opensandbox/sandbox.js +6 -0
- package/dist/sandbox/opensandbox/sandbox.js.map +1 -0
- package/dist/sandbox/opensandbox.cjs +88 -0
- package/dist/sandbox/opensandbox.cjs.map +1 -0
- package/dist/sandbox/opensandbox.d.cts +17 -0
- package/dist/sandbox/opensandbox.d.mts +17 -0
- package/dist/sandbox/opensandbox.d.ts +17 -0
- package/dist/sandbox/opensandbox.js +6 -0
- package/dist/sandbox/opensandbox.js.map +1 -0
- package/dist/sandbox/runtime.cjs +1 -0
- package/dist/sandbox/runtime.cjs.map +1 -1
- package/dist/sandbox/runtime.d.cts +2 -0
- package/dist/sandbox/runtime.d.mts +2 -0
- package/dist/sandbox/runtime.d.ts +2 -0
- package/dist/sandbox/runtime.js +2 -0
- package/dist/sandbox/types.cjs.map +1 -1
- package/dist/sandbox/types.d.cts +1 -1
- package/dist/sandbox/types.d.mts +1 -1
- package/dist/sandbox/types.d.ts +1 -1
- package/dist/show/model.cjs +6 -5
- package/dist/show/model.cjs.map +1 -1
- package/dist/show/model.d.cts +1 -1
- package/dist/show/model.d.mts +1 -1
- package/dist/show/model.d.ts +1 -1
- package/dist/show/render.cjs +2 -2
- package/dist/show/render.cjs.map +1 -1
- package/dist/view/app-dist/.vite/manifest.json +2 -2
- package/dist/view/app-dist/assets/{index-CxrOUvHC.js → index-f9ZKc4km.js} +16 -16
- package/dist/view/app-dist/assets/{quality-cost-scatter-B6Aiss7x.js → quality-cost-scatter-C6lsrigr.js} +1 -1
- package/dist/view/app-dist/index.html +1 -1
- package/dist/view/function-runtime.mjs +126 -118
- package/dist/view/http-protocol.d.cts +1 -1
- package/dist/view/http-protocol.d.mts +1 -1
- package/dist/view/http-protocol.d.ts +1 -1
- package/dist/view/inspection-host.d.cts +625 -493
- package/dist/view/inspection-host.d.mts +625 -493
- package/dist/view/inspection-host.d.ts +625 -493
- package/docs-site/zh/explanation/evals.mdx +4 -0
- package/docs-site/zh/reference/cli.mdx +45 -4
- package/docs-site/zh/tutorials/compare-runs.mdx +1 -1
- package/docs-site/zh/tutorials/niceeval-taste.mdx +34 -1
- package/docs-site/zh/tutorials/sandbox-providers.mdx +35 -4
- package/docs-site/zh/tutorials/upgrade-0-19.mdx +1 -1
- package/docs-site/zh/tutorials/viewing-results.mdx +36 -3
- package/package.json +6 -1
|
@@ -1060,9 +1060,6 @@ export declare const InspectionProjectResultSchema: Schema.Struct<{
|
|
|
1060
1060
|
readonly groupPath: Schema.$Array<Schema.String>;
|
|
1061
1061
|
readonly members: Schema.$Array<Schema.Struct<{
|
|
1062
1062
|
readonly runId: Schema.String;
|
|
1063
|
-
readonly plannedAttemptId: Schema.String;
|
|
1064
|
-
readonly evalId: Schema.String;
|
|
1065
|
-
readonly attemptOrdinal: Schema.Number;
|
|
1066
1063
|
readonly labels: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
1067
1064
|
readonly state: Schema.Literal<"available">;
|
|
1068
1065
|
readonly value: Schema.String;
|
|
@@ -1071,155 +1068,158 @@ export declare const InspectionProjectResultSchema: Schema.Struct<{
|
|
|
1071
1068
|
}>, Schema.Struct<{
|
|
1072
1069
|
readonly state: Schema.Literal<"unavailable">;
|
|
1073
1070
|
}>]>>;
|
|
1074
|
-
readonly
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
readonly
|
|
1078
|
-
readonly
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
readonly
|
|
1083
|
-
readonly
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
readonly refs: Schema.$Array<Schema.Struct<{
|
|
1103
|
-
readonly identity: Schema.Struct<{
|
|
1104
|
-
readonly kind: Schema.Literal<"attempt">;
|
|
1105
|
-
readonly locator: Schema.String;
|
|
1106
|
-
}>;
|
|
1107
|
-
}>>;
|
|
1108
|
-
readonly unit: Schema.optional<Schema.Literals<readonly ["points", "USD", "ms", "tokens"]>>;
|
|
1109
|
-
readonly bounds: Schema.optional<Schema.Struct<{
|
|
1110
|
-
readonly min: Schema.Number;
|
|
1111
|
-
readonly max: Schema.Number;
|
|
1112
|
-
}>>;
|
|
1113
|
-
}>;
|
|
1114
|
-
readonly costUSD: Schema.Struct<{
|
|
1115
|
-
readonly source: Schema.NullOr<Schema.Literals<readonly ["reported", "estimated", "mixed"]>>;
|
|
1116
|
-
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable", "empty", "unsupported", "failed"]>;
|
|
1117
|
-
readonly value: Schema.NullOr<Schema.Number>;
|
|
1118
|
-
readonly samples: Schema.Number;
|
|
1119
|
-
readonly total: Schema.Number;
|
|
1120
|
-
readonly basis: Schema.Literals<readonly ["planned-attempt", "eval"]>;
|
|
1121
|
-
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1122
|
-
readonly code: Schema.Literals<readonly ["assertions-not-recorded", "assertions-revision-unsupported", "assertions-current-invalid"]>;
|
|
1123
|
-
readonly locator: Schema.String;
|
|
1124
|
-
}>, Schema.Struct<{
|
|
1125
|
-
readonly code: Schema.Literals<readonly ["attempt-origin-missing", "attempt-not-observed"]>;
|
|
1126
|
-
readonly runId: Schema.String;
|
|
1127
|
-
readonly plannedAttemptId: Schema.String;
|
|
1128
|
-
readonly evalId: Schema.String;
|
|
1129
|
-
readonly attemptOrdinal: Schema.Number;
|
|
1130
|
-
}>, Schema.Struct<{
|
|
1131
|
-
readonly code: Schema.Literal<"score-contribution-unavailable">;
|
|
1132
|
-
readonly locator: Schema.String;
|
|
1133
|
-
readonly entryId: Schema.String;
|
|
1134
|
-
readonly reason: Schema.Literals<readonly ["source-unavailable", "evaluation-errored", "not-applicable"]>;
|
|
1135
|
-
}>, Schema.Struct<{
|
|
1136
|
-
readonly code: Schema.Literal<"score-partial">;
|
|
1137
|
-
readonly locator: Schema.NullOr<Schema.String>;
|
|
1138
|
-
}>]>>;
|
|
1139
|
-
readonly refs: Schema.$Array<Schema.Struct<{
|
|
1140
|
-
readonly identity: Schema.Struct<{
|
|
1141
|
-
readonly kind: Schema.Literal<"attempt">;
|
|
1142
|
-
readonly locator: Schema.String;
|
|
1143
|
-
}>;
|
|
1144
|
-
}>>;
|
|
1145
|
-
readonly unit: Schema.optional<Schema.Literals<readonly ["points", "USD", "ms", "tokens"]>>;
|
|
1146
|
-
readonly bounds: Schema.optional<Schema.Struct<{
|
|
1147
|
-
readonly min: Schema.Number;
|
|
1148
|
-
readonly max: Schema.Number;
|
|
1149
|
-
}>>;
|
|
1150
|
-
}>;
|
|
1151
|
-
readonly durationMs: Schema.Struct<{
|
|
1152
|
-
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable", "empty", "unsupported", "failed"]>;
|
|
1153
|
-
readonly value: Schema.NullOr<Schema.Number>;
|
|
1154
|
-
readonly samples: Schema.Number;
|
|
1155
|
-
readonly total: Schema.Number;
|
|
1156
|
-
readonly basis: Schema.Literals<readonly ["planned-attempt", "eval"]>;
|
|
1157
|
-
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1158
|
-
readonly code: Schema.Literals<readonly ["assertions-not-recorded", "assertions-revision-unsupported", "assertions-current-invalid"]>;
|
|
1071
|
+
readonly verdict: Schema.NullOr<Schema.Literals<readonly ["passed", "failed", "errored", "skipped"]>>;
|
|
1072
|
+
readonly score: Schema.Struct<{
|
|
1073
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable", "empty", "unsupported", "failed"]>;
|
|
1074
|
+
readonly value: Schema.NullOr<Schema.Number>;
|
|
1075
|
+
readonly samples: Schema.Number;
|
|
1076
|
+
readonly total: Schema.Number;
|
|
1077
|
+
readonly basis: Schema.Literals<readonly ["planned-attempt", "eval"]>;
|
|
1078
|
+
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1079
|
+
readonly code: Schema.Literals<readonly ["assertions-not-recorded", "assertions-revision-unsupported", "assertions-current-invalid"]>;
|
|
1080
|
+
readonly locator: Schema.String;
|
|
1081
|
+
}>, Schema.Struct<{
|
|
1082
|
+
readonly code: Schema.Literals<readonly ["attempt-origin-missing", "attempt-not-observed"]>;
|
|
1083
|
+
readonly runId: Schema.String;
|
|
1084
|
+
readonly plannedAttemptId: Schema.String;
|
|
1085
|
+
readonly evalId: Schema.String;
|
|
1086
|
+
readonly attemptOrdinal: Schema.Number;
|
|
1087
|
+
}>, Schema.Struct<{
|
|
1088
|
+
readonly code: Schema.Literal<"score-contribution-unavailable">;
|
|
1089
|
+
readonly locator: Schema.String;
|
|
1090
|
+
readonly entryId: Schema.String;
|
|
1091
|
+
readonly reason: Schema.Literals<readonly ["source-unavailable", "evaluation-errored", "not-applicable"]>;
|
|
1092
|
+
}>, Schema.Struct<{
|
|
1093
|
+
readonly code: Schema.Literal<"score-partial">;
|
|
1094
|
+
readonly locator: Schema.NullOr<Schema.String>;
|
|
1095
|
+
}>]>>;
|
|
1096
|
+
readonly refs: Schema.$Array<Schema.Struct<{
|
|
1097
|
+
readonly identity: Schema.Struct<{
|
|
1098
|
+
readonly kind: Schema.Literal<"attempt">;
|
|
1159
1099
|
readonly locator: Schema.String;
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1100
|
+
}>;
|
|
1101
|
+
}>>;
|
|
1102
|
+
readonly unit: Schema.optional<Schema.Literals<readonly ["points", "USD", "ms", "tokens"]>>;
|
|
1103
|
+
readonly bounds: Schema.optional<Schema.Struct<{
|
|
1104
|
+
readonly min: Schema.Number;
|
|
1105
|
+
readonly max: Schema.Number;
|
|
1106
|
+
}>>;
|
|
1107
|
+
}>;
|
|
1108
|
+
readonly costUSD: Schema.Struct<{
|
|
1109
|
+
readonly source: Schema.NullOr<Schema.Literals<readonly ["reported", "estimated", "mixed"]>>;
|
|
1110
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable", "empty", "unsupported", "failed"]>;
|
|
1111
|
+
readonly value: Schema.NullOr<Schema.Number>;
|
|
1112
|
+
readonly samples: Schema.Number;
|
|
1113
|
+
readonly total: Schema.Number;
|
|
1114
|
+
readonly basis: Schema.Literals<readonly ["planned-attempt", "eval"]>;
|
|
1115
|
+
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1116
|
+
readonly code: Schema.Literals<readonly ["assertions-not-recorded", "assertions-revision-unsupported", "assertions-current-invalid"]>;
|
|
1117
|
+
readonly locator: Schema.String;
|
|
1118
|
+
}>, Schema.Struct<{
|
|
1119
|
+
readonly code: Schema.Literals<readonly ["attempt-origin-missing", "attempt-not-observed"]>;
|
|
1120
|
+
readonly runId: Schema.String;
|
|
1121
|
+
readonly plannedAttemptId: Schema.String;
|
|
1122
|
+
readonly evalId: Schema.String;
|
|
1123
|
+
readonly attemptOrdinal: Schema.Number;
|
|
1124
|
+
}>, Schema.Struct<{
|
|
1125
|
+
readonly code: Schema.Literal<"score-contribution-unavailable">;
|
|
1126
|
+
readonly locator: Schema.String;
|
|
1127
|
+
readonly entryId: Schema.String;
|
|
1128
|
+
readonly reason: Schema.Literals<readonly ["source-unavailable", "evaluation-errored", "not-applicable"]>;
|
|
1129
|
+
}>, Schema.Struct<{
|
|
1130
|
+
readonly code: Schema.Literal<"score-partial">;
|
|
1131
|
+
readonly locator: Schema.NullOr<Schema.String>;
|
|
1132
|
+
}>]>>;
|
|
1133
|
+
readonly refs: Schema.$Array<Schema.Struct<{
|
|
1134
|
+
readonly identity: Schema.Struct<{
|
|
1135
|
+
readonly kind: Schema.Literal<"attempt">;
|
|
1168
1136
|
readonly locator: Schema.String;
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
readonly
|
|
1189
|
-
readonly
|
|
1190
|
-
readonly
|
|
1191
|
-
readonly
|
|
1192
|
-
|
|
1193
|
-
readonly
|
|
1194
|
-
|
|
1137
|
+
}>;
|
|
1138
|
+
}>>;
|
|
1139
|
+
readonly unit: Schema.optional<Schema.Literals<readonly ["points", "USD", "ms", "tokens"]>>;
|
|
1140
|
+
readonly bounds: Schema.optional<Schema.Struct<{
|
|
1141
|
+
readonly min: Schema.Number;
|
|
1142
|
+
readonly max: Schema.Number;
|
|
1143
|
+
}>>;
|
|
1144
|
+
}>;
|
|
1145
|
+
readonly durationMs: Schema.Struct<{
|
|
1146
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable", "empty", "unsupported", "failed"]>;
|
|
1147
|
+
readonly value: Schema.NullOr<Schema.Number>;
|
|
1148
|
+
readonly samples: Schema.Number;
|
|
1149
|
+
readonly total: Schema.Number;
|
|
1150
|
+
readonly basis: Schema.Literals<readonly ["planned-attempt", "eval"]>;
|
|
1151
|
+
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1152
|
+
readonly code: Schema.Literals<readonly ["assertions-not-recorded", "assertions-revision-unsupported", "assertions-current-invalid"]>;
|
|
1153
|
+
readonly locator: Schema.String;
|
|
1154
|
+
}>, Schema.Struct<{
|
|
1155
|
+
readonly code: Schema.Literals<readonly ["attempt-origin-missing", "attempt-not-observed"]>;
|
|
1156
|
+
readonly runId: Schema.String;
|
|
1157
|
+
readonly plannedAttemptId: Schema.String;
|
|
1158
|
+
readonly evalId: Schema.String;
|
|
1159
|
+
readonly attemptOrdinal: Schema.Number;
|
|
1160
|
+
}>, Schema.Struct<{
|
|
1161
|
+
readonly code: Schema.Literal<"score-contribution-unavailable">;
|
|
1162
|
+
readonly locator: Schema.String;
|
|
1163
|
+
readonly entryId: Schema.String;
|
|
1164
|
+
readonly reason: Schema.Literals<readonly ["source-unavailable", "evaluation-errored", "not-applicable"]>;
|
|
1165
|
+
}>, Schema.Struct<{
|
|
1166
|
+
readonly code: Schema.Literal<"score-partial">;
|
|
1167
|
+
readonly locator: Schema.NullOr<Schema.String>;
|
|
1168
|
+
}>]>>;
|
|
1169
|
+
readonly refs: Schema.$Array<Schema.Struct<{
|
|
1170
|
+
readonly identity: Schema.Struct<{
|
|
1171
|
+
readonly kind: Schema.Literal<"attempt">;
|
|
1195
1172
|
readonly locator: Schema.String;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1173
|
+
}>;
|
|
1174
|
+
}>>;
|
|
1175
|
+
readonly unit: Schema.optional<Schema.Literals<readonly ["points", "USD", "ms", "tokens"]>>;
|
|
1176
|
+
readonly bounds: Schema.optional<Schema.Struct<{
|
|
1177
|
+
readonly min: Schema.Number;
|
|
1178
|
+
readonly max: Schema.Number;
|
|
1179
|
+
}>>;
|
|
1180
|
+
}>;
|
|
1181
|
+
readonly tokens: Schema.Struct<{
|
|
1182
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable", "empty", "unsupported", "failed"]>;
|
|
1183
|
+
readonly value: Schema.NullOr<Schema.Number>;
|
|
1184
|
+
readonly samples: Schema.Number;
|
|
1185
|
+
readonly total: Schema.Number;
|
|
1186
|
+
readonly basis: Schema.Literals<readonly ["planned-attempt", "eval"]>;
|
|
1187
|
+
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1188
|
+
readonly code: Schema.Literals<readonly ["assertions-not-recorded", "assertions-revision-unsupported", "assertions-current-invalid"]>;
|
|
1189
|
+
readonly locator: Schema.String;
|
|
1190
|
+
}>, Schema.Struct<{
|
|
1191
|
+
readonly code: Schema.Literals<readonly ["attempt-origin-missing", "attempt-not-observed"]>;
|
|
1192
|
+
readonly runId: Schema.String;
|
|
1193
|
+
readonly plannedAttemptId: Schema.String;
|
|
1194
|
+
readonly evalId: Schema.String;
|
|
1195
|
+
readonly attemptOrdinal: Schema.Number;
|
|
1196
|
+
}>, Schema.Struct<{
|
|
1197
|
+
readonly code: Schema.Literal<"score-contribution-unavailable">;
|
|
1198
|
+
readonly locator: Schema.String;
|
|
1199
|
+
readonly entryId: Schema.String;
|
|
1200
|
+
readonly reason: Schema.Literals<readonly ["source-unavailable", "evaluation-errored", "not-applicable"]>;
|
|
1201
|
+
}>, Schema.Struct<{
|
|
1202
|
+
readonly code: Schema.Literal<"score-partial">;
|
|
1203
|
+
readonly locator: Schema.NullOr<Schema.String>;
|
|
1204
|
+
}>]>>;
|
|
1205
|
+
readonly refs: Schema.$Array<Schema.Struct<{
|
|
1206
|
+
readonly identity: Schema.Struct<{
|
|
1207
|
+
readonly kind: Schema.Literal<"attempt">;
|
|
1204
1208
|
readonly locator: Schema.String;
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
readonly min: Schema.Number;
|
|
1220
|
-
readonly max: Schema.Number;
|
|
1221
|
-
}>>;
|
|
1222
|
-
}>;
|
|
1209
|
+
}>;
|
|
1210
|
+
}>>;
|
|
1211
|
+
readonly unit: Schema.optional<Schema.Literals<readonly ["points", "USD", "ms", "tokens"]>>;
|
|
1212
|
+
readonly bounds: Schema.optional<Schema.Struct<{
|
|
1213
|
+
readonly min: Schema.Number;
|
|
1214
|
+
readonly max: Schema.Number;
|
|
1215
|
+
}>>;
|
|
1216
|
+
}>;
|
|
1217
|
+
readonly plannedAttemptId: Schema.Codec<import("../record/model/identifiers.mjs").SlotId, string, never, never>;
|
|
1218
|
+
readonly evalId: Schema.Codec<import("../record/model/identifiers.mjs").EvalId, string, never, never>;
|
|
1219
|
+
readonly attemptOrdinal: Schema.Number;
|
|
1220
|
+
readonly publication: Schema.Union<readonly [Schema.Struct<{
|
|
1221
|
+
readonly state: Schema.Literal<"pending">;
|
|
1222
|
+
}>, Schema.Struct<{
|
|
1223
1223
|
readonly originPlannedAttemptId: Schema.String;
|
|
1224
1224
|
readonly state: Schema.Literal<"published">;
|
|
1225
1225
|
readonly action: Schema.Literals<readonly ["executed", "carried", "accepted"]>;
|