@valerypopoff/rivet2-evaluations 2.17.0 → 2.19.0
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/dist/types/types.d.ts
CHANGED
|
@@ -538,6 +538,18 @@ export type EvaluationGraphRunner = (input: {
|
|
|
538
538
|
phase: 'target' | 'evaluator';
|
|
539
539
|
};
|
|
540
540
|
}) => Promise<EvaluationGraphExecution>;
|
|
541
|
+
/** History entries deliberately omit trial payloads. Fetch get() for details. */
|
|
542
|
+
export type EvaluationRunSummary = Omit<EvaluationRun, 'trials' | 'thresholdResults' | 'warnings' | 'provenance'>;
|
|
543
|
+
export type EvaluationRunHistoryPage = {
|
|
544
|
+
runs: readonly EvaluationRunSummary[];
|
|
545
|
+
nextCursor?: string;
|
|
546
|
+
};
|
|
547
|
+
export type EvaluationRunHistoryQuery = {
|
|
548
|
+
projectId: ProjectId;
|
|
549
|
+
suiteId?: string;
|
|
550
|
+
limit?: number;
|
|
551
|
+
after?: string;
|
|
552
|
+
};
|
|
541
553
|
export type EvaluationRunStore = {
|
|
542
554
|
put(run: EvaluationRun): Promise<void>;
|
|
543
555
|
/** Sets a user-assigned run name; omit the name to restore the Unnamed label. */
|
|
@@ -554,6 +566,8 @@ export type EvaluationRunStore = {
|
|
|
554
566
|
projectId: ProjectId;
|
|
555
567
|
suiteId?: string;
|
|
556
568
|
}): Promise<readonly EvaluationRun[]>;
|
|
569
|
+
/** Optional compact, keyset-paginated history for large hosted catalogs. */
|
|
570
|
+
listPage?(input: EvaluationRunHistoryQuery): Promise<EvaluationRunHistoryPage>;
|
|
557
571
|
delete(input: {
|
|
558
572
|
projectId: ProjectId;
|
|
559
573
|
runId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valerypopoff/rivet2-evaluations",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/cjs/bundle.cjs",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@valerypopoff/rivet2-core": "^2.
|
|
39
|
+
"@valerypopoff/rivet2-core": "^2.19.0",
|
|
40
40
|
"yaml": "^2.9.0"
|
|
41
41
|
}
|
|
42
42
|
}
|