@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,188 @@
|
|
|
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 { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
12
|
+
import { file_novatrail_eval_v1_sample } from "./sample_pb.js";
|
|
13
|
+
import { file_novatrail_observation_v1_observation } from "../../observation/v1/observation_pb.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file novatrail/eval/v1/report.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_novatrail_eval_v1_report = /*@__PURE__*/
|
|
19
|
+
fileDesc("Ch5ub3ZhdHJhaWwvZXZhbC92MS9yZXBvcnQucHJvdG8SEW5vdmF0cmFpbC5ldmFsLnYxIqsDCgZSZXBvcnQSEAoIcHJvdG9jb2wYASABKAkSDgoGcnVubmVyGAIgASgJEjEKCmNhcGFiaWxpdHkYAyABKA4yHS5ub3ZhdHJhaWwuZXZhbC52MS5DYXBhYmlsaXR5EikKB3JlYWRlcnMYBCADKAsyGC5ub3ZhdHJhaWwuZXZhbC52MS5Nb2RlbBIqCghhc3Nlc3NvchgFIAEoCzIYLm5vdmF0cmFpbC5ldmFsLnYxLk1vZGVsE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yYWlsL2V2YWwvdjE7ZXZhbHYxogIDTkVYqgIRTm92YXRyYWlsLkV2YWwuVjHKAhJOb3ZhdHJhaWxcRXZhbF9cVjHiAh5Ob3ZhdHJhaWxcRXZhbF9cVjFcR1BCTWV0YWRhdGHqAhNOb3ZhdHJhaWw6OkV2YWw6OlYxYgZwcm90bzM", [file_novatrail_eval_v1_sample, file_novatrail_observation_v1_observation]);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message novatrail.eval.v1.Report.
|
|
23
|
+
* Use `create(ReportSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const ReportSchema = /*@__PURE__*/
|
|
26
|
+
messageDesc(file_novatrail_eval_v1_report, 0);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message novatrail.eval.v1.Model.
|
|
30
|
+
* Use `create(ModelSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const ModelSchema = /*@__PURE__*/
|
|
33
|
+
messageDesc(file_novatrail_eval_v1_report, 1);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message novatrail.eval.v1.VerdictSource.
|
|
37
|
+
* Use `create(VerdictSourceSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const VerdictSourceSchema = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_novatrail_eval_v1_report, 2);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message novatrail.eval.v1.ModuleEvalSet.
|
|
44
|
+
* Use `create(ModuleEvalSetSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const ModuleEvalSetSchema = /*@__PURE__*/
|
|
47
|
+
messageDesc(file_novatrail_eval_v1_report, 3);
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message novatrail.eval.v1.CapabilityEvalSet.
|
|
51
|
+
* Use `create(CapabilityEvalSetSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const CapabilityEvalSetSchema = /*@__PURE__*/
|
|
54
|
+
messageDesc(file_novatrail_eval_v1_report, 4);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message novatrail.eval.v1.SampleResult.
|
|
58
|
+
* Use `create(SampleResultSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const SampleResultSchema = /*@__PURE__*/
|
|
61
|
+
messageDesc(file_novatrail_eval_v1_report, 5);
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message novatrail.eval.v1.Measurement.
|
|
65
|
+
* Use `create(MeasurementSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const MeasurementSchema = /*@__PURE__*/
|
|
68
|
+
messageDesc(file_novatrail_eval_v1_report, 6);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message novatrail.eval.v1.AnswerSlotResult.
|
|
72
|
+
* Use `create(AnswerSlotResultSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const AnswerSlotResultSchema = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_novatrail_eval_v1_report, 7);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message novatrail.eval.v1.Verdict.
|
|
79
|
+
* Use `create(VerdictSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const VerdictSchema = /*@__PURE__*/
|
|
82
|
+
messageDesc(file_novatrail_eval_v1_report, 8);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message novatrail.eval.v1.Reading.
|
|
86
|
+
* Use `create(ReadingSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const ReadingSchema = /*@__PURE__*/
|
|
89
|
+
messageDesc(file_novatrail_eval_v1_report, 9);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message novatrail.eval.v1.EssayResult.
|
|
93
|
+
* Use `create(EssayResultSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const EssayResultSchema = /*@__PURE__*/
|
|
96
|
+
messageDesc(file_novatrail_eval_v1_report, 10);
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message novatrail.eval.v1.EssayReading.
|
|
100
|
+
* Use `create(EssayReadingSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export const EssayReadingSchema = /*@__PURE__*/
|
|
103
|
+
messageDesc(file_novatrail_eval_v1_report, 11);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message novatrail.eval.v1.AssessedEssay.
|
|
107
|
+
* Use `create(AssessedEssaySchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export const AssessedEssaySchema = /*@__PURE__*/
|
|
110
|
+
messageDesc(file_novatrail_eval_v1_report, 12);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message novatrail.eval.v1.AssessedCriterion.
|
|
114
|
+
* Use `create(AssessedCriterionSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const AssessedCriterionSchema = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_novatrail_eval_v1_report, 13);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the enum novatrail.eval.v1.Capability.
|
|
121
|
+
*/
|
|
122
|
+
export const CapabilitySchema = /*@__PURE__*/
|
|
123
|
+
enumDesc(file_novatrail_eval_v1_report, 0);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* A capability of AI that the protocol measures.
|
|
127
|
+
*
|
|
128
|
+
* @generated from enum novatrail.eval.v1.Capability
|
|
129
|
+
*/
|
|
130
|
+
export const Capability = /*@__PURE__*/
|
|
131
|
+
tsEnum(CapabilitySchema);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the enum novatrail.eval.v1.VerdictCode.
|
|
135
|
+
*/
|
|
136
|
+
export const VerdictCodeSchema = /*@__PURE__*/
|
|
137
|
+
enumDesc(file_novatrail_eval_v1_report, 1);
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Whose code gave the verdicts of a run.
|
|
141
|
+
*
|
|
142
|
+
* @generated from enum novatrail.eval.v1.VerdictCode
|
|
143
|
+
*/
|
|
144
|
+
export const VerdictCode = /*@__PURE__*/
|
|
145
|
+
tsEnum(VerdictCodeSchema);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the enum novatrail.eval.v1.Refusal.
|
|
149
|
+
*/
|
|
150
|
+
export const RefusalSchema = /*@__PURE__*/
|
|
151
|
+
enumDesc(file_novatrail_eval_v1_report, 2);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Why the runner refused a sample.
|
|
155
|
+
*
|
|
156
|
+
* @generated from enum novatrail.eval.v1.Refusal
|
|
157
|
+
*/
|
|
158
|
+
export const Refusal = /*@__PURE__*/
|
|
159
|
+
tsEnum(RefusalSchema);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Describes the enum novatrail.eval.v1.UncheckedCause.
|
|
163
|
+
*/
|
|
164
|
+
export const UncheckedCauseSchema = /*@__PURE__*/
|
|
165
|
+
enumDesc(file_novatrail_eval_v1_report, 3);
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Why a reading gave no verdict.
|
|
169
|
+
*
|
|
170
|
+
* @generated from enum novatrail.eval.v1.UncheckedCause
|
|
171
|
+
*/
|
|
172
|
+
export const UncheckedCause = /*@__PURE__*/
|
|
173
|
+
tsEnum(UncheckedCauseSchema);
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Describes the enum novatrail.eval.v1.CriterionAssessment.
|
|
177
|
+
*/
|
|
178
|
+
export const CriterionAssessmentSchema = /*@__PURE__*/
|
|
179
|
+
enumDesc(file_novatrail_eval_v1_report, 4);
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* The mark that AI gave a criterion.
|
|
183
|
+
*
|
|
184
|
+
* @generated from enum novatrail.eval.v1.CriterionAssessment
|
|
185
|
+
*/
|
|
186
|
+
export const CriterionAssessment = /*@__PURE__*/
|
|
187
|
+
tsEnum(CriterionAssessmentSchema);
|
|
188
|
+
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
// The sample file of the eval protocol: one sample of writing on a sheet or on a page of a
|
|
6
6
|
// workbook, as the samples page of `canvas` saves it and the eval runner of `tutor` reads it, one
|
|
7
|
-
// JSON file to a sample. Which fields a sample holds, by its purpose and by who
|
|
8
|
-
// file is written and read, and where a sample may go are the rules
|
|
9
|
-
// section 11.
|
|
7
|
+
// JSON file to a sample, with its markup. Which fields a sample holds, by its purpose and by who
|
|
8
|
+
// wrote it, how the file is written and read, its markup, and where a sample may go are the rules
|
|
9
|
+
// of contracts/README.md, section 11.
|
|
10
10
|
|
|
11
11
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
12
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
-
import type { AnswerSlotPlace, CropBox } from "../../observation/v1/observation_pb.js";
|
|
13
|
+
import type { AnswerSlotPlace, CropBox, Observation } from "../../observation/v1/observation_pb.js";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Describes the file novatrail/eval/v1/sample.proto.
|
|
@@ -162,6 +162,14 @@ export declare type Sample = Message<"novatrail.eval.v1.Sample"> & {
|
|
|
162
162
|
value: Workbook;
|
|
163
163
|
case: "workbook";
|
|
164
164
|
} | { case: undefined; value?: undefined };
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* What the sample is meant to say, which the runner compares what AI reads with. Every writer
|
|
168
|
+
* writes it; a file without it is still a sample, and the runner measures nothing on it.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: novatrail.eval.v1.Markup markup = 16;
|
|
171
|
+
*/
|
|
172
|
+
markup?: Markup | undefined;
|
|
165
173
|
};
|
|
166
174
|
|
|
167
175
|
/**
|
|
@@ -170,6 +178,224 @@ export declare type Sample = Message<"novatrail.eval.v1.Sample"> & {
|
|
|
170
178
|
*/
|
|
171
179
|
export declare const SampleSchema: GenMessage<Sample>;
|
|
172
180
|
|
|
181
|
+
/**
|
|
182
|
+
* The markup of a sample: the truth of the answer slots that AI reads, notes on some of them, and on
|
|
183
|
+
* a sheet the parts of its writing or, on an essay, the people's marks of its rubric's criteria.
|
|
184
|
+
*
|
|
185
|
+
* @generated from message novatrail.eval.v1.Markup
|
|
186
|
+
*/
|
|
187
|
+
export declare type Markup = Message<"novatrail.eval.v1.Markup"> & {
|
|
188
|
+
/**
|
|
189
|
+
* What a reader that reads right gives: every answer slot that AI reads, in the task's order, with
|
|
190
|
+
* its value as written or the reason it gives none, and no box on a crop.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: novatrail.observation.v1.Observation truth = 1;
|
|
193
|
+
*/
|
|
194
|
+
truth?: Observation | undefined;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* What sets some answer slots apart, ascending by place: only those it sets apart.
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: repeated novatrail.eval.v1.AnswerSlotNote notes = 2;
|
|
200
|
+
*/
|
|
201
|
+
notes: AnswerSlotNote[];
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* What the markup says of the writing beyond its answer slots: on a sheet one of the two, and on
|
|
205
|
+
* a workbook neither.
|
|
206
|
+
*
|
|
207
|
+
* @generated from oneof novatrail.eval.v1.Markup.writing
|
|
208
|
+
*/
|
|
209
|
+
writing: {
|
|
210
|
+
/**
|
|
211
|
+
* The parts of a solution, in the order it reads.
|
|
212
|
+
*
|
|
213
|
+
* @generated from field: novatrail.eval.v1.WritingParts parts = 3;
|
|
214
|
+
*/
|
|
215
|
+
value: WritingParts;
|
|
216
|
+
case: "parts";
|
|
217
|
+
} | {
|
|
218
|
+
/**
|
|
219
|
+
* The people's marks of an essay's criteria.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: novatrail.eval.v1.CriterionMarks marks = 4;
|
|
222
|
+
*/
|
|
223
|
+
value: CriterionMarks;
|
|
224
|
+
case: "marks";
|
|
225
|
+
} | { case: undefined; value?: undefined };
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Describes the message novatrail.eval.v1.Markup.
|
|
230
|
+
* Use `create(MarkupSchema)` to create a new message.
|
|
231
|
+
*/
|
|
232
|
+
export declare const MarkupSchema: GenMessage<Markup>;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* What sets an answer slot apart, so that its row is measured apart too.
|
|
236
|
+
*
|
|
237
|
+
* @generated from message novatrail.eval.v1.AnswerSlotNote
|
|
238
|
+
*/
|
|
239
|
+
export declare type AnswerSlotNote = Message<"novatrail.eval.v1.AnswerSlotNote"> & {
|
|
240
|
+
/**
|
|
241
|
+
* The answer slot, one of the truth's.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: novatrail.observation.v1.AnswerSlotPlace answer_slot = 1;
|
|
244
|
+
*/
|
|
245
|
+
answerSlot?: AnswerSlotPlace | undefined;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* A digit in it is written mirrored: its truth is UNREADABLE_AMBIGUOUS.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: bool mirrored = 2;
|
|
251
|
+
*/
|
|
252
|
+
mirrored: boolean;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Something in it is crossed out and written again.
|
|
256
|
+
*
|
|
257
|
+
* @generated from field: bool crossed_out = 3;
|
|
258
|
+
*/
|
|
259
|
+
crossedOut: boolean;
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Describes the message novatrail.eval.v1.AnswerSlotNote.
|
|
264
|
+
* Use `create(AnswerSlotNoteSchema)` to create a new message.
|
|
265
|
+
*/
|
|
266
|
+
export declare const AnswerSlotNoteSchema: GenMessage<AnswerSlotNote>;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* The parts of a solution on a sheet, in the order it reads, and where it went wrong.
|
|
270
|
+
*
|
|
271
|
+
* @generated from message novatrail.eval.v1.WritingParts
|
|
272
|
+
*/
|
|
273
|
+
export declare type WritingParts = Message<"novatrail.eval.v1.WritingParts"> & {
|
|
274
|
+
/**
|
|
275
|
+
* The parts, one at least when the sheet shows strokes, and none when it shows none.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: repeated novatrail.eval.v1.WritingPart parts = 1;
|
|
278
|
+
*/
|
|
279
|
+
parts: WritingPart[];
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* The place, from 1, of the part where the solution went wrong, even when its calculation is
|
|
283
|
+
* right; none when it did not go wrong.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: optional int32 first_error = 2;
|
|
286
|
+
*/
|
|
287
|
+
firstError?: number | undefined;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Describes the message novatrail.eval.v1.WritingParts.
|
|
292
|
+
* Use `create(WritingPartsSchema)` to create a new message.
|
|
293
|
+
*/
|
|
294
|
+
export declare const WritingPartsSchema: GenMessage<WritingParts>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* One part of the writing: what the writer meant as one, a text or a drawing.
|
|
298
|
+
*
|
|
299
|
+
* @generated from message novatrail.eval.v1.WritingPart
|
|
300
|
+
*/
|
|
301
|
+
export declare type WritingPart = Message<"novatrail.eval.v1.WritingPart"> & {
|
|
302
|
+
/**
|
|
303
|
+
* A text or a drawing.
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: novatrail.eval.v1.PartKind kind = 1;
|
|
306
|
+
*/
|
|
307
|
+
kind: PartKind;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* A text as it is written; a drawing described in words, with every number and label on it.
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: string text = 2;
|
|
313
|
+
*/
|
|
314
|
+
text: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* The IDs of its strokes, ascending: every stroke the sheet shows is in one part, and the strokes
|
|
318
|
+
* that cross a part out are in it.
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: repeated int32 stroke_ids = 3;
|
|
321
|
+
*/
|
|
322
|
+
strokeIds: number[];
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* The writer crossed the part out.
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: bool crossed_out = 4;
|
|
328
|
+
*/
|
|
329
|
+
crossedOut: boolean;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* The part, or something in it, is written illegibly on purpose.
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: bool illegible = 5;
|
|
335
|
+
*/
|
|
336
|
+
illegible: boolean;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* The part holds the final answer of the task's answer slot bound `anywhere`.
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: bool final_answer = 6;
|
|
342
|
+
*/
|
|
343
|
+
finalAnswer: boolean;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Describes the message novatrail.eval.v1.WritingPart.
|
|
348
|
+
* Use `create(WritingPartSchema)` to create a new message.
|
|
349
|
+
*/
|
|
350
|
+
export declare const WritingPartSchema: GenMessage<WritingPart>;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The marks that people gave an essay's criteria.
|
|
354
|
+
*
|
|
355
|
+
* @generated from message novatrail.eval.v1.CriterionMarks
|
|
356
|
+
*/
|
|
357
|
+
export declare type CriterionMarks = Message<"novatrail.eval.v1.CriterionMarks"> & {
|
|
358
|
+
/**
|
|
359
|
+
* The marks, ascending by criterion: a criterion the people did not agree on has none.
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: repeated novatrail.eval.v1.CriterionMark marks = 1;
|
|
362
|
+
*/
|
|
363
|
+
marks: CriterionMark[];
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Describes the message novatrail.eval.v1.CriterionMarks.
|
|
368
|
+
* Use `create(CriterionMarksSchema)` to create a new message.
|
|
369
|
+
*/
|
|
370
|
+
export declare const CriterionMarksSchema: GenMessage<CriterionMarks>;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* One criterion's mark, as the people who marked the essay agreed on it.
|
|
374
|
+
*
|
|
375
|
+
* @generated from message novatrail.eval.v1.CriterionMark
|
|
376
|
+
*/
|
|
377
|
+
export declare type CriterionMark = Message<"novatrail.eval.v1.CriterionMark"> & {
|
|
378
|
+
/**
|
|
379
|
+
* The criterion's place in the rubric, from 1.
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: int32 criterion = 1;
|
|
382
|
+
*/
|
|
383
|
+
criterion: number;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Whether the essay meets it.
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: bool met = 2;
|
|
389
|
+
*/
|
|
390
|
+
met: boolean;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Describes the message novatrail.eval.v1.CriterionMark.
|
|
395
|
+
* Use `create(CriterionMarkSchema)` to create a new message.
|
|
396
|
+
*/
|
|
397
|
+
export declare const CriterionMarkSchema: GenMessage<CriterionMark>;
|
|
398
|
+
|
|
173
399
|
/**
|
|
174
400
|
* A person who wrote a sample: the file says nothing more of them.
|
|
175
401
|
*
|
|
@@ -1107,6 +1333,39 @@ export declare type Frame = Message<"novatrail.eval.v1.Frame"> & {
|
|
|
1107
1333
|
*/
|
|
1108
1334
|
export declare const FrameSchema: GenMessage<Frame>;
|
|
1109
1335
|
|
|
1336
|
+
/**
|
|
1337
|
+
* The kind of a part of the writing.
|
|
1338
|
+
*
|
|
1339
|
+
* @generated from enum novatrail.eval.v1.PartKind
|
|
1340
|
+
*/
|
|
1341
|
+
export enum PartKind {
|
|
1342
|
+
/**
|
|
1343
|
+
* No kind: never written. A part that holds it is not valid.
|
|
1344
|
+
*
|
|
1345
|
+
* @generated from enum value: PART_KIND_UNSPECIFIED = 0;
|
|
1346
|
+
*/
|
|
1347
|
+
UNSPECIFIED = 0,
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Writing: letters, digits and signs.
|
|
1351
|
+
*
|
|
1352
|
+
* @generated from enum value: PART_KIND_TEXT = 1;
|
|
1353
|
+
*/
|
|
1354
|
+
TEXT = 1,
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* A drawing: a number line, a picture, a scheme.
|
|
1358
|
+
*
|
|
1359
|
+
* @generated from enum value: PART_KIND_DRAWING = 2;
|
|
1360
|
+
*/
|
|
1361
|
+
DRAWING = 2,
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Describes the enum novatrail.eval.v1.PartKind.
|
|
1366
|
+
*/
|
|
1367
|
+
export declare const PartKindSchema: GenEnum<PartKind>;
|
|
1368
|
+
|
|
1110
1369
|
/**
|
|
1111
1370
|
* What a sample is made for.
|
|
1112
1371
|
*
|