@alis-build/alis-evals-v1 1.24.0 → 1.27.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.
|
@@ -1,7 +1,31 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
|
|
2
2
|
// @generated from file alis/evals/v1/evaluation.proto (package alis.evals.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
+
// Runs post-deploy tests and evaluations and records the outcome of each
|
|
6
|
+
// finished suite as a `Run` (`runs/{run_id}`).
|
|
7
|
+
//
|
|
8
|
+
// `TestService` has one RPC per kind of run. Each starts a
|
|
9
|
+
// `google.longrunning.Operation` whose response lists the names of the runs
|
|
10
|
+
// it produced:
|
|
11
|
+
//
|
|
12
|
+
// - `RunIntegrationTest`: integration cases scored by deterministic checks.
|
|
13
|
+
// - `RunLoadTest`: generated traffic at a `RunLoadTestRequest.Mode` preset,
|
|
14
|
+
// with Service Level Objective (SLO) checks on latency, errors, and
|
|
15
|
+
// throughput.
|
|
16
|
+
// - `RunAgentEval`: agent evaluation cases scored by deterministic checks,
|
|
17
|
+
// LLM-as-judge scores, rubric dimensions, and ADK prebuilt metrics.
|
|
18
|
+
// - `RunInfraObservation`: Cloud Monitoring snapshots of declared Cloud Run
|
|
19
|
+
// and Spanner targets, without generating load.
|
|
20
|
+
//
|
|
21
|
+
// Requests select cases by id: `suite.case` selects one case, `suite` selects
|
|
22
|
+
// every case in that suite, and an empty list runs every registered case. An
|
|
23
|
+
// operation completes successfully once execution finishes, even when cases
|
|
24
|
+
// fail, so read `Run.status` for the outcome. Runs, cases, checks, and
|
|
25
|
+
// metrics all report a `Status`. Each completed run is published as a
|
|
26
|
+
// `RunPublishedEvent` for persistence and downstream consumers such as
|
|
27
|
+
// BigQuery or Pub/Sub.
|
|
28
|
+
|
|
5
29
|
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
30
|
import { file_google_longrunning_operations } from "@alis-build/google-longrunning/google/longrunning/operations_pb.js";
|
|
7
31
|
import { file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -27,6 +51,8 @@ export const Run_TypeSchema = /*@__PURE__*/
|
|
|
27
51
|
enumDesc(file_alis_evals_v1_evaluation, 0, 0);
|
|
28
52
|
|
|
29
53
|
/**
|
|
54
|
+
* Identifies which kind of test or evaluation produced a Run.
|
|
55
|
+
*
|
|
30
56
|
* @generated from enum alis.evals.v1.Run.Type
|
|
31
57
|
*/
|
|
32
58
|
export const Run_Type = /*@__PURE__*/
|
|
@@ -249,6 +275,10 @@ export const RunLoadTestRequest_ModeSchema = /*@__PURE__*/
|
|
|
249
275
|
enumDesc(file_alis_evals_v1_evaluation, 16, 0);
|
|
250
276
|
|
|
251
277
|
/**
|
|
278
|
+
* Load intensity presets, ordered as an ascending scale from minimal to
|
|
279
|
+
* ludicrous. Higher modes apply more concurrent load; the exact parameters
|
|
280
|
+
* are environment-specific.
|
|
281
|
+
*
|
|
252
282
|
* @generated from enum alis.evals.v1.RunLoadTestRequest.Mode
|
|
253
283
|
*/
|
|
254
284
|
export const RunLoadTestRequest_Mode = /*@__PURE__*/
|
|
@@ -331,6 +361,12 @@ export const InfraTargetRoleSchema = /*@__PURE__*/
|
|
|
331
361
|
enumDesc(file_alis_evals_v1_evaluation, 0);
|
|
332
362
|
|
|
333
363
|
/**
|
|
364
|
+
* Role of an infrastructure target within a load or observation case.
|
|
365
|
+
*
|
|
366
|
+
* ENTRY marks the service under direct test (for example the Cloud Run service
|
|
367
|
+
* receiving generated load). DEPENDENCY marks downstream services or data stores
|
|
368
|
+
* observed for correlation (for example internal Cloud Run hops or Spanner).
|
|
369
|
+
*
|
|
334
370
|
* @generated from enum alis.evals.v1.InfraTargetRole
|
|
335
371
|
*/
|
|
336
372
|
export const InfraTargetRole = /*@__PURE__*/
|
|
@@ -343,6 +379,12 @@ export const InfraFetchStatusSchema = /*@__PURE__*/
|
|
|
343
379
|
enumDesc(file_alis_evals_v1_evaluation, 1);
|
|
344
380
|
|
|
345
381
|
/**
|
|
382
|
+
* Outcome of fetching infrastructure metrics for one target from Cloud
|
|
383
|
+
* Monitoring.
|
|
384
|
+
*
|
|
385
|
+
* Partial per-metric failure may still yield OK when at least one metric
|
|
386
|
+
* succeeded; details are recorded in fetch_message on the snapshot.
|
|
387
|
+
*
|
|
346
388
|
* @generated from enum alis.evals.v1.InfraFetchStatus
|
|
347
389
|
*/
|
|
348
390
|
export const InfraFetchStatus = /*@__PURE__*/
|
|
@@ -355,6 +397,8 @@ export const InfraKindSchema = /*@__PURE__*/
|
|
|
355
397
|
enumDesc(file_alis_evals_v1_evaluation, 2);
|
|
356
398
|
|
|
357
399
|
/**
|
|
400
|
+
* Infrastructure resource kind referenced by infra SLO checks and snapshots.
|
|
401
|
+
*
|
|
358
402
|
* @generated from enum alis.evals.v1.InfraKind
|
|
359
403
|
*/
|
|
360
404
|
export const InfraKind = /*@__PURE__*/
|
|
@@ -367,12 +411,21 @@ export const StatusSchema = /*@__PURE__*/
|
|
|
367
411
|
enumDesc(file_alis_evals_v1_evaluation, 3);
|
|
368
412
|
|
|
369
413
|
/**
|
|
414
|
+
* Outcome status for runs, cases, checks, metrics, and rubric dimensions.
|
|
415
|
+
*
|
|
370
416
|
* @generated from enum alis.evals.v1.Status
|
|
371
417
|
*/
|
|
372
418
|
export const Status = /*@__PURE__*/
|
|
373
419
|
tsEnum(StatusSchema);
|
|
374
420
|
|
|
375
421
|
/**
|
|
422
|
+
* Executes post-deploy tests and evaluations. Each RPC starts a long-running
|
|
423
|
+
* operation that runs bundled cases for one kind of test. One operation may
|
|
424
|
+
* produce multiple Run resources (one per completed suite). When the operation
|
|
425
|
+
* completes, the response returns the resource names of all resulting Runs
|
|
426
|
+
* (`runs/{run_id}`). Each full Run payload is published for persistence and
|
|
427
|
+
* event consumers (for example BigQuery or Pub/Sub).
|
|
428
|
+
*
|
|
376
429
|
* @generated from service alis.evals.v1.TestService
|
|
377
430
|
*/
|
|
378
431
|
export const TestService = /*@__PURE__*/
|
package/package.json
CHANGED