@altnovatrail/contracts 0.19.12 → 0.19.14
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/README.md +4 -4
- package/novatrail/api/v1/account_pb.d.ts +48 -48
- package/novatrail/api/v1/account_pb.js +5 -5
- package/novatrail/api/v1/attempt_pb.d.ts +23 -22
- package/novatrail/api/v1/attempt_pb.js +7 -6
- package/novatrail/api/v1/cause_pb.d.ts +29 -28
- package/novatrail/api/v1/cause_pb.js +7 -6
- package/novatrail/api/v1/debug_pb.d.ts +10 -9
- package/novatrail/api/v1/debug_pb.js +3 -2
- package/novatrail/api/v1/learning_pb.d.ts +12 -12
- package/novatrail/api/v1/learning_pb.js +4 -4
- package/novatrail/api/v1/legal_pb.d.ts +7 -7
- package/novatrail/api/v1/legal_pb.js +3 -3
- package/novatrail/api/v1/module_pb.d.ts +4 -3
- package/novatrail/api/v1/module_pb.js +2 -1
- package/novatrail/api/v1/package_pb.d.ts +9 -9
- package/novatrail/api/v1/package_pb.js +2 -2
- package/novatrail/api/v1/paper_pb.d.ts +12 -12
- package/novatrail/api/v1/paper_pb.js +4 -3
- package/novatrail/api/v1/progress_pb.d.ts +25 -24
- package/novatrail/api/v1/progress_pb.js +4 -3
- package/novatrail/api/v1/work_pb.d.ts +7 -6
- package/novatrail/api/v1/work_pb.js +3 -2
- package/novatrail/eval/v1/report_pb.d.ts +7 -6
- package/novatrail/eval/v1/report_pb.js +1 -1
- package/novatrail/eval/v1/sample_pb.d.ts +4 -4
- package/novatrail/eval/v1/sample_pb.js +1 -1
- package/novatrail/observation/v1/observation_pb.d.ts +4 -4
- package/novatrail/observation/v1/observation_pb.js +2 -2
- package/novatrail/paper/v1/key_pb.d.ts +7 -7
- package/novatrail/paper/v1/key_pb.js +4 -4
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// What a package of a module gives by its digest, in the contract between `app` and `api`: the
|
|
6
6
|
// open views of its manifest, skill graph, technique catalog and solving steps, which go without a
|
|
7
7
|
// token, and whether the image of `api` still gives a package. The files of a package's device
|
|
8
|
-
// part are no method of the contract: they go by HTTP GET, as contracts/README.md
|
|
8
|
+
// part are no method of the contract: they go by HTTP GET, as contracts/README.md has
|
|
9
9
|
// it, with the rules of the whole contract.
|
|
10
10
|
|
|
11
11
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -18,8 +18,8 @@ export declare const file_novatrail_api_v1_package: GenFile;
|
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* An open view of a part of a module: what the learner's app receives of the part, without its
|
|
21
|
-
* closed fields
|
|
22
|
-
* module format, `open` of `@altnovatrail/spec` and of the Go module `spec`.
|
|
21
|
+
* closed fields, as the module format sets its open fields apart. `app` and `api` read it by the
|
|
22
|
+
* types of the module format, `open` of `@altnovatrail/spec` and of the Go module `spec`.
|
|
23
23
|
*
|
|
24
24
|
* @generated from message novatrail.api.v1.OpenView
|
|
25
25
|
*/
|
|
@@ -33,7 +33,7 @@ export declare type OpenView = Message<"novatrail.api.v1.OpenView"> & {
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* The version of the module format the view is written in, MAJOR.MINOR: `app` reads a view of a
|
|
36
|
-
* version its build reads, and offers to reload for another
|
|
36
|
+
* version its build reads, and offers to reload for another.
|
|
37
37
|
*
|
|
38
38
|
* @generated from field: string module_format_version = 2;
|
|
39
39
|
*/
|
|
@@ -120,8 +120,8 @@ export declare type GetSkillGraphResponse = Message<"novatrail.api.v1.GetSkillGr
|
|
|
120
120
|
skillGraph?: OpenView | undefined;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
* The tier of each skill of the graph, by its local ID, as
|
|
124
|
-
*
|
|
123
|
+
* The tier of each skill of the graph, by its local ID, as the module format computes it for the
|
|
124
|
+
* skill graph and the canonical view of the package holds it, `skill_tiers`: no field of the
|
|
125
125
|
* graph, nor of its open view.
|
|
126
126
|
*
|
|
127
127
|
* @generated from field: map<string, int32> skill_tiers = 2;
|
|
@@ -326,7 +326,7 @@ export enum PackageStatus {
|
|
|
326
326
|
export declare const PackageStatusSchema: GenEnum<PackageStatus>;
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
|
-
* What a package of a module gives by its digest
|
|
329
|
+
* What a package of a module gives by its digest. The four open views go without a token and
|
|
330
330
|
* without the ID of a profile, by Connect GET: each method has the idempotency level
|
|
331
331
|
* `NO_SIDE_EFFECTS`, and `app` calls it with no header — no `Connect-Timeout-Ms` either, which would
|
|
332
332
|
* make the request not simple and send a preflight before it. They go for any package that the
|
|
@@ -342,7 +342,7 @@ export declare const PackageService: GenService<{
|
|
|
342
342
|
/**
|
|
343
343
|
* The open view of the manifest of a package: `app` caches it by the digest, gives it to the
|
|
344
344
|
* canvas with each task of the package, and reads in it the title and the explanation language of
|
|
345
|
-
* a module before its first attempt
|
|
345
|
+
* a module before its first attempt.
|
|
346
346
|
*
|
|
347
347
|
* @generated from rpc novatrail.api.v1.PackageService.GetManifest
|
|
348
348
|
*/
|
|
@@ -353,7 +353,7 @@ export declare const PackageService: GenService<{
|
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
355
|
* The open view of the skill graph of a package, with the tier of each skill: what the skill map
|
|
356
|
-
* draws, and what `app` reads a sequential module by
|
|
356
|
+
* draws, and what `app` reads a sequential module by.
|
|
357
357
|
*
|
|
358
358
|
* @generated from rpc novatrail.api.v1.PackageService.GetSkillGraph
|
|
359
359
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// What a package of a module gives by its digest, in the contract between `app` and `api`: the
|
|
6
6
|
// open views of its manifest, skill graph, technique catalog and solving steps, which go without a
|
|
7
7
|
// token, and whether the image of `api` still gives a package. The files of a package's device
|
|
8
|
-
// part are no method of the contract: they go by HTTP GET, as contracts/README.md
|
|
8
|
+
// part are no method of the contract: they go by HTTP GET, as contracts/README.md has
|
|
9
9
|
// it, with the rules of the whole contract.
|
|
10
10
|
|
|
11
11
|
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -116,7 +116,7 @@ export const PackageStatus = /*@__PURE__*/
|
|
|
116
116
|
tsEnum(PackageStatusSchema);
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
* What a package of a module gives by its digest
|
|
119
|
+
* What a package of a module gives by its digest. The four open views go without a token and
|
|
120
120
|
* without the ID of a profile, by Connect GET: each method has the idempotency level
|
|
121
121
|
* `NO_SIDE_EFFECTS`, and `app` calls it with no header — no `Connect-Timeout-Ms` either, which would
|
|
122
122
|
* make the request not simple and send a preflight before it. They go for any package that the
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// @generated from file novatrail/api/v1/paper.proto (package novatrail.api.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
// A task from the learner's paper in the contract between `app` and `api
|
|
5
|
+
// A task from the learner's paper in the contract between `app` and `api`: the tasks found
|
|
6
6
|
// on the photo of a page, and the attempts of the tasks picked. Each attempt is then checked and
|
|
7
7
|
// hinted by `AttemptService`, its work a `PaperWork`. What each message means, and what `api` keeps
|
|
8
|
-
// of the page and of the attempts, are the rules of contracts/README.md
|
|
8
|
+
// of the page and of the attempts, are the rules of contracts/README.md for the
|
|
9
|
+
// contract between `app` and `api`.
|
|
9
10
|
|
|
10
11
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
11
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -40,7 +41,7 @@ export declare type FindTasksRequest = Message<"novatrail.api.v1.FindTasksReques
|
|
|
40
41
|
|
|
41
42
|
/**
|
|
42
43
|
* The photo of the page, as the camera of `app` took it or as the learner picked it, a JPEG or a
|
|
43
|
-
* PNG of at most 4 MiB, without the metadata of its file
|
|
44
|
+
* PNG of at most 4 MiB, without the metadata of its file: `app` scales it down to
|
|
44
45
|
* fit.
|
|
45
46
|
*
|
|
46
47
|
* @generated from field: bytes photo = 3;
|
|
@@ -63,10 +64,9 @@ export declare type FindTasksRequest = Message<"novatrail.api.v1.FindTasksReques
|
|
|
63
64
|
|
|
64
65
|
/**
|
|
65
66
|
* The learner's request about the page, in their own words: which tasks to take and how to split
|
|
66
|
-
* them, as "only the first column, each example a task of its own". At most 200 code points,
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* (R165).
|
|
67
|
+
* them, as "only the first column, each example a task of its own". At most 200 code points, with
|
|
68
|
+
* no control character, not spaces alone; empty finds the tasks as the finding's rule alone gives
|
|
69
|
+
* them. It goes to the AI as data, never as an instruction, and the server keeps none of it.
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: string request = 6;
|
|
72
72
|
*/
|
|
@@ -127,7 +127,7 @@ export declare type FindTasksResponse = Message<"novatrail.api.v1.FindTasksRespo
|
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* The turn, in whole degrees clockwise from -179 to 180, by which the photo was turned for its
|
|
130
|
-
* page to read upright before the tasks were found on it
|
|
130
|
+
* page to read upright before the tasks were found on it: turned about its centre onto the
|
|
131
131
|
* smallest upright rectangle that holds it, rounded to whole pixels, its corners white. The frames
|
|
132
132
|
* are on the photo so turned, and `app` turns its photo by it the same way, at any scale, and goes
|
|
133
133
|
* on with the photo turned. 0 when the page was upright, with a request, and with no frames.
|
|
@@ -145,7 +145,7 @@ export declare const FindTasksResponseSchema: GenMessage<FindTasksResponse>;
|
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* A rectangle round one task on the photo of a page, by which `app` cuts the task's crop on the
|
|
148
|
-
* device
|
|
148
|
+
* device.
|
|
149
149
|
*
|
|
150
150
|
* @generated from message novatrail.api.v1.TaskFrame
|
|
151
151
|
*/
|
|
@@ -195,7 +195,7 @@ export declare type BeginPaperAttemptsRequest = Message<"novatrail.api.v1.BeginP
|
|
|
195
195
|
* The provider of the learner's own key, by its code in the admission table, without the key:
|
|
196
196
|
* with a profile of its owner that checks the tasks by its own key, so that `api` checks no
|
|
197
197
|
* quota. Empty on platform AI. Each later request on an attempt that calls AI goes by the
|
|
198
|
-
* `own_key` it carries, or on platform AI without one
|
|
198
|
+
* `own_key` it carries, or on platform AI without one.
|
|
199
199
|
*
|
|
200
200
|
* @generated from field: string own_key_provider = 4;
|
|
201
201
|
*/
|
|
@@ -204,7 +204,7 @@ export declare type BeginPaperAttemptsRequest = Message<"novatrail.api.v1.BeginP
|
|
|
204
204
|
/**
|
|
205
205
|
* The page the tasks are on, by the ID `app` gives it, which names its file of the export: 1 to
|
|
206
206
|
* 200 letters, digits, -, _ and dots, the first not a dot. A Start again on the same page, after
|
|
207
|
-
* "Add", names it again and closes none of its attempts; another page closes them
|
|
207
|
+
* "Add", names it again and closes none of its attempts; another page closes them.
|
|
208
208
|
*
|
|
209
209
|
* @generated from field: string page_id = 5;
|
|
210
210
|
*/
|
|
@@ -245,7 +245,7 @@ export declare const BeginPaperAttemptsResponseSchema: GenMessage<BeginPaperAtte
|
|
|
245
245
|
* `CAUSE_NO_PROFILE`, a request of a profile whose consent is not confirmed `CAUSE_NO_CONSENT`, one
|
|
246
246
|
* of a profile whose age is to be given again `CAUSE_AGE_NEEDED`, and a request whose form the
|
|
247
247
|
* contract refuses the code `invalid_argument` with no `Refusal`. The server keeps no photo and no
|
|
248
|
-
* crop, not even as a stored work
|
|
248
|
+
* crop, not even as a stored work.
|
|
249
249
|
*
|
|
250
250
|
* @generated from service novatrail.api.v1.PaperService
|
|
251
251
|
*/
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// @generated from file novatrail/api/v1/paper.proto (package novatrail.api.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
// A task from the learner's paper in the contract between `app` and `api
|
|
5
|
+
// A task from the learner's paper in the contract between `app` and `api`: the tasks found
|
|
6
6
|
// on the photo of a page, and the attempts of the tasks picked. Each attempt is then checked and
|
|
7
7
|
// hinted by `AttemptService`, its work a `PaperWork`. What each message means, and what `api` keeps
|
|
8
|
-
// of the page and of the attempts, are the rules of contracts/README.md
|
|
8
|
+
// of the page and of the attempts, are the rules of contracts/README.md for the
|
|
9
|
+
// contract between `app` and `api`.
|
|
9
10
|
|
|
10
11
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
11
12
|
import { file_novatrail_api_v1_attempt } from "./attempt_pb.js";
|
|
@@ -61,7 +62,7 @@ export const BeginPaperAttemptsResponseSchema = /*@__PURE__*/
|
|
|
61
62
|
* `CAUSE_NO_PROFILE`, a request of a profile whose consent is not confirmed `CAUSE_NO_CONSENT`, one
|
|
62
63
|
* of a profile whose age is to be given again `CAUSE_AGE_NEEDED`, and a request whose form the
|
|
63
64
|
* contract refuses the code `invalid_argument` with no `Refusal`. The server keeps no photo and no
|
|
64
|
-
* crop, not even as a stored work
|
|
65
|
+
* crop, not even as a stored work.
|
|
65
66
|
*
|
|
66
67
|
* @generated from service novatrail.api.v1.PaperService
|
|
67
68
|
*/
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
// The skill map and the adult's progress in the contract between `app` and `api`: the state of a
|
|
6
6
|
// learner's skills in a module, as the learner model reads it, the attempts of a profile with the
|
|
7
|
-
// traps that repeat in them, and the adult's correction of a module's level
|
|
8
|
-
// message means is the rule of contracts/README.md
|
|
7
|
+
// traps that repeat in them, and the adult's correction of a module's level. What each
|
|
8
|
+
// message means is the rule of contracts/README.md for the contract between
|
|
9
|
+
// `app` and `api`.
|
|
9
10
|
|
|
10
11
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
11
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -84,11 +85,11 @@ export declare type GetSkillMapResponse = Message<"novatrail.api.v1.GetSkillMapR
|
|
|
84
85
|
|
|
85
86
|
/**
|
|
86
87
|
* The ID of the band of the module's level, as `learner-model` reads it on the scale of the
|
|
87
|
-
* module's bands
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* module
|
|
91
|
-
*
|
|
88
|
+
* module's bands: the highest band while the level stands above it, and empty while it stands
|
|
89
|
+
* below the lowest band, where a learner whose grade is in the lowest band starts. A band keeps
|
|
90
|
+
* its place and its ID in every version of the module (by the module format's rules for versions
|
|
91
|
+
* of a module), so the manifest of the current version names it: by it and the order of the bands
|
|
92
|
+
* of that manifest `app` names the bands next to it, which `SetModuleLevel` takes.
|
|
92
93
|
*
|
|
93
94
|
* @generated from field: string level_band = 4;
|
|
94
95
|
*/
|
|
@@ -96,7 +97,7 @@ export declare type GetSkillMapResponse = Message<"novatrail.api.v1.GetSkillMapR
|
|
|
96
97
|
|
|
97
98
|
/**
|
|
98
99
|
* When an adult last set the module's level by `SetModuleLevel`: absent when no adult has. The
|
|
99
|
-
* learner sees it, whoever gave the consent
|
|
100
|
+
* learner sees it, whoever gave the consent.
|
|
100
101
|
*
|
|
101
102
|
* @generated from field: google.protobuf.Timestamp level_set_at = 5;
|
|
102
103
|
*/
|
|
@@ -110,7 +111,7 @@ export declare type GetSkillMapResponse = Message<"novatrail.api.v1.GetSkillMapR
|
|
|
110
111
|
export declare const GetSkillMapResponseSchema: GenMessage<GetSkillMapResponse>;
|
|
111
112
|
|
|
112
113
|
/**
|
|
113
|
-
* The state of a skill of a module, as `learner-model` reads it
|
|
114
|
+
* The state of a skill of a module, as `learner-model` reads it. No trap is in it:
|
|
114
115
|
* the trap catalog is closed, and the traps that repeat go to the adult's progress alone.
|
|
115
116
|
*
|
|
116
117
|
* @generated from message novatrail.api.v1.SkillState
|
|
@@ -200,7 +201,7 @@ export declare const SkillStateSchema: GenMessage<SkillState>;
|
|
|
200
201
|
|
|
201
202
|
/**
|
|
202
203
|
* The state of an anchor skill of the shared taxonomy, as `learner-model` reads it from the skills
|
|
203
|
-
* that teach it in the learner's modules
|
|
204
|
+
* that teach it in the learner's modules.
|
|
204
205
|
*
|
|
205
206
|
* @generated from message novatrail.api.v1.AnchorSkillState
|
|
206
207
|
*/
|
|
@@ -236,7 +237,7 @@ export declare type AnchorSkillState = Message<"novatrail.api.v1.AnchorSkillStat
|
|
|
236
237
|
/**
|
|
237
238
|
* The IDs of the modules of the catalog that teach it and are not connected to the profile:
|
|
238
239
|
* those of the pinned index of `api` whose current version suits the profile by its audience and
|
|
239
|
-
* names it in `teaches
|
|
240
|
+
* names it in `teaches`, in the order of their IDs' UTF-16 code units. It is given whatever
|
|
240
241
|
* the holding, and `app` offers them beside `ANCHOR_SKILL_HOLDING_UNKNOWN`: such a module the
|
|
241
242
|
* learner may connect by `ConnectModule`.
|
|
242
243
|
*
|
|
@@ -323,7 +324,7 @@ export declare type GetProgressResponse = Message<"novatrail.api.v1.GetProgressR
|
|
|
323
324
|
export declare const GetProgressResponseSchema: GenMessage<GetProgressResponse>;
|
|
324
325
|
|
|
325
326
|
/**
|
|
326
|
-
* The adult's last correction of a module's level
|
|
327
|
+
* The adult's last correction of a module's level.
|
|
327
328
|
*
|
|
328
329
|
* @generated from message novatrail.api.v1.LevelSetting
|
|
329
330
|
*/
|
|
@@ -498,7 +499,7 @@ export declare type AttemptRecord = Message<"novatrail.api.v1.AttemptRecord"> &
|
|
|
498
499
|
|
|
499
500
|
/**
|
|
500
501
|
* The reason code of the choice that `chosen_at` names, which the adult sees and a child is not
|
|
501
|
-
* told
|
|
502
|
+
* told: `REASON_CODE_UNSPECIFIED` where `chosen_at` is absent.
|
|
502
503
|
*
|
|
503
504
|
* @generated from field: novatrail.api.v1.ReasonCode reason_code = 10;
|
|
504
505
|
*/
|
|
@@ -506,7 +507,7 @@ export declare type AttemptRecord = Message<"novatrail.api.v1.AttemptRecord"> &
|
|
|
506
507
|
|
|
507
508
|
/**
|
|
508
509
|
* The lesson's `title` whenever `lesson` is set, of an open attempt and a closed one, in the
|
|
509
|
-
* module's explanation language, from the package of the version the attempt went on
|
|
510
|
+
* module's explanation language, from the package of the version the attempt went on.
|
|
510
511
|
* Empty outside a lesson, and when `api` no longer reads that package: `app` then names the
|
|
511
512
|
* lesson by its ID.
|
|
512
513
|
*
|
|
@@ -519,10 +520,10 @@ export declare type AttemptRecord = Message<"novatrail.api.v1.AttemptRecord"> &
|
|
|
519
520
|
* `CLOSE_REASON_CORRECT`, `CLOSE_REASON_SOLUTION_SHOWN` or `CLOSE_REASON_DONE`: the primary
|
|
520
521
|
* skills of its items, each item's own or else the task's, each once, in the order of the items
|
|
521
522
|
* and of their lists, in the module's explanation language, from the skill graph of the package
|
|
522
|
-
* of the version the attempt went on
|
|
523
|
+
* of the version the attempt went on. Empty at any other attempt: the skills of a task are
|
|
523
524
|
* closed, since their titles could tell how to solve it, an attempt open or not solved may be
|
|
524
|
-
* begun again, and on the owner's profile the adult and the learner are one person
|
|
525
|
-
*
|
|
525
|
+
* begun again, and on the owner's profile the adult and the learner are one person.
|
|
526
|
+
* Empty too when `api` no longer reads that package.
|
|
526
527
|
*
|
|
527
528
|
* @generated from field: repeated string skill_titles = 12;
|
|
528
529
|
*/
|
|
@@ -557,7 +558,7 @@ export declare type EssayRecord = Message<"novatrail.api.v1.EssayRecord"> & {
|
|
|
557
558
|
|
|
558
559
|
/**
|
|
559
560
|
* Beside `SUBMISSION_END_FEEDBACK`: the mark of each criterion of the rubric, in the order of
|
|
560
|
-
* the criteria
|
|
561
|
+
* the criteria.
|
|
561
562
|
*
|
|
562
563
|
* @generated from field: repeated novatrail.api.v1.CriterionMark criterion_marks = 3;
|
|
563
564
|
*/
|
|
@@ -573,7 +574,7 @@ export declare const EssayRecordSchema: GenMessage<EssayRecord>;
|
|
|
573
574
|
/**
|
|
574
575
|
* A trap that repeats: one that the program found in two closed attempts of the profile or more,
|
|
575
576
|
* counted by its full ID. An attempt on a version withdrawn `wrong_key` counts no trap: its
|
|
576
|
-
* verdicts are wrong
|
|
577
|
+
* verdicts are wrong.
|
|
577
578
|
*
|
|
578
579
|
* @generated from message novatrail.api.v1.RepeatingTrap
|
|
579
580
|
*/
|
|
@@ -713,7 +714,7 @@ export enum AnchorSkillReason {
|
|
|
713
714
|
export declare const AnchorSkillReasonSchema: GenEnum<AnchorSkillReason>;
|
|
714
715
|
|
|
715
716
|
/**
|
|
716
|
-
* The mark of a criterion in a feedback
|
|
717
|
+
* The mark of a criterion in a feedback. A mark its build does not know `app` reads as
|
|
717
718
|
* `CRITERION_MARK_NOT_ASSESSED`.
|
|
718
719
|
*
|
|
719
720
|
* @generated from enum novatrail.api.v1.CriterionMark
|
|
@@ -769,8 +770,8 @@ export declare const CriterionMarkSchema: GenEnum<CriterionMark>;
|
|
|
769
770
|
*/
|
|
770
771
|
export declare const ProgressService: GenService<{
|
|
771
772
|
/**
|
|
772
|
-
* The state of the skills of a connected module's current version, for the skill map
|
|
773
|
-
*
|
|
773
|
+
* The state of the skills of a connected module's current version, for the skill map,
|
|
774
|
+
* as `learner-model` reads it at the time of the request. The graph and its tiers `app`
|
|
774
775
|
* takes by the digest of the answer, `GetSkillGraph`, so a skill that the current version no
|
|
775
776
|
* longer names is not on the map. A learning action needs the right `can_learn`, and an action of
|
|
776
777
|
* an adult `can_view`. Refusals: `CAUSE_NOT_FOUND`, a module not connected, and
|
|
@@ -786,7 +787,7 @@ export declare const ProgressService: GenService<{
|
|
|
786
787
|
/**
|
|
787
788
|
* The progress of a profile, which an adult views with the right `can_view`: its attempts, newest
|
|
788
789
|
* first, a page at a time, and the traps that repeat in its closed attempts, with their
|
|
789
|
-
* descriptions and advice
|
|
790
|
+
* descriptions and advice from the module's trap catalog, and the adult's last correction of
|
|
790
791
|
* the level of each module that has one.
|
|
791
792
|
*
|
|
792
793
|
* @generated from rpc novatrail.api.v1.ProgressService.GetProgress
|
|
@@ -797,7 +798,7 @@ export declare const ProgressService: GenService<{
|
|
|
797
798
|
output: typeof GetProgressResponseSchema;
|
|
798
799
|
},
|
|
799
800
|
/**
|
|
800
|
-
* The adult's correction of the level of a connected module
|
|
801
|
+
* The adult's correction of the level of a connected module: "Easier" or "Harder" in the
|
|
801
802
|
* section for adults, which sets the module's level in the band named, next to the band of the
|
|
802
803
|
* level, by an action of an adult with the right `can_manage`, at every profile of the account:
|
|
803
804
|
* the owner's, a child's and that of a learner who gave their own consent. `api` appends it to
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
// The skill map and the adult's progress in the contract between `app` and `api`: the state of a
|
|
6
6
|
// learner's skills in a module, as the learner model reads it, the attempts of a profile with the
|
|
7
|
-
// traps that repeat in them, and the adult's correction of a module's level
|
|
8
|
-
// message means is the rule of contracts/README.md
|
|
7
|
+
// traps that repeat in them, and the adult's correction of a module's level. What each
|
|
8
|
+
// message means is the rule of contracts/README.md for the contract between
|
|
9
|
+
// `app` and `api`.
|
|
9
10
|
|
|
10
11
|
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
11
12
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -139,7 +140,7 @@ export const CriterionMarkSchema = /*@__PURE__*/
|
|
|
139
140
|
enumDesc(file_novatrail_api_v1_progress, 2);
|
|
140
141
|
|
|
141
142
|
/**
|
|
142
|
-
* The mark of a criterion in a feedback
|
|
143
|
+
* The mark of a criterion in a feedback. A mark its build does not know `app` reads as
|
|
143
144
|
* `CRITERION_MARK_NOT_ASSESSED`.
|
|
144
145
|
*
|
|
145
146
|
* @generated from enum novatrail.api.v1.CriterionMark
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
// The stored works in the contract between `app` and `api`: the works of a profile that the server
|
|
6
6
|
// keeps while the storage of its works is on, each as the device holds it — the history of
|
|
7
7
|
// writing, the contexts of its submissions and its picture —, put, listed, read back and erased one
|
|
8
|
-
// at a time
|
|
8
|
+
// at a time. What each message means is the rule of contracts/README.md for the
|
|
9
|
+
// contract between `app` and `api`.
|
|
9
10
|
|
|
10
11
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
11
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -391,7 +392,7 @@ export declare const WorkKindSchema: GenEnum<WorkKind>;
|
|
|
391
392
|
* that is not the profile's `CAUSE_NOT_FOUND`, a learning request of a profile whose consent is not
|
|
392
393
|
* confirmed `CAUSE_NO_CONSENT` and one of a profile whose age is to be given again
|
|
393
394
|
* `CAUSE_AGE_NEEDED` — but for `DeleteWork` and the learner's `ListWorks` and `GetWork`, which
|
|
394
|
-
* neither refuses
|
|
395
|
+
* neither refuses —, a request without the right it needs the code `permission_denied`
|
|
395
396
|
* with no `Refusal`, and a request whose form the contract refuses the code `invalid_argument`
|
|
396
397
|
* with no `Refusal`. Each repeats by the state of the profile's works, with no idempotency key.
|
|
397
398
|
* The server reads no work and gives none to an AI provider.
|
|
@@ -414,7 +415,7 @@ export declare const WorkService: GenService<{
|
|
|
414
415
|
* `api` reads and no work of the attempt was kept before, so that its kind cannot be known; a
|
|
415
416
|
* withdrawn version, which the image still holds, gives the kind by its task. An attempt of a
|
|
416
417
|
* task from paper gets `invalid_argument`: its work is never a stored work, and stays in the
|
|
417
|
-
* profile's history on the device
|
|
418
|
+
* profile's history on the device. On each refusal `api` keeps nothing of the work, and
|
|
418
419
|
* `app` keeps it on the device alone.
|
|
419
420
|
*
|
|
420
421
|
* @generated from rpc novatrail.api.v1.WorkService.PutWork
|
|
@@ -430,7 +431,7 @@ export declare const WorkService: GenService<{
|
|
|
430
431
|
* storage is off the list is empty: switching it off erased them. While the profile waits for a
|
|
431
432
|
* consent or for its age, neither `CAUSE_NO_CONSENT` nor `CAUSE_AGE_NEEDED` refuses the
|
|
432
433
|
* learner's request, by which `app` builds the export, as neither refuses the learner's
|
|
433
|
-
* `ExportProfile`; nor does `CAUSE_ADULT_NEEDED`, at any profile
|
|
434
|
+
* `ExportProfile`; nor does `CAUSE_ADULT_NEEDED`, at any profile.
|
|
434
435
|
*
|
|
435
436
|
* @generated from rpc novatrail.api.v1.WorkService.ListWorks
|
|
436
437
|
*/
|
|
@@ -441,7 +442,7 @@ export declare const WorkService: GenService<{
|
|
|
441
442
|
},
|
|
442
443
|
/**
|
|
443
444
|
* One work kept on the server, whole, as it was put, to restore it on a device or to export it,
|
|
444
|
-
* beside the part of the export `ExportProfile` and `ExportAccount` give
|
|
445
|
+
* beside the part of the export `ExportProfile` and `ExportAccount` give: as `ListWorks`,
|
|
445
446
|
* while the profile waits too. Refusals: `CAUSE_NOT_FOUND`, also for an attempt with no work
|
|
446
447
|
* kept.
|
|
447
448
|
*
|
|
@@ -458,7 +459,7 @@ export declare const WorkService: GenService<{
|
|
|
458
459
|
* their own consent, the learner's learning request with `can_learn`. The answer is "erased",
|
|
459
460
|
* and so is a repeat's, of an attempt with no work kept. The work on the device stays. While the
|
|
460
461
|
* profile waits for a consent or for its age, it goes as switching the storage off goes: neither
|
|
461
|
-
* `CAUSE_NO_CONSENT` nor `CAUSE_AGE_NEEDED` refuses it
|
|
462
|
+
* `CAUSE_NO_CONSENT` nor `CAUSE_AGE_NEEDED` refuses it. Refusals: `CAUSE_LEARNER_DECIDES`
|
|
462
463
|
* and `CAUSE_ADULT_NEEDED`.
|
|
463
464
|
*
|
|
464
465
|
* @generated from rpc novatrail.api.v1.WorkService.DeleteWork
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
// The stored works in the contract between `app` and `api`: the works of a profile that the server
|
|
6
6
|
// keeps while the storage of its works is on, each as the device holds it — the history of
|
|
7
7
|
// writing, the contexts of its submissions and its picture —, put, listed, read back and erased one
|
|
8
|
-
// at a time
|
|
8
|
+
// at a time. What each message means is the rule of contracts/README.md for the
|
|
9
|
+
// contract between `app` and `api`.
|
|
9
10
|
|
|
10
11
|
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
11
12
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -115,7 +116,7 @@ export const WorkKind = /*@__PURE__*/
|
|
|
115
116
|
* that is not the profile's `CAUSE_NOT_FOUND`, a learning request of a profile whose consent is not
|
|
116
117
|
* confirmed `CAUSE_NO_CONSENT` and one of a profile whose age is to be given again
|
|
117
118
|
* `CAUSE_AGE_NEEDED` — but for `DeleteWork` and the learner's `ListWorks` and `GetWork`, which
|
|
118
|
-
* neither refuses
|
|
119
|
+
* neither refuses —, a request without the right it needs the code `permission_denied`
|
|
119
120
|
* with no `Refusal`, and a request whose form the contract refuses the code `invalid_argument`
|
|
120
121
|
* with no `Refusal`. Each repeats by the state of the profile's works, with no idempotency key.
|
|
121
122
|
* The server reads no work and gives none to an AI provider.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// an eval set, sample by sample — the verdict on each answer slot's truth and on what the models
|
|
7
7
|
// read, an essay's marks by people and by AI, or why a sample was refused —, with no value, text,
|
|
8
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
|
|
9
|
+
// rules of contracts/README.md for the runner's report.
|
|
10
10
|
|
|
11
11
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
12
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -120,7 +120,7 @@ export declare const ReportSchema: GenMessage<Report>;
|
|
|
120
120
|
export declare type Model = Message<"novatrail.eval.v1.Model"> & {
|
|
121
121
|
/**
|
|
122
122
|
* The provider, as the adapters of `tutor` name it: by its code in the admission table, when the
|
|
123
|
-
* table names it (admission/README.md
|
|
123
|
+
* table names it (admission/README.md).
|
|
124
124
|
*
|
|
125
125
|
* @generated from field: string provider = 1;
|
|
126
126
|
*/
|
|
@@ -601,7 +601,8 @@ export enum Refusal {
|
|
|
601
601
|
UNSPECIFIED = 0,
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
|
-
* The sample breaks a rule of
|
|
604
|
+
* The sample breaks a rule of the sample file or one the device and the runner share, or its
|
|
605
|
+
* markup does not fit its task.
|
|
605
606
|
*
|
|
606
607
|
* @generated from enum value: REFUSAL_INVALID = 1;
|
|
607
608
|
*/
|
|
@@ -664,7 +665,7 @@ export enum UncheckedCause {
|
|
|
664
665
|
LIMIT = 2,
|
|
665
666
|
|
|
666
667
|
/**
|
|
667
|
-
* An observation is not valid
|
|
668
|
+
* An observation is not valid by the rules of the observation in contracts/README.md.
|
|
668
669
|
*
|
|
669
670
|
* @generated from enum value: UNCHECKED_CAUSE_INVALID = 3;
|
|
670
671
|
*/
|
|
@@ -680,8 +681,8 @@ export enum UncheckedCause {
|
|
|
680
681
|
/**
|
|
681
682
|
* The check of the answer slot gave no verdict on a valid observation: its predicate gave an
|
|
682
683
|
* error or a result that is not a bool, or ran to its bound of steps or to the clock of the code
|
|
683
|
-
* that gives the verdicts
|
|
684
|
-
* an essay's, whose rubric has no predicate.
|
|
684
|
+
* that gives the verdicts, as the module format's checks set them. The task's, not the model's;
|
|
685
|
+
* never an essay's, whose rubric has no predicate.
|
|
685
686
|
*
|
|
686
687
|
* @generated from enum value: UNCHECKED_CAUSE_CHECK = 5;
|
|
687
688
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// an eval set, sample by sample — the verdict on each answer slot's truth and on what the models
|
|
7
7
|
// read, an essay's marks by people and by AI, or why a sample was refused —, with no value, text,
|
|
8
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
|
|
9
|
+
// rules of contracts/README.md for the runner's report.
|
|
10
10
|
|
|
11
11
|
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
12
12
|
import { file_novatrail_eval_v1_sample } from "./sample_pb.js";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// workbook, as the samples page of `canvas` saves it and the eval runner of `tutor` reads it, one
|
|
7
7
|
// JSON file to a sample, with its markup. Which fields a sample holds, by its purpose and by who
|
|
8
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
|
|
9
|
+
// of contracts/README.md for the sample file.
|
|
10
10
|
|
|
11
11
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
12
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -89,8 +89,8 @@ export declare type Sample = Message<"novatrail.eval.v1.Sample"> & {
|
|
|
89
89
|
/**
|
|
90
90
|
* The version of the set of texts that the samples page showed: the notice of the purpose and
|
|
91
91
|
* the form of consent. 1 to 32 Latin letters, digits, dots and hyphens: from the legal part on,
|
|
92
|
-
* the set's ID and version joined by a hyphen, such as "child-sample-1" (legal/README.md
|
|
93
|
-
*
|
|
92
|
+
* the set's ID and version joined by a hyphen, such as "child-sample-1" (legal/README.md);
|
|
93
|
+
* "none" in a file that the samples page did not write, a synthetic sample among
|
|
94
94
|
* them.
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: string text_set_version = 8;
|
|
@@ -489,7 +489,7 @@ export declare type TaskReference = Message<"novatrail.eval.v1.TaskReference"> &
|
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* The digest of the task's open view: `sha256:` and the SHA-256 of its canonical text, 64
|
|
492
|
-
* lowercase hexadecimal digits, as the module format takes a digest
|
|
492
|
+
* lowercase hexadecimal digits, as the module format takes a digest.
|
|
493
493
|
* Of an instance of a template, the open view with its numbers in place.
|
|
494
494
|
*
|
|
495
495
|
* @generated from field: string open_view_digest = 6;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// workbook, as the samples page of `canvas` saves it and the eval runner of `tutor` reads it, one
|
|
7
7
|
// JSON file to a sample, with its markup. Which fields a sample holds, by its purpose and by who
|
|
8
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
|
|
9
|
+
// of contracts/README.md for the sample file.
|
|
10
10
|
|
|
11
11
|
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
12
12
|
import { file_novatrail_observation_v1_observation } from "../../observation/v1/observation_pb.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// The observation: what AI read in a learner's work, answer slot by answer slot, before any check
|
|
6
6
|
// runs. A reader of `tutor` gives one; `module-kit` joins the observations of two readers into one
|
|
7
7
|
// and gives the verdict on it. What the messages mean, how two observations are joined and which
|
|
8
|
-
// verdict an observation gives are the rules of contracts/README.md
|
|
8
|
+
// verdict an observation gives are the rules of contracts/README.md for the observation.
|
|
9
9
|
|
|
10
10
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
11
11
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -59,7 +59,7 @@ export declare type AnswerSlotObservation = Message<"novatrail.observation.v1.An
|
|
|
59
59
|
read: {
|
|
60
60
|
/**
|
|
61
61
|
* The value as it is written, never empty: the reader does not normalize it
|
|
62
|
-
* (contracts/README.md
|
|
62
|
+
* (contracts/README.md). In a slot bound `sheet`, the text of the essay.
|
|
63
63
|
*
|
|
64
64
|
* @generated from field: string value = 2;
|
|
65
65
|
*/
|
|
@@ -121,7 +121,7 @@ export declare const AnswerSlotPlaceSchema: GenMessage<AnswerSlotPlace>;
|
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* A box on the crop the device sent, in whole thousandths of the crop's height and width, from 0
|
|
124
|
-
* to 1000, as [ymin, xmin, ymax, xmax]: ymin < ymax and xmin < xmax
|
|
124
|
+
* to 1000, as [ymin, xmin, ymax, xmax]: ymin < ymax and xmin < xmax.
|
|
125
125
|
*
|
|
126
126
|
* @generated from message novatrail.observation.v1.CropBox
|
|
127
127
|
*/
|
|
@@ -165,7 +165,7 @@ export declare const CropBoxSchema: GenMessage<CropBox>;
|
|
|
165
165
|
* Why a reading gives an answer slot no value. In a slot whose check gives a verdict, each makes
|
|
166
166
|
* the verdict `unreadable`, with the reason named as the value is, in lower case and without its
|
|
167
167
|
* prefix; an essay that is blank or illegible does not reach the assessment by its rubric
|
|
168
|
-
* (contracts/README.md
|
|
168
|
+
* (contracts/README.md).
|
|
169
169
|
*
|
|
170
170
|
* @generated from enum novatrail.observation.v1.Unreadable
|
|
171
171
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// The observation: what AI read in a learner's work, answer slot by answer slot, before any check
|
|
6
6
|
// runs. A reader of `tutor` gives one; `module-kit` joins the observations of two readers into one
|
|
7
7
|
// and gives the verdict on it. What the messages mean, how two observations are joined and which
|
|
8
|
-
// verdict an observation gives are the rules of contracts/README.md
|
|
8
|
+
// verdict an observation gives are the rules of contracts/README.md for the observation.
|
|
9
9
|
|
|
10
10
|
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
11
11
|
|
|
@@ -53,7 +53,7 @@ export const UnreadableSchema = /*@__PURE__*/
|
|
|
53
53
|
* Why a reading gives an answer slot no value. In a slot whose check gives a verdict, each makes
|
|
54
54
|
* the verdict `unreadable`, with the reason named as the value is, in lower case and without its
|
|
55
55
|
* prefix; an essay that is blank or illegible does not reach the assessment by its rubric
|
|
56
|
-
* (contracts/README.md
|
|
56
|
+
* (contracts/README.md).
|
|
57
57
|
*
|
|
58
58
|
* @generated from enum novatrail.observation.v1.Unreadable
|
|
59
59
|
*/
|