@altnovatrail/contracts 0.7.8 → 0.7.9
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.
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file novatrail/eval/v1/report.proto (package novatrail.eval.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
// The runner's report of the eval protocol: what the eval runner of `tutor` measured in one run of
|
|
6
|
+
// an eval set, sample by sample — the verdict on each answer slot's truth and on what the models
|
|
7
|
+
// read, an essay's marks by people and by AI, or why a sample was refused —, with no value, text,
|
|
8
|
+
// stroke or crop of any work. What it holds, and how the measures are counted from it, are the
|
|
9
|
+
// rules of contracts/README.md, section 14.
|
|
10
|
+
|
|
11
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
import type { AnswerSlotPlace, Unreadable } from "../../observation/v1/observation_pb.js";
|
|
14
|
+
import type { CriterionMark } from "./sample_pb.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file novatrail/eval/v1/report.proto.
|
|
18
|
+
*/
|
|
19
|
+
export declare const file_novatrail_eval_v1_report: GenFile;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* One run of an eval set by the eval runner: who ran it, what it measured, which models read, by
|
|
23
|
+
* which code the verdicts came, and each sample's result.
|
|
24
|
+
*
|
|
25
|
+
* @generated from message novatrail.eval.v1.Report
|
|
26
|
+
*/
|
|
27
|
+
export declare type Report = Message<"novatrail.eval.v1.Report"> & {
|
|
28
|
+
/**
|
|
29
|
+
* The protocol the file is written in: "novatrail.eval.v1", the package of this message.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string protocol = 1;
|
|
32
|
+
*/
|
|
33
|
+
protocol: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The tag of the release of `tutor` whose runner made the run.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string runner = 2;
|
|
39
|
+
*/
|
|
40
|
+
runner: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The capability of AI that the run measured.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: novatrail.eval.v1.Capability capability = 3;
|
|
46
|
+
*/
|
|
47
|
+
capability: Capability;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The models that read the work, in the order of the pair: two or one in a run of reading, one in
|
|
51
|
+
* a run of assessment.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: repeated novatrail.eval.v1.Model readers = 4;
|
|
54
|
+
*/
|
|
55
|
+
readers: Model[];
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* The model that assessed the essays by their rubric: only in a run of assessment.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: novatrail.eval.v1.Model assessor = 5;
|
|
61
|
+
*/
|
|
62
|
+
assessor?: Model | undefined;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The code that gave the verdicts.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: novatrail.eval.v1.VerdictSource verdicts = 6;
|
|
68
|
+
*/
|
|
69
|
+
verdicts?: VerdictSource | undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The eval set the run measured.
|
|
73
|
+
*
|
|
74
|
+
* @generated from oneof novatrail.eval.v1.Report.eval_set
|
|
75
|
+
*/
|
|
76
|
+
evalSet: {
|
|
77
|
+
/**
|
|
78
|
+
* A module's eval set, in `modules`.
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: novatrail.eval.v1.ModuleEvalSet module = 7;
|
|
81
|
+
*/
|
|
82
|
+
value: ModuleEvalSet;
|
|
83
|
+
case: "module";
|
|
84
|
+
} | {
|
|
85
|
+
/**
|
|
86
|
+
* An eval set of a capability of AI, which `tutor` holds.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: novatrail.eval.v1.CapabilityEvalSet capability_set = 8;
|
|
89
|
+
*/
|
|
90
|
+
value: CapabilityEvalSet;
|
|
91
|
+
case: "capabilitySet";
|
|
92
|
+
} | { case: undefined; value?: undefined };
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* How many times each sample was read: 1 or more.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: int32 repeats = 9;
|
|
98
|
+
*/
|
|
99
|
+
repeats: number;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Each sample of the set that the capability measures, ascending by ID.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: repeated novatrail.eval.v1.SampleResult samples = 10;
|
|
105
|
+
*/
|
|
106
|
+
samples: SampleResult[];
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Describes the message novatrail.eval.v1.Report.
|
|
111
|
+
* Use `create(ReportSchema)` to create a new message.
|
|
112
|
+
*/
|
|
113
|
+
export declare const ReportSchema: GenMessage<Report>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* A model of a provider of AI.
|
|
117
|
+
*
|
|
118
|
+
* @generated from message novatrail.eval.v1.Model
|
|
119
|
+
*/
|
|
120
|
+
export declare type Model = Message<"novatrail.eval.v1.Model"> & {
|
|
121
|
+
/**
|
|
122
|
+
* The provider, as the adapters of `tutor` name it.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: string provider = 1;
|
|
125
|
+
*/
|
|
126
|
+
provider: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The model, as the list of admitted models names it, with its setting.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: string model = 2;
|
|
132
|
+
*/
|
|
133
|
+
model: string;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message novatrail.eval.v1.Model.
|
|
138
|
+
* Use `create(ModelSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export declare const ModelSchema: GenMessage<Model>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The code that gave the verdicts of a run, and its version.
|
|
144
|
+
*
|
|
145
|
+
* @generated from message novatrail.eval.v1.VerdictSource
|
|
146
|
+
*/
|
|
147
|
+
export declare type VerdictSource = Message<"novatrail.eval.v1.VerdictSource"> & {
|
|
148
|
+
/**
|
|
149
|
+
* Whose code.
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: novatrail.eval.v1.VerdictCode code = 1;
|
|
152
|
+
*/
|
|
153
|
+
code: VerdictCode;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The tag of the release of that code.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: string version = 2;
|
|
159
|
+
*/
|
|
160
|
+
version: string;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message novatrail.eval.v1.VerdictSource.
|
|
165
|
+
* Use `create(VerdictSourceSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export declare const VerdictSourceSchema: GenMessage<VerdictSource>;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* A module's eval set, as a commit of `modules` holds it.
|
|
171
|
+
*
|
|
172
|
+
* @generated from message novatrail.eval.v1.ModuleEvalSet
|
|
173
|
+
*/
|
|
174
|
+
export declare type ModuleEvalSet = Message<"novatrail.eval.v1.ModuleEvalSet"> & {
|
|
175
|
+
/**
|
|
176
|
+
* The module's ID.
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: string module = 1;
|
|
179
|
+
*/
|
|
180
|
+
module: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The commit of `modules` whose `eval/` the run read: 40 lowercase hexadecimal digits.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: string commit = 2;
|
|
186
|
+
*/
|
|
187
|
+
commit: string;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message novatrail.eval.v1.ModuleEvalSet.
|
|
192
|
+
* Use `create(ModuleEvalSetSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export declare const ModuleEvalSetSchema: GenMessage<ModuleEvalSet>;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* An eval set of a capability of AI, which `tutor` holds.
|
|
198
|
+
*
|
|
199
|
+
* @generated from message novatrail.eval.v1.CapabilityEvalSet
|
|
200
|
+
*/
|
|
201
|
+
export declare type CapabilityEvalSet = Message<"novatrail.eval.v1.CapabilityEvalSet"> & {
|
|
202
|
+
/**
|
|
203
|
+
* The set's name, as `tutor` names it.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: string name = 1;
|
|
206
|
+
*/
|
|
207
|
+
name: string;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Describes the message novatrail.eval.v1.CapabilityEvalSet.
|
|
212
|
+
* Use `create(CapabilityEvalSetSchema)` to create a new message.
|
|
213
|
+
*/
|
|
214
|
+
export declare const CapabilityEvalSetSchema: GenMessage<CapabilityEvalSet>;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* What the run made of one sample.
|
|
218
|
+
*
|
|
219
|
+
* @generated from message novatrail.eval.v1.SampleResult
|
|
220
|
+
*/
|
|
221
|
+
export declare type SampleResult = Message<"novatrail.eval.v1.SampleResult"> & {
|
|
222
|
+
/**
|
|
223
|
+
* The sample's ID.
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: string sample = 1;
|
|
226
|
+
*/
|
|
227
|
+
sample: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Whether it was measured.
|
|
231
|
+
*
|
|
232
|
+
* @generated from oneof novatrail.eval.v1.SampleResult.result
|
|
233
|
+
*/
|
|
234
|
+
result: {
|
|
235
|
+
/**
|
|
236
|
+
* The runner refused it, and why: nothing of it was sent to AI.
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: novatrail.eval.v1.Refusal refused = 2;
|
|
239
|
+
*/
|
|
240
|
+
value: Refusal;
|
|
241
|
+
case: "refused";
|
|
242
|
+
} | {
|
|
243
|
+
/**
|
|
244
|
+
* It was read and measured.
|
|
245
|
+
*
|
|
246
|
+
* @generated from field: novatrail.eval.v1.Measurement measured = 3;
|
|
247
|
+
*/
|
|
248
|
+
value: Measurement;
|
|
249
|
+
case: "measured";
|
|
250
|
+
} | { case: undefined; value?: undefined };
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message novatrail.eval.v1.SampleResult.
|
|
255
|
+
* Use `create(SampleResultSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export declare const SampleResultSchema: GenMessage<SampleResult>;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* What a run measured on one sample: its answer slots, or its essay.
|
|
261
|
+
*
|
|
262
|
+
* @generated from message novatrail.eval.v1.Measurement
|
|
263
|
+
*/
|
|
264
|
+
export declare type Measurement = Message<"novatrail.eval.v1.Measurement"> & {
|
|
265
|
+
/**
|
|
266
|
+
* Every answer slot that a model reads and whose check gives a verdict, in the task's order: on
|
|
267
|
+
* a workbook, the filled boxes. None on an essay.
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: repeated novatrail.eval.v1.AnswerSlotResult answer_slots = 1;
|
|
270
|
+
*/
|
|
271
|
+
answerSlots: AnswerSlotResult[];
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The essay: only on a sample of an essay.
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: novatrail.eval.v1.EssayResult essay = 2;
|
|
277
|
+
*/
|
|
278
|
+
essay?: EssayResult | undefined;
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Describes the message novatrail.eval.v1.Measurement.
|
|
283
|
+
* Use `create(MeasurementSchema)` to create a new message.
|
|
284
|
+
*/
|
|
285
|
+
export declare const MeasurementSchema: GenMessage<Measurement>;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* One answer slot: the verdict on its truth, and on what the models read in each repeat.
|
|
289
|
+
*
|
|
290
|
+
* @generated from message novatrail.eval.v1.AnswerSlotResult
|
|
291
|
+
*/
|
|
292
|
+
export declare type AnswerSlotResult = Message<"novatrail.eval.v1.AnswerSlotResult"> & {
|
|
293
|
+
/**
|
|
294
|
+
* The answer slot.
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: novatrail.observation.v1.AnswerSlotPlace answer_slot = 1;
|
|
297
|
+
*/
|
|
298
|
+
answerSlot?: AnswerSlotPlace | undefined;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* The verdict that the truth of the markup gets.
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: novatrail.eval.v1.Verdict truth = 2;
|
|
304
|
+
*/
|
|
305
|
+
truth?: Verdict | undefined;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The markup notes a mirrored digit in it.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: bool mirrored = 3;
|
|
311
|
+
*/
|
|
312
|
+
mirrored: boolean;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* The markup notes something crossed out and written again in it.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: bool crossed_out = 4;
|
|
318
|
+
*/
|
|
319
|
+
crossedOut: boolean;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* What each repeat gave, in order: as many as the report's repeats.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: repeated novatrail.eval.v1.Reading readings = 5;
|
|
325
|
+
*/
|
|
326
|
+
readings: Reading[];
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Describes the message novatrail.eval.v1.AnswerSlotResult.
|
|
331
|
+
* Use `create(AnswerSlotResultSchema)` to create a new message.
|
|
332
|
+
*/
|
|
333
|
+
export declare const AnswerSlotResultSchema: GenMessage<AnswerSlotResult>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* A verdict of an answer slot, as the test vectors of verdicts of the module format write it.
|
|
337
|
+
*
|
|
338
|
+
* @generated from message novatrail.eval.v1.Verdict
|
|
339
|
+
*/
|
|
340
|
+
export declare type Verdict = Message<"novatrail.eval.v1.Verdict"> & {
|
|
341
|
+
/**
|
|
342
|
+
* "correct", "not_yet", "unreadable" or "unchecked".
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: string verdict = 1;
|
|
345
|
+
*/
|
|
346
|
+
verdict: string;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* The reason of the verdict: only beside "unreadable", and empty beside the others.
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: string reason = 2;
|
|
352
|
+
*/
|
|
353
|
+
reason: string;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* The trap that the value shows, by its local ID: only beside "not_yet", and empty when the
|
|
357
|
+
* value shows none.
|
|
358
|
+
*
|
|
359
|
+
* @generated from field: string trap = 3;
|
|
360
|
+
*/
|
|
361
|
+
trap: string;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Describes the message novatrail.eval.v1.Verdict.
|
|
366
|
+
* Use `create(VerdictSchema)` to create a new message.
|
|
367
|
+
*/
|
|
368
|
+
export declare const VerdictSchema: GenMessage<Verdict>;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* What one repeat gave an answer slot.
|
|
372
|
+
*
|
|
373
|
+
* @generated from message novatrail.eval.v1.Reading
|
|
374
|
+
*/
|
|
375
|
+
export declare type Reading = Message<"novatrail.eval.v1.Reading"> & {
|
|
376
|
+
/**
|
|
377
|
+
* The verdict on the observation the readers gave, joined when they are two.
|
|
378
|
+
*
|
|
379
|
+
* @generated from field: novatrail.eval.v1.Verdict verdict = 1;
|
|
380
|
+
*/
|
|
381
|
+
verdict?: Verdict | undefined;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Why the verdict is "unchecked": only beside it.
|
|
385
|
+
*
|
|
386
|
+
* @generated from field: novatrail.eval.v1.UncheckedCause unchecked = 2;
|
|
387
|
+
*/
|
|
388
|
+
unchecked: UncheckedCause;
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Describes the message novatrail.eval.v1.Reading.
|
|
393
|
+
* Use `create(ReadingSchema)` to create a new message.
|
|
394
|
+
*/
|
|
395
|
+
export declare const ReadingSchema: GenMessage<Reading>;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* An essay: its truth, the people's marks, and what each repeat gave.
|
|
399
|
+
*
|
|
400
|
+
* @generated from message novatrail.eval.v1.EssayResult
|
|
401
|
+
*/
|
|
402
|
+
export declare type EssayResult = Message<"novatrail.eval.v1.EssayResult"> & {
|
|
403
|
+
/**
|
|
404
|
+
* Why the truth holds no text: blank or illegible. None when it holds the essay's text.
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: optional novatrail.observation.v1.Unreadable truth = 1;
|
|
407
|
+
*/
|
|
408
|
+
truth?: Unreadable | undefined;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* The marks the people agreed on, as the markup gives them.
|
|
412
|
+
*
|
|
413
|
+
* @generated from field: repeated novatrail.eval.v1.CriterionMark people = 2;
|
|
414
|
+
*/
|
|
415
|
+
people: CriterionMark[];
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* What each repeat gave, in order: as many as the report's repeats.
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: repeated novatrail.eval.v1.EssayReading readings = 3;
|
|
421
|
+
*/
|
|
422
|
+
readings: EssayReading[];
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* Describes the message novatrail.eval.v1.EssayResult.
|
|
427
|
+
* Use `create(EssayResultSchema)` to create a new message.
|
|
428
|
+
*/
|
|
429
|
+
export declare const EssayResultSchema: GenMessage<EssayResult>;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* What one repeat gave an essay.
|
|
433
|
+
*
|
|
434
|
+
* @generated from message novatrail.eval.v1.EssayReading
|
|
435
|
+
*/
|
|
436
|
+
export declare type EssayReading = Message<"novatrail.eval.v1.EssayReading"> & {
|
|
437
|
+
/**
|
|
438
|
+
* How its submission ended.
|
|
439
|
+
*
|
|
440
|
+
* @generated from oneof novatrail.eval.v1.EssayReading.outcome
|
|
441
|
+
*/
|
|
442
|
+
outcome: {
|
|
443
|
+
/**
|
|
444
|
+
* The essay was read and assessed.
|
|
445
|
+
*
|
|
446
|
+
* @generated from field: novatrail.eval.v1.AssessedEssay assessment = 1;
|
|
447
|
+
*/
|
|
448
|
+
value: AssessedEssay;
|
|
449
|
+
case: "assessment";
|
|
450
|
+
} | {
|
|
451
|
+
/**
|
|
452
|
+
* The essay was read as blank or illegible, and was not assessed.
|
|
453
|
+
*
|
|
454
|
+
* @generated from field: novatrail.observation.v1.Unreadable unreadable = 2;
|
|
455
|
+
*/
|
|
456
|
+
value: Unreadable;
|
|
457
|
+
case: "unreadable";
|
|
458
|
+
} | {
|
|
459
|
+
/**
|
|
460
|
+
* The reading or the assessment gave nothing, and why.
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: novatrail.eval.v1.UncheckedCause unchecked = 3;
|
|
463
|
+
*/
|
|
464
|
+
value: UncheckedCause;
|
|
465
|
+
case: "unchecked";
|
|
466
|
+
} | { case: undefined; value?: undefined };
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Describes the message novatrail.eval.v1.EssayReading.
|
|
471
|
+
* Use `create(EssayReadingSchema)` to create a new message.
|
|
472
|
+
*/
|
|
473
|
+
export declare const EssayReadingSchema: GenMessage<EssayReading>;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* The assessment of an essay by AI.
|
|
477
|
+
*
|
|
478
|
+
* @generated from message novatrail.eval.v1.AssessedEssay
|
|
479
|
+
*/
|
|
480
|
+
export declare type AssessedEssay = Message<"novatrail.eval.v1.AssessedEssay"> & {
|
|
481
|
+
/**
|
|
482
|
+
* The mark that AI gave each criterion the people marked, in their order.
|
|
483
|
+
*
|
|
484
|
+
* @generated from field: repeated novatrail.eval.v1.AssessedCriterion criteria = 1;
|
|
485
|
+
*/
|
|
486
|
+
criteria: AssessedCriterion[];
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Describes the message novatrail.eval.v1.AssessedEssay.
|
|
491
|
+
* Use `create(AssessedEssaySchema)` to create a new message.
|
|
492
|
+
*/
|
|
493
|
+
export declare const AssessedEssaySchema: GenMessage<AssessedEssay>;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* The mark that AI gave one criterion.
|
|
497
|
+
*
|
|
498
|
+
* @generated from message novatrail.eval.v1.AssessedCriterion
|
|
499
|
+
*/
|
|
500
|
+
export declare type AssessedCriterion = Message<"novatrail.eval.v1.AssessedCriterion"> & {
|
|
501
|
+
/**
|
|
502
|
+
* The criterion's place in the rubric, from 1.
|
|
503
|
+
*
|
|
504
|
+
* @generated from field: int32 criterion = 1;
|
|
505
|
+
*/
|
|
506
|
+
criterion: number;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* The mark.
|
|
510
|
+
*
|
|
511
|
+
* @generated from field: novatrail.eval.v1.CriterionAssessment assessment = 2;
|
|
512
|
+
*/
|
|
513
|
+
assessment: CriterionAssessment;
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Describes the message novatrail.eval.v1.AssessedCriterion.
|
|
518
|
+
* Use `create(AssessedCriterionSchema)` to create a new message.
|
|
519
|
+
*/
|
|
520
|
+
export declare const AssessedCriterionSchema: GenMessage<AssessedCriterion>;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* A capability of AI that the protocol measures.
|
|
524
|
+
*
|
|
525
|
+
* @generated from enum novatrail.eval.v1.Capability
|
|
526
|
+
*/
|
|
527
|
+
export enum Capability {
|
|
528
|
+
/**
|
|
529
|
+
* No capability: never written. A report that holds it is not valid.
|
|
530
|
+
*
|
|
531
|
+
* @generated from enum value: CAPABILITY_UNSPECIFIED = 0;
|
|
532
|
+
*/
|
|
533
|
+
UNSPECIFIED = 0,
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Reading handwriting: the values of the answer slots on a sheet or a workbook, which get a
|
|
537
|
+
* verdict.
|
|
538
|
+
*
|
|
539
|
+
* @generated from enum value: CAPABILITY_HANDWRITING_READING = 1;
|
|
540
|
+
*/
|
|
541
|
+
HANDWRITING_READING = 1,
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Assessing an essay by its rubric, the whole path: the essay read, and what was read assessed.
|
|
545
|
+
*
|
|
546
|
+
* @generated from enum value: CAPABILITY_RUBRIC_ASSESSMENT = 2;
|
|
547
|
+
*/
|
|
548
|
+
RUBRIC_ASSESSMENT = 2,
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Describes the enum novatrail.eval.v1.Capability.
|
|
553
|
+
*/
|
|
554
|
+
export declare const CapabilitySchema: GenEnum<Capability>;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Whose code gave the verdicts of a run.
|
|
558
|
+
*
|
|
559
|
+
* @generated from enum novatrail.eval.v1.VerdictCode
|
|
560
|
+
*/
|
|
561
|
+
export enum VerdictCode {
|
|
562
|
+
/**
|
|
563
|
+
* Nobody's: never written. A report that holds it is not valid.
|
|
564
|
+
*
|
|
565
|
+
* @generated from enum value: VERDICT_CODE_UNSPECIFIED = 0;
|
|
566
|
+
*/
|
|
567
|
+
UNSPECIFIED = 0,
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* `module-kit`'s, as in the platform's work: only such a report admits a model.
|
|
571
|
+
*
|
|
572
|
+
* @generated from enum value: VERDICT_CODE_MODULE_KIT = 1;
|
|
573
|
+
*/
|
|
574
|
+
MODULE_KIT = 1,
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* The runner's own: a measurement, which admits no model.
|
|
578
|
+
*
|
|
579
|
+
* @generated from enum value: VERDICT_CODE_RUNNER = 2;
|
|
580
|
+
*/
|
|
581
|
+
RUNNER = 2,
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Describes the enum novatrail.eval.v1.VerdictCode.
|
|
586
|
+
*/
|
|
587
|
+
export declare const VerdictCodeSchema: GenEnum<VerdictCode>;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Why the runner refused a sample.
|
|
591
|
+
*
|
|
592
|
+
* @generated from enum novatrail.eval.v1.Refusal
|
|
593
|
+
*/
|
|
594
|
+
export enum Refusal {
|
|
595
|
+
/**
|
|
596
|
+
* No reason: never written. A report that holds it is not valid.
|
|
597
|
+
*
|
|
598
|
+
* @generated from enum value: REFUSAL_UNSPECIFIED = 0;
|
|
599
|
+
*/
|
|
600
|
+
UNSPECIFIED = 0,
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* The sample breaks a rule of sections 11 and 12, or its markup does not fit its task.
|
|
604
|
+
*
|
|
605
|
+
* @generated from enum value: REFUSAL_INVALID = 1;
|
|
606
|
+
*/
|
|
607
|
+
INVALID = 1,
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* The sample has no markup.
|
|
611
|
+
*
|
|
612
|
+
* @generated from enum value: REFUSAL_NO_MARKUP = 2;
|
|
613
|
+
*/
|
|
614
|
+
NO_MARKUP = 2,
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Its task is not the one it names: no such task, a task of another module, or an open view of
|
|
618
|
+
* another digest.
|
|
619
|
+
*
|
|
620
|
+
* @generated from enum value: REFUSAL_OTHER_TASK = 3;
|
|
621
|
+
*/
|
|
622
|
+
OTHER_TASK = 3,
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* A sample written by a child, which goes to no provider until a contract with it admits
|
|
626
|
+
* children.
|
|
627
|
+
*
|
|
628
|
+
* @generated from enum value: REFUSAL_CHILD = 4;
|
|
629
|
+
*/
|
|
630
|
+
CHILD = 4,
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Describes the enum novatrail.eval.v1.Refusal.
|
|
635
|
+
*/
|
|
636
|
+
export declare const RefusalSchema: GenEnum<Refusal>;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Why a reading gave no verdict.
|
|
640
|
+
*
|
|
641
|
+
* @generated from enum novatrail.eval.v1.UncheckedCause
|
|
642
|
+
*/
|
|
643
|
+
export enum UncheckedCause {
|
|
644
|
+
/**
|
|
645
|
+
* No cause: the reading gave a verdict.
|
|
646
|
+
*
|
|
647
|
+
* @generated from enum value: UNCHECKED_CAUSE_UNSPECIFIED = 0;
|
|
648
|
+
*/
|
|
649
|
+
UNSPECIFIED = 0,
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* AI failed: an error, a refusal of the provider, a timeout.
|
|
653
|
+
*
|
|
654
|
+
* @generated from enum value: UNCHECKED_CAUSE_FAILURE = 1;
|
|
655
|
+
*/
|
|
656
|
+
FAILURE = 1,
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* A limit or a quota ran out.
|
|
660
|
+
*
|
|
661
|
+
* @generated from enum value: UNCHECKED_CAUSE_LIMIT = 2;
|
|
662
|
+
*/
|
|
663
|
+
LIMIT = 2,
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* An observation is not valid (contracts/README.md, section 10).
|
|
667
|
+
*
|
|
668
|
+
* @generated from enum value: UNCHECKED_CAUSE_INVALID = 3;
|
|
669
|
+
*/
|
|
670
|
+
INVALID = 3,
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* The assessment of an essay marked no criterion.
|
|
674
|
+
*
|
|
675
|
+
* @generated from enum value: UNCHECKED_CAUSE_NO_MARK = 4;
|
|
676
|
+
*/
|
|
677
|
+
NO_MARK = 4,
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Describes the enum novatrail.eval.v1.UncheckedCause.
|
|
682
|
+
*/
|
|
683
|
+
export declare const UncheckedCauseSchema: GenEnum<UncheckedCause>;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* The mark that AI gave a criterion.
|
|
687
|
+
*
|
|
688
|
+
* @generated from enum novatrail.eval.v1.CriterionAssessment
|
|
689
|
+
*/
|
|
690
|
+
export enum CriterionAssessment {
|
|
691
|
+
/**
|
|
692
|
+
* No mark: never written. A report that holds it is not valid.
|
|
693
|
+
*
|
|
694
|
+
* @generated from enum value: CRITERION_ASSESSMENT_UNSPECIFIED = 0;
|
|
695
|
+
*/
|
|
696
|
+
UNSPECIFIED = 0,
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* The essay meets it.
|
|
700
|
+
*
|
|
701
|
+
* @generated from enum value: CRITERION_ASSESSMENT_MET = 1;
|
|
702
|
+
*/
|
|
703
|
+
MET = 1,
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* The essay does not meet it.
|
|
707
|
+
*
|
|
708
|
+
* @generated from enum value: CRITERION_ASSESSMENT_NOT_MET = 2;
|
|
709
|
+
*/
|
|
710
|
+
NOT_MET = 2,
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* AI gave it no mark.
|
|
714
|
+
*
|
|
715
|
+
* @generated from enum value: CRITERION_ASSESSMENT_NONE = 3;
|
|
716
|
+
*/
|
|
717
|
+
NONE = 3,
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Describes the enum novatrail.eval.v1.CriterionAssessment.
|
|
722
|
+
*/
|
|
723
|
+
export declare const CriterionAssessmentSchema: GenEnum<CriterionAssessment>;
|
|
724
|
+
|