@nakafa/aksara-contracts 0.42.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -1
- package/dist/math/resolution.js +1 -1
- package/dist/math/scene.js +1 -1
- package/dist/preview/artifact.d.ts +44 -0
- package/dist/preview/document.d.ts +36 -12
- package/dist/preview/spec.d.ts +196 -36
- package/dist/preview/target.d.ts +10 -3
- package/dist/program/snapshot/digest.d.ts +1 -1
- package/dist/program/snapshot/digest.js +1 -1
- package/dist/program/snapshot/hash.d.ts +153 -0
- package/dist/program/snapshot/hash.js +31 -0
- package/dist/projection/digest.d.ts +74 -22
- package/dist/projection/material.d.ts +10 -0
- package/dist/projection/material.js +15 -0
- package/dist/projection/question.d.ts +188 -0
- package/dist/projection/spec.d.ts +45 -0
- package/dist/projection/verify.d.ts +127 -75
- package/dist/question/answer.d.ts +141 -0
- package/dist/question/answer.js +238 -0
- package/dist/question/item.d.ts +276 -1
- package/dist/question/item.js +63 -38
- package/dist/question/label.d.ts +3 -0
- package/dist/question/label.js +3 -0
- package/dist/question/points.d.ts +18 -0
- package/dist/question/points.js +22 -0
- package/dist/question/response.d.ts +187 -5
- package/dist/question/response.js +41 -4
- package/dist/question/rubric.d.ts +234 -0
- package/dist/question/rubric.js +182 -0
- package/dist/release/rollback/spec.d.ts +264 -0
- package/dist/release/snapshot/data.d.ts +52 -3
- package/dist/release/snapshot/{program-evidence.d.ts → evidence/program.d.ts} +2 -2
- package/dist/release/snapshot/{program-evidence.js → evidence/program.js} +1 -1
- package/dist/release/snapshot/{quran-evidence.d.ts → evidence/quran.d.ts} +2 -2
- package/dist/release/snapshot/{quran-evidence.js → evidence/quran.js} +1 -1
- package/dist/release/snapshot/{tryout-evidence.d.ts → evidence/tryout.d.ts} +2 -2
- package/dist/release/snapshot/{tryout-evidence.js → evidence/tryout.js} +4 -4
- package/dist/release/snapshot/evidence.d.ts +2 -2
- package/dist/release/snapshot/evidence.js +3 -3
- package/dist/release/snapshot/verify.d.ts +88 -31
- package/dist/runtime/spec.d.ts +25 -22
- package/dist/runtime/verify.d.ts +46 -44
- package/dist/transport/batch.d.ts +88 -0
- package/dist/transport/group.d.ts +288 -9
- package/dist/transport/request.d.ts +1858 -1018
- package/dist/transport/response.d.ts +499 -131
- package/dist/transport/snapshot.d.ts +104 -6
- package/dist/tryout/catalog.d.ts +28 -10
- package/dist/tryout/catalog.js +6 -2
- package/dist/tryout/closure/accounting.d.ts +16 -0
- package/dist/tryout/closure/accounting.js +68 -0
- package/dist/tryout/closure/locale.d.ts +14 -0
- package/dist/tryout/{locale-closure.js → closure/locale.js} +13 -72
- package/dist/tryout/{placement-closure.js → closure/placement.js} +1 -0
- package/dist/tryout/{catalog-hash.d.ts → hash/catalog.d.ts} +25 -20
- package/dist/tryout/{catalog-hash.js → hash/catalog.js} +8 -1
- package/dist/tryout/{content-hash.d.ts → hash/content.d.ts} +43 -0
- package/dist/tryout/{placement-hash.d.ts → hash/placement.d.ts} +1 -1
- package/dist/tryout/{placement-hash.js → hash/placement.js} +2 -1
- package/dist/tryout/placement.d.ts +136 -1
- package/dist/tryout/placement.js +16 -2
- package/dist/tryout/scoring.d.ts +37 -0
- package/dist/tryout/scoring.js +89 -0
- package/dist/tryout/spec.d.ts +32 -4
- package/dist/tryout/spec.js +35 -4
- package/package.json +29 -21
- package/dist/program/snapshot/row-hash.d.ts +0 -155
- package/dist/program/snapshot/row-hash.js +0 -34
- package/dist/tryout/locale-closure.d.ts +0 -20
- /package/dist/math/{arc-precision.d.ts → arc.d.ts} +0 -0
- /package/dist/math/{arc-precision.js → arc.js} +0 -0
- /package/dist/release/snapshot/{evidence-requirement.d.ts → evidence/requirement.d.ts} +0 -0
- /package/dist/release/snapshot/{evidence-requirement.js → evidence/requirement.js} +0 -0
- /package/dist/tryout/{placement-closure.d.ts → closure/placement.d.ts} +0 -0
- /package/dist/tryout/{row-hash.d.ts → digest.d.ts} +0 -0
- /package/dist/tryout/{row-hash.js → digest.js} +0 -0
- /package/dist/tryout/{content-hash.js → hash/content.js} +0 -0
package/README.md
CHANGED
|
@@ -30,7 +30,26 @@ Current consumers use unversioned semantic Interfaces:
|
|
|
30
30
|
- `tryout/catalog` owns minimal catalog node schemas, while `tryout/identity`
|
|
31
31
|
builds their pure lookup identities before complete signed rows are loaded.
|
|
32
32
|
- `projection/material` owns the application-locale material namespace and
|
|
33
|
-
validates every signed route and projection against it.
|
|
33
|
+
validates every signed route and projection against it. Lesson metadata may
|
|
34
|
+
carry an optional `searchTitle` for the HTML title, while `title` stays the
|
|
35
|
+
short navigation name.
|
|
36
|
+
- `question/response` owns the frozen response formats: `single-choice`,
|
|
37
|
+
`multiple-choice`, `category`, `short-answer`, and `rubric`.
|
|
38
|
+
- `question/answer` owns deterministic short-answer and final-answer keys: an
|
|
39
|
+
exact canonical decimal with an optional tolerance and an explicit fraction
|
|
40
|
+
flag, or accepted text with explicit normalization rules. Every runtime
|
|
41
|
+
grades a typed answer only through `matchesAnswerKey`, and reads a typed
|
|
42
|
+
number only through `readNumberAnswer`, the one number grammar.
|
|
43
|
+
- `question/rubric` owns the locale-neutral `QuestionRubricScaleSchema`
|
|
44
|
+
(ordered criteria and levels with points and optional final-answer keys)
|
|
45
|
+
and the Aksara rubric, which labels every criterion and level in every
|
|
46
|
+
active app locale. Each judged criterion maps onto one Effect
|
|
47
|
+
`Decision.rate` decision, and its total is derived, never stored.
|
|
48
|
+
- `question/points` owns a question's worth. Raw, penalized, and IRT scoring
|
|
49
|
+
read it only through `questionPoints`.
|
|
50
|
+
- `tryout/spec` owns the `irt`, `penalized`, and `raw` scoring strategies, the
|
|
51
|
+
per-section marks of a penalized exam, and the `institution`, `subject`, and
|
|
52
|
+
`year` track kinds.
|
|
34
53
|
- `projection/page` owns stable public page identities, localized paths, and
|
|
35
54
|
signed metadata for human, agent, and sitemap delivery.
|
|
36
55
|
- `math/visual` owns the unversioned, renderer-neutral plane and space scene
|
package/dist/math/resolution.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { arcCurvatureUnresolved, arcEndpointAxesUnresolved, arcEndpointsUnresolved, } from "#contracts/math/arc
|
|
1
|
+
import { arcCurvatureUnresolved, arcEndpointAxesUnresolved, arcEndpointsUnresolved, } from "#contracts/math/arc";
|
|
2
2
|
import { concentricRadiusCollisionPaths, coordinateCollisionPaths, } from "#contracts/math/collision";
|
|
3
3
|
import { pathAxes } from "#contracts/math/coordinate";
|
|
4
4
|
import { axisEnvelopePairs, axisSpan, measureUnresolved, polygonAltitudeUnresolved, quadraticCurvatureUnresolved, renderThreshold, spanUnresolved, visiblePathResolvable, } from "#contracts/math/precision";
|
package/dist/math/scene.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BigDecimal } from "effect";
|
|
2
|
-
import { arcCurvatureUnresolved, arcEndpointsUnresolved, } from "#contracts/math/arc
|
|
2
|
+
import { arcCurvatureUnresolved, arcEndpointsUnresolved, } from "#contracts/math/arc";
|
|
3
3
|
import { clippedPathCoordinates, sceneCoordinate as coordinate, frameCoordinates, pointCoordinates, } from "#contracts/math/coordinate";
|
|
4
4
|
import { cuboidExtents, quadraticExtrema, radialOffsets, } from "#contracts/math/extent";
|
|
5
5
|
import { axisSpan, measureUnresolved, quadraticCurvatureUnresolved, spanUnresolved, } from "#contracts/math/precision";
|
|
@@ -68,6 +68,7 @@ export declare const PreviewArtifactSchema: Schema.Struct<{
|
|
|
68
68
|
readonly name: Schema.String;
|
|
69
69
|
}>>;
|
|
70
70
|
readonly description: Schema.optional<Schema.String>;
|
|
71
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
71
72
|
readonly subject: Schema.optional<Schema.String>;
|
|
72
73
|
readonly title: Schema.String;
|
|
73
74
|
}>;
|
|
@@ -133,6 +134,49 @@ export declare const PreviewArtifactSchema: Schema.Struct<{
|
|
|
133
134
|
readonly optionKey: Schema.String;
|
|
134
135
|
readonly order: Schema.Int;
|
|
135
136
|
}>>;
|
|
137
|
+
}>, Schema.Struct<{
|
|
138
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
139
|
+
readonly criterionKey: Schema.String;
|
|
140
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
141
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
142
|
+
readonly kind: Schema.Literal<"number">;
|
|
143
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
144
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
145
|
+
readonly value: Schema.String;
|
|
146
|
+
}>>;
|
|
147
|
+
readonly value: Schema.String;
|
|
148
|
+
}>, Schema.Struct<{
|
|
149
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
150
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
151
|
+
readonly ignoreCase: Schema.Boolean;
|
|
152
|
+
readonly kind: Schema.Literal<"text">;
|
|
153
|
+
}>]>>;
|
|
154
|
+
readonly order: Schema.Int;
|
|
155
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
156
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
157
|
+
readonly levelKey: Schema.String;
|
|
158
|
+
readonly order: Schema.Int;
|
|
159
|
+
readonly points: Schema.Int;
|
|
160
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
161
|
+
}>>;
|
|
162
|
+
}>>;
|
|
163
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
164
|
+
}>, Schema.Struct<{
|
|
165
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
166
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
167
|
+
readonly kind: Schema.Literal<"number">;
|
|
168
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
169
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
170
|
+
readonly value: Schema.String;
|
|
171
|
+
}>>;
|
|
172
|
+
readonly value: Schema.String;
|
|
173
|
+
}>, Schema.Struct<{
|
|
174
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
175
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
176
|
+
readonly ignoreCase: Schema.Boolean;
|
|
177
|
+
readonly kind: Schema.Literal<"text">;
|
|
178
|
+
}>]>;
|
|
179
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
136
180
|
}>, Schema.Struct<{
|
|
137
181
|
readonly kind: Schema.Literal<"single-choice">;
|
|
138
182
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
@@ -97,7 +97,7 @@ export declare const QuestionPromptPreviewDocumentSchema: Schema.Struct<{
|
|
|
97
97
|
readonly kind: Schema.Literal<"exam">;
|
|
98
98
|
readonly order: Schema.Finite;
|
|
99
99
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
100
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
100
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
101
101
|
}>;
|
|
102
102
|
readonly placement: Schema.Struct<{
|
|
103
103
|
readonly answerArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -117,6 +117,7 @@ export declare const QuestionPromptPreviewDocumentSchema: Schema.Struct<{
|
|
|
117
117
|
readonly kind: Schema.Literal<"fixed">;
|
|
118
118
|
readonly language: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraDeliveryLanguage">;
|
|
119
119
|
}>]>;
|
|
120
|
+
readonly points: Schema.optionalKey<Schema.Int>;
|
|
120
121
|
readonly questionArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
121
122
|
readonly questionContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
122
123
|
readonly questionOrder: Schema.Finite;
|
|
@@ -144,6 +145,11 @@ export declare const QuestionPromptPreviewDocumentSchema: Schema.Struct<{
|
|
|
144
145
|
readonly countryKey: Schema.String;
|
|
145
146
|
readonly examKey: Schema.String;
|
|
146
147
|
readonly kind: Schema.Literal<"section">;
|
|
148
|
+
readonly marks: Schema.optionalKey<Schema.Struct<{
|
|
149
|
+
readonly blank: Schema.Int;
|
|
150
|
+
readonly correct: Schema.Int;
|
|
151
|
+
readonly wrong: Schema.Int;
|
|
152
|
+
}>>;
|
|
147
153
|
readonly order: Schema.Finite;
|
|
148
154
|
readonly publicPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
149
155
|
readonly questionCount: Schema.Finite;
|
|
@@ -173,7 +179,7 @@ export declare const QuestionPromptPreviewDocumentSchema: Schema.Struct<{
|
|
|
173
179
|
readonly order: Schema.Finite;
|
|
174
180
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
175
181
|
readonly questionCount: Schema.Finite;
|
|
176
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
182
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
177
183
|
readonly sectionCount: Schema.Finite;
|
|
178
184
|
readonly setKey: Schema.String;
|
|
179
185
|
readonly trackKey: Schema.String;
|
|
@@ -200,7 +206,7 @@ export declare const QuestionPromptPreviewDocumentSchema: Schema.Struct<{
|
|
|
200
206
|
readonly sectionCount: Schema.Finite;
|
|
201
207
|
readonly setCount: Schema.Finite;
|
|
202
208
|
readonly trackKey: Schema.String;
|
|
203
|
-
readonly trackKind: Schema.Literals<readonly ["subject", "year"]>;
|
|
209
|
+
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
204
210
|
readonly visibleSectionCount: Schema.Finite;
|
|
205
211
|
}>;
|
|
206
212
|
}>;
|
|
@@ -239,7 +245,7 @@ export declare const QuestionAnswerPreviewDocumentSchema: Schema.Struct<{
|
|
|
239
245
|
readonly kind: Schema.Literal<"exam">;
|
|
240
246
|
readonly order: Schema.Finite;
|
|
241
247
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
242
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
248
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
243
249
|
}>;
|
|
244
250
|
readonly placement: Schema.Struct<{
|
|
245
251
|
readonly answerArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -259,6 +265,7 @@ export declare const QuestionAnswerPreviewDocumentSchema: Schema.Struct<{
|
|
|
259
265
|
readonly kind: Schema.Literal<"fixed">;
|
|
260
266
|
readonly language: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraDeliveryLanguage">;
|
|
261
267
|
}>]>;
|
|
268
|
+
readonly points: Schema.optionalKey<Schema.Int>;
|
|
262
269
|
readonly questionArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
263
270
|
readonly questionContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
264
271
|
readonly questionOrder: Schema.Finite;
|
|
@@ -286,6 +293,11 @@ export declare const QuestionAnswerPreviewDocumentSchema: Schema.Struct<{
|
|
|
286
293
|
readonly countryKey: Schema.String;
|
|
287
294
|
readonly examKey: Schema.String;
|
|
288
295
|
readonly kind: Schema.Literal<"section">;
|
|
296
|
+
readonly marks: Schema.optionalKey<Schema.Struct<{
|
|
297
|
+
readonly blank: Schema.Int;
|
|
298
|
+
readonly correct: Schema.Int;
|
|
299
|
+
readonly wrong: Schema.Int;
|
|
300
|
+
}>>;
|
|
289
301
|
readonly order: Schema.Finite;
|
|
290
302
|
readonly publicPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
291
303
|
readonly questionCount: Schema.Finite;
|
|
@@ -315,7 +327,7 @@ export declare const QuestionAnswerPreviewDocumentSchema: Schema.Struct<{
|
|
|
315
327
|
readonly order: Schema.Finite;
|
|
316
328
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
317
329
|
readonly questionCount: Schema.Finite;
|
|
318
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
330
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
319
331
|
readonly sectionCount: Schema.Finite;
|
|
320
332
|
readonly setKey: Schema.String;
|
|
321
333
|
readonly trackKey: Schema.String;
|
|
@@ -342,7 +354,7 @@ export declare const QuestionAnswerPreviewDocumentSchema: Schema.Struct<{
|
|
|
342
354
|
readonly sectionCount: Schema.Finite;
|
|
343
355
|
readonly setCount: Schema.Finite;
|
|
344
356
|
readonly trackKey: Schema.String;
|
|
345
|
-
readonly trackKind: Schema.Literals<readonly ["subject", "year"]>;
|
|
357
|
+
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
346
358
|
readonly visibleSectionCount: Schema.Finite;
|
|
347
359
|
}>;
|
|
348
360
|
}>;
|
|
@@ -437,7 +449,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
437
449
|
readonly kind: Schema.Literal<"exam">;
|
|
438
450
|
readonly order: Schema.Finite;
|
|
439
451
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
440
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
452
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
441
453
|
}>;
|
|
442
454
|
readonly placement: Schema.Struct<{
|
|
443
455
|
readonly answerArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -457,6 +469,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
457
469
|
readonly kind: Schema.Literal<"fixed">;
|
|
458
470
|
readonly language: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraDeliveryLanguage">;
|
|
459
471
|
}>]>;
|
|
472
|
+
readonly points: Schema.optionalKey<Schema.Int>;
|
|
460
473
|
readonly questionArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
461
474
|
readonly questionContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
462
475
|
readonly questionOrder: Schema.Finite;
|
|
@@ -484,6 +497,11 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
484
497
|
readonly countryKey: Schema.String;
|
|
485
498
|
readonly examKey: Schema.String;
|
|
486
499
|
readonly kind: Schema.Literal<"section">;
|
|
500
|
+
readonly marks: Schema.optionalKey<Schema.Struct<{
|
|
501
|
+
readonly blank: Schema.Int;
|
|
502
|
+
readonly correct: Schema.Int;
|
|
503
|
+
readonly wrong: Schema.Int;
|
|
504
|
+
}>>;
|
|
487
505
|
readonly order: Schema.Finite;
|
|
488
506
|
readonly publicPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
489
507
|
readonly questionCount: Schema.Finite;
|
|
@@ -513,7 +531,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
513
531
|
readonly order: Schema.Finite;
|
|
514
532
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
515
533
|
readonly questionCount: Schema.Finite;
|
|
516
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
534
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
517
535
|
readonly sectionCount: Schema.Finite;
|
|
518
536
|
readonly setKey: Schema.String;
|
|
519
537
|
readonly trackKey: Schema.String;
|
|
@@ -540,7 +558,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
540
558
|
readonly sectionCount: Schema.Finite;
|
|
541
559
|
readonly setCount: Schema.Finite;
|
|
542
560
|
readonly trackKey: Schema.String;
|
|
543
|
-
readonly trackKind: Schema.Literals<readonly ["subject", "year"]>;
|
|
561
|
+
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
544
562
|
readonly visibleSectionCount: Schema.Finite;
|
|
545
563
|
}>;
|
|
546
564
|
}>;
|
|
@@ -576,7 +594,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
576
594
|
readonly kind: Schema.Literal<"exam">;
|
|
577
595
|
readonly order: Schema.Finite;
|
|
578
596
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
579
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
597
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
580
598
|
}>;
|
|
581
599
|
readonly placement: Schema.Struct<{
|
|
582
600
|
readonly answerArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -596,6 +614,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
596
614
|
readonly kind: Schema.Literal<"fixed">;
|
|
597
615
|
readonly language: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraDeliveryLanguage">;
|
|
598
616
|
}>]>;
|
|
617
|
+
readonly points: Schema.optionalKey<Schema.Int>;
|
|
599
618
|
readonly questionArtifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
|
|
600
619
|
readonly questionContentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
|
|
601
620
|
readonly questionOrder: Schema.Finite;
|
|
@@ -623,6 +642,11 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
623
642
|
readonly countryKey: Schema.String;
|
|
624
643
|
readonly examKey: Schema.String;
|
|
625
644
|
readonly kind: Schema.Literal<"section">;
|
|
645
|
+
readonly marks: Schema.optionalKey<Schema.Struct<{
|
|
646
|
+
readonly blank: Schema.Int;
|
|
647
|
+
readonly correct: Schema.Int;
|
|
648
|
+
readonly wrong: Schema.Int;
|
|
649
|
+
}>>;
|
|
626
650
|
readonly order: Schema.Finite;
|
|
627
651
|
readonly publicPath: Schema.optional<Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">>;
|
|
628
652
|
readonly questionCount: Schema.Finite;
|
|
@@ -652,7 +676,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
652
676
|
readonly order: Schema.Finite;
|
|
653
677
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
654
678
|
readonly questionCount: Schema.Finite;
|
|
655
|
-
readonly scoringStrategy: Schema.Literals<readonly ["irt", "raw"]>;
|
|
679
|
+
readonly scoringStrategy: Schema.Literals<readonly ["irt", "penalized", "raw"]>;
|
|
656
680
|
readonly sectionCount: Schema.Finite;
|
|
657
681
|
readonly setKey: Schema.String;
|
|
658
682
|
readonly trackKey: Schema.String;
|
|
@@ -679,7 +703,7 @@ export declare const PreviewDocumentSchema: Schema.Union<readonly [Schema.Struct
|
|
|
679
703
|
readonly sectionCount: Schema.Finite;
|
|
680
704
|
readonly setCount: Schema.Finite;
|
|
681
705
|
readonly trackKey: Schema.String;
|
|
682
|
-
readonly trackKind: Schema.Literals<readonly ["subject", "year"]>;
|
|
706
|
+
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
683
707
|
readonly visibleSectionCount: Schema.Finite;
|
|
684
708
|
}>;
|
|
685
709
|
}>;
|