@labelbox/recursion-sdk 0.0.159 → 0.0.161
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.
|
@@ -4850,6 +4850,10 @@ export type EvaluationDetailResponseDto = {
|
|
|
4850
4850
|
* Stable evaluation identifier (UUID). An evaluation is a multi-problem comparison run.
|
|
4851
4851
|
*/
|
|
4852
4852
|
id: string;
|
|
4853
|
+
/**
|
|
4854
|
+
* Which evaluation shape this is. Defaults to solve-and-grade for pre-kind records.
|
|
4855
|
+
*/
|
|
4856
|
+
kind?: 'solve_and_grade' | 'grade_only';
|
|
4853
4857
|
/**
|
|
4854
4858
|
* Human-readable display name of the evaluation.
|
|
4855
4859
|
*/
|
|
@@ -5249,6 +5253,10 @@ export type EvaluationPageResponseDto = {
|
|
|
5249
5253
|
* Stable evaluation identifier (UUID). An evaluation is a multi-problem comparison run.
|
|
5250
5254
|
*/
|
|
5251
5255
|
id: string;
|
|
5256
|
+
/**
|
|
5257
|
+
* Which evaluation shape this is. Defaults to solve-and-grade for pre-kind records.
|
|
5258
|
+
*/
|
|
5259
|
+
kind?: 'solve_and_grade' | 'grade_only';
|
|
5252
5260
|
/**
|
|
5253
5261
|
* Human-readable display name of the evaluation.
|
|
5254
5262
|
*/
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
* How often a recipe is validated — an **internal CI cadence**, never
|
|
4
|
-
* in the docs (deliberately not on `RecipeReferenceEntry`)
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* daily workflow only on the days it's "due" (date-modulo schedule).
|
|
8
|
-
* A future weekly tier is just `{ everyDays: 7 }` — no schema change.
|
|
3
|
+
* How often a recipe proof is validated — an **internal CI cadence**, never
|
|
4
|
+
* surfaced in the docs (deliberately not on `RecipeReferenceEntry`). Recipes
|
|
5
|
+
* run from the daily maintenance workflow when their stateless date-modulo
|
|
6
|
+
* schedule is due. Deployment gating is an independent test classification.
|
|
9
7
|
*/
|
|
10
|
-
export declare const RecipeCadenceSchema: z.
|
|
8
|
+
export declare const RecipeCadenceSchema: z.ZodObject<{
|
|
11
9
|
everyDays: z.ZodNumber;
|
|
12
|
-
}, z.core.$strict
|
|
10
|
+
}, z.core.$strict>;
|
|
13
11
|
export type RecipeCadence = z.infer<typeof RecipeCadenceSchema>;
|
|
14
12
|
/** A link to another **recipe** (traversable — the agent can follow it). */
|
|
15
13
|
export declare const RecipeRecipeTargetSchema: z.ZodObject<{
|
|
@@ -168,9 +166,9 @@ export declare const RecipeManifestSchema: z.ZodObject<{
|
|
|
168
166
|
title: z.ZodString;
|
|
169
167
|
goal: z.ZodString;
|
|
170
168
|
category: z.ZodString;
|
|
171
|
-
cadence: z.
|
|
169
|
+
cadence: z.ZodObject<{
|
|
172
170
|
everyDays: z.ZodNumber;
|
|
173
|
-
}, z.core.$strict
|
|
171
|
+
}, z.core.$strict>;
|
|
174
172
|
stepDescriptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
175
173
|
outcomeInUiOnly: z.ZodOptional<z.ZodObject<{
|
|
176
174
|
reason: z.ZodString;
|
|
@@ -19,17 +19,12 @@ import { z } from 'zod';
|
|
|
19
19
|
// spaces vs hyphens) could collapse two distinct categories into one nav group.
|
|
20
20
|
const KEBAB_CASE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
21
21
|
/**
|
|
22
|
-
* How often a recipe is validated — an **internal CI cadence**, never
|
|
23
|
-
* in the docs (deliberately not on `RecipeReferenceEntry`)
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* daily workflow only on the days it's "due" (date-modulo schedule).
|
|
27
|
-
* A future weekly tier is just `{ everyDays: 7 }` — no schema change.
|
|
22
|
+
* How often a recipe proof is validated — an **internal CI cadence**, never
|
|
23
|
+
* surfaced in the docs (deliberately not on `RecipeReferenceEntry`). Recipes
|
|
24
|
+
* run from the daily maintenance workflow when their stateless date-modulo
|
|
25
|
+
* schedule is due. Deployment gating is an independent test classification.
|
|
28
26
|
*/
|
|
29
|
-
export const RecipeCadenceSchema = z.
|
|
30
|
-
z.literal('per-merge'),
|
|
31
|
-
z.object({ everyDays: z.number().int().positive() }).strict(),
|
|
32
|
-
]);
|
|
27
|
+
export const RecipeCadenceSchema = z.object({ everyDays: z.number().int().positive() }).strict();
|
|
33
28
|
// ---------------------------------------------------------------------------
|
|
34
29
|
// Related links — the relationship graph between recipes and doc elements
|
|
35
30
|
// ---------------------------------------------------------------------------
|
|
@@ -976,6 +976,14 @@ export const RESOURCE_REFERENCE = {
|
|
|
976
976
|
description: 'Stable evaluation identifier (UUID). An evaluation is a multi-problem comparison run.',
|
|
977
977
|
format: 'uuid',
|
|
978
978
|
},
|
|
979
|
+
{
|
|
980
|
+
name: 'kind',
|
|
981
|
+
required: false,
|
|
982
|
+
type: 'string',
|
|
983
|
+
description: 'Which evaluation shape this is. Defaults to solve-and-grade for pre-kind records.',
|
|
984
|
+
enum: ['solve_and_grade', 'grade_only'],
|
|
985
|
+
default: 'solve_and_grade',
|
|
986
|
+
},
|
|
979
987
|
{
|
|
980
988
|
name: 'name',
|
|
981
989
|
required: true,
|
|
@@ -2137,6 +2137,14 @@ export const SDK_REFERENCE = {
|
|
|
2137
2137
|
description: 'Stable evaluation identifier (UUID). An evaluation is a multi-problem comparison run.',
|
|
2138
2138
|
format: 'uuid',
|
|
2139
2139
|
},
|
|
2140
|
+
{
|
|
2141
|
+
name: 'kind',
|
|
2142
|
+
required: false,
|
|
2143
|
+
type: 'string',
|
|
2144
|
+
description: 'Which evaluation shape this is. Defaults to solve-and-grade for pre-kind records.',
|
|
2145
|
+
enum: ['solve_and_grade', 'grade_only'],
|
|
2146
|
+
default: 'solve_and_grade',
|
|
2147
|
+
},
|
|
2140
2148
|
{
|
|
2141
2149
|
name: 'name',
|
|
2142
2150
|
required: true,
|
|
@@ -5587,6 +5595,14 @@ export const SDK_REFERENCE = {
|
|
|
5587
5595
|
description: 'Stable evaluation identifier (UUID). An evaluation is a multi-problem comparison run.',
|
|
5588
5596
|
format: 'uuid',
|
|
5589
5597
|
},
|
|
5598
|
+
{
|
|
5599
|
+
name: 'kind',
|
|
5600
|
+
required: false,
|
|
5601
|
+
type: 'string',
|
|
5602
|
+
description: 'Which evaluation shape this is. Defaults to solve-and-grade for pre-kind records.',
|
|
5603
|
+
enum: ['solve_and_grade', 'grade_only'],
|
|
5604
|
+
default: 'solve_and_grade',
|
|
5605
|
+
},
|
|
5590
5606
|
{
|
|
5591
5607
|
name: 'name',
|
|
5592
5608
|
required: true,
|
|
@@ -16325,6 +16341,14 @@ export const SDK_REFERENCE = {
|
|
|
16325
16341
|
description: 'Stable evaluation identifier (UUID). An evaluation is a multi-problem comparison run.',
|
|
16326
16342
|
format: 'uuid',
|
|
16327
16343
|
},
|
|
16344
|
+
{
|
|
16345
|
+
name: 'kind',
|
|
16346
|
+
required: false,
|
|
16347
|
+
type: 'string',
|
|
16348
|
+
description: 'Which evaluation shape this is. Defaults to solve-and-grade for pre-kind records.',
|
|
16349
|
+
enum: ['solve_and_grade', 'grade_only'],
|
|
16350
|
+
default: 'solve_and_grade',
|
|
16351
|
+
},
|
|
16328
16352
|
{
|
|
16329
16353
|
name: 'name',
|
|
16330
16354
|
required: true,
|
|
@@ -28599,6 +28623,14 @@ export const SDK_REFERENCE = {
|
|
|
28599
28623
|
description: 'Stable evaluation identifier (UUID). An evaluation is a multi-problem comparison run.',
|
|
28600
28624
|
format: 'uuid',
|
|
28601
28625
|
},
|
|
28626
|
+
{
|
|
28627
|
+
name: 'kind',
|
|
28628
|
+
required: false,
|
|
28629
|
+
type: 'string',
|
|
28630
|
+
description: 'Which evaluation shape this is. Defaults to solve-and-grade for pre-kind records.',
|
|
28631
|
+
enum: ['solve_and_grade', 'grade_only'],
|
|
28632
|
+
default: 'solve_and_grade',
|
|
28633
|
+
},
|
|
28602
28634
|
{
|
|
28603
28635
|
name: 'name',
|
|
28604
28636
|
required: true,
|