@intellectif/lk-core 1.4.0 → 1.5.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/CHANGELOG.md +45 -0
- package/README.md +2 -0
- package/dist/{ai-CnmLPMzd.d.cts → ai-BYryFkF9.d.cts} +199 -5
- package/dist/ai-BYryFkF9.d.cts.map +1 -0
- package/dist/{ai-CnmLPMzd.d.ts → ai-BYryFkF9.d.ts} +199 -5
- package/dist/ai-BYryFkF9.d.ts.map +1 -0
- package/dist/ai-check.cjs +175 -17
- package/dist/ai-check.cjs.map +1 -1
- package/dist/ai-check.d.cts +13 -5
- package/dist/ai-check.d.cts.map +1 -1
- package/dist/ai-check.d.ts +13 -5
- package/dist/ai-check.d.ts.map +1 -1
- package/dist/ai-check.js +175 -17
- package/dist/ai-check.js.map +1 -1
- package/dist/{ai-writing-G6tnCGzw.cjs → ai-writing-Cen7-3qs.cjs} +412 -61
- package/dist/ai-writing-Cen7-3qs.cjs.map +1 -0
- package/dist/{ai-writing-CPpH9Qxq.js → ai-writing-D8PdhJJz.js} +395 -62
- package/dist/ai-writing-D8PdhJJz.js.map +1 -0
- package/dist/{index-BAfEHCnD.d.cts → index-Bg0aeWtM.d.cts} +327 -3
- package/dist/index-Bg0aeWtM.d.cts.map +1 -0
- package/dist/{index-2nigSf4N.d.cts → index-CxpiWedW.d.ts} +6 -2
- package/dist/index-CxpiWedW.d.ts.map +1 -0
- package/dist/{index-BqMXWuNC.d.cts → index-D7R3Ll8R.d.cts} +2 -2
- package/dist/{index-BqMXWuNC.d.cts.map → index-D7R3Ll8R.d.cts.map} +1 -1
- package/dist/{index-CVWvymVb.d.ts → index-DUaW1Tj5.d.ts} +327 -3
- package/dist/index-DUaW1Tj5.d.ts.map +1 -0
- package/dist/{index-B54baFUA.d.ts → index-qMbxed1B.d.cts} +6 -2
- package/dist/index-qMbxed1B.d.cts.map +1 -0
- package/dist/{index-CcHDTxIZ.d.ts → index-wMc1E_aM.d.ts} +2 -2
- package/dist/{index-CcHDTxIZ.d.ts.map → index-wMc1E_aM.d.ts.map} +1 -1
- package/dist/index.cjs +31 -130
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +85 -95
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +85 -95
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -117
- package/dist/index.js.map +1 -1
- package/dist/{item-group-DroFXgLb.cjs → item-group-DEB7nLID.cjs} +2 -2
- package/dist/{item-group-DroFXgLb.cjs.map → item-group-DEB7nLID.cjs.map} +1 -1
- package/dist/{item-group-DXiR8nOr.js → item-group-DdSUCUjM.js} +2 -2
- package/dist/{item-group-DXiR8nOr.js.map → item-group-DdSUCUjM.js.map} +1 -1
- package/dist/{registry-DVi0LR_i.cjs → registry-Ce00A_OW.cjs} +184 -4
- package/dist/registry-Ce00A_OW.cjs.map +1 -0
- package/dist/{registry-Dsx9mNsS.js → registry-DaZRpqjW.js} +155 -5
- package/dist/registry-DaZRpqjW.js.map +1 -0
- package/dist/{schemas-Bdw0nGPo.js → schemas-BioKFf3F.js} +3 -3
- package/dist/{schemas-Bdw0nGPo.js.map → schemas-BioKFf3F.js.map} +1 -1
- package/dist/{schemas-DVbAOrtd.cjs → schemas-DksueYsu.cjs} +3 -3
- package/dist/{schemas-DVbAOrtd.cjs.map → schemas-DksueYsu.cjs.map} +1 -1
- package/dist/schemas.cjs +2 -2
- package/dist/schemas.d.cts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +2 -2
- package/dist/{scoring-BZqUkuDF.js → scoring-BKNNTz-s.js} +657 -3
- package/dist/scoring-BKNNTz-s.js.map +1 -0
- package/dist/{scoring-B2_HEhMT.cjs → scoring-lKQVYsxy.cjs} +722 -2
- package/dist/scoring-lKQVYsxy.cjs.map +1 -0
- package/dist/scoring.cjs +8 -2
- package/dist/scoring.d.cts +3 -3
- package/dist/scoring.d.ts +3 -3
- package/dist/scoring.js +3 -3
- package/dist/{xapi-DNzkSJ0S.cjs → xapi-NYrTlpID.cjs} +2 -2
- package/dist/{xapi-DNzkSJ0S.cjs.map → xapi-NYrTlpID.cjs.map} +1 -1
- package/dist/{xapi-CMTph7wG.js → xapi-wR6gu4qS.js} +2 -2
- package/dist/{xapi-CMTph7wG.js.map → xapi-wR6gu4qS.js.map} +1 -1
- package/dist/xapi.cjs +1 -1
- package/dist/xapi.d.cts +1 -1
- package/dist/xapi.d.ts +1 -1
- package/dist/xapi.js +1 -2
- package/package.json +2 -2
- package/vectors/README.md +24 -1
- package/vectors/scoring.json +18182 -1
- package/dist/ai-CnmLPMzd.d.cts.map +0 -1
- package/dist/ai-CnmLPMzd.d.ts.map +0 -1
- package/dist/ai-writing-CPpH9Qxq.js.map +0 -1
- package/dist/ai-writing-G6tnCGzw.cjs.map +0 -1
- package/dist/index-2nigSf4N.d.cts.map +0 -1
- package/dist/index-B54baFUA.d.ts.map +0 -1
- package/dist/index-BAfEHCnD.d.cts.map +0 -1
- package/dist/index-CVWvymVb.d.ts.map +0 -1
- package/dist/registry-DVi0LR_i.cjs.map +0 -1
- package/dist/registry-Dsx9mNsS.js.map +0 -1
- package/dist/scoring-B2_HEhMT.cjs.map +0 -1
- package/dist/scoring-BZqUkuDF.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,81 +1,9 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { $ as
|
|
3
|
-
import { C as validateItemScoringPolicy, S as
|
|
4
|
-
import { a as INTERACTIVE_VIDEO_ITEM_TYPES, c as TIMELINE_MAX_QUIZZES, i as validateItemGroup, l as TIMELINE_MAX_TITLE_LENGTH, n as RedactedItemGroupSchema, o as TIMELINE_MAX_CHAPTERS, s as TIMELINE_MAX_ITEMS, u as isInteractiveVideoItemType } from "./item-group-
|
|
5
|
-
import { a as fillInTheBlanksJsonSchema, c as jsonSchemaFor, d as stimulusJsonSchema, f as writtenResponseJsonSchema, i as dictationJsonSchema, l as multipleChoiceJsonSchema, n as validateMedia, o as gapSelectJsonSchema, r as validateOptionMedia, s as itemGroupJsonSchema, t as validateActivity, u as readAloudJsonSchema } from "./schemas-
|
|
6
|
-
import { a as validateXAPIStatement, i as XAPI_VERB_DISPLAY, n as xapiDefinitionFor, r as XAPIVerb, t as xAPIBuilder } from "./xapi-
|
|
7
|
-
//#region src/content-hash.ts
|
|
8
|
-
/**
|
|
9
|
-
* Content fingerprinting — "is this the same content the learner was served?"
|
|
10
|
-
*
|
|
11
|
-
* A recorded attempt outlives the content it was taken against. Papers get
|
|
12
|
-
* corrected, a typo is fixed, an option is reworded — and six months later a
|
|
13
|
-
* remark, an appeal, or a per-item analysis is run against content that is no
|
|
14
|
-
* longer what the learner saw. Nothing warns anybody, because the ids all still
|
|
15
|
-
* match. A fingerprint stored with the attempt turns that silent drift into a
|
|
16
|
-
* question somebody can answer.
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* Deterministic JSON: object keys sorted, arrays left in order, `undefined`
|
|
20
|
-
* omitted from objects (matching `JSON.stringify`) and rendered as `null`
|
|
21
|
-
* inside arrays.
|
|
22
|
-
*
|
|
23
|
-
* Key order is the whole point. Two objects that differ only in the order
|
|
24
|
-
* their keys happened to be written are the SAME content, and a fingerprint
|
|
25
|
-
* that disagreed would raise a false alarm every time a payload made a
|
|
26
|
-
* round-trip through a different serializer.
|
|
27
|
-
*/
|
|
28
|
-
function canonicalJson(value, seen = /* @__PURE__ */ new Set()) {
|
|
29
|
-
if (value === null) return "null";
|
|
30
|
-
if (typeof value === "number") return Number.isFinite(value) ? JSON.stringify(value === 0 ? 0 : value) : `"#${String(value)}"`;
|
|
31
|
-
if (typeof value === "string" || typeof value === "boolean") return JSON.stringify(value);
|
|
32
|
-
if (typeof value === "bigint") return `"#${value.toString()}n"`;
|
|
33
|
-
if (typeof value === "object") {
|
|
34
|
-
if (seen.has(value)) throw new Error("canonicalJson: the value contains a circular reference and cannot be fingerprinted.");
|
|
35
|
-
seen.add(value);
|
|
36
|
-
try {
|
|
37
|
-
if (Array.isArray(value)) return `[${value.map((element) => element === void 0 ? "null" : canonicalJson(element, seen)).join(",")}]`;
|
|
38
|
-
const source = value;
|
|
39
|
-
const parts = [];
|
|
40
|
-
for (const key of Object.keys(source).sort()) {
|
|
41
|
-
const entry = source[key];
|
|
42
|
-
if (entry === void 0) continue;
|
|
43
|
-
parts.push(`${JSON.stringify(key)}:${canonicalJson(entry, seen)}`);
|
|
44
|
-
}
|
|
45
|
-
return `{${parts.join(",")}}`;
|
|
46
|
-
} finally {
|
|
47
|
-
seen.delete(value);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
return "null";
|
|
51
|
-
}
|
|
52
|
-
const FNV_OFFSET = 14695981039346656037n;
|
|
53
|
-
const FNV_PRIME = 1099511628211n;
|
|
54
|
-
const MASK64 = (1n << 64n) - 1n;
|
|
55
|
-
/**
|
|
56
|
-
* FNV-1a over the UTF-8 bytes of `input`, as 16 lowercase hex digits.
|
|
57
|
-
*
|
|
58
|
-
* **This is a change-detection fingerprint, not a tamper-evident signature.**
|
|
59
|
-
* It is deterministic across runtimes and dependency-free, which is what makes
|
|
60
|
-
* it usable in a stored grade record — but an adversary who can edit content
|
|
61
|
-
* can also, with effort, preserve the fingerprint. If you need the stronger
|
|
62
|
-
* property, sign the plan with a key the content author does not hold; this
|
|
63
|
-
* exists to catch honest edits, which is what actually happens.
|
|
64
|
-
*/
|
|
65
|
-
function fingerprint(input) {
|
|
66
|
-
const bytes = new TextEncoder().encode(input);
|
|
67
|
-
let hash = FNV_OFFSET;
|
|
68
|
-
for (const byte of bytes) hash = (hash ^ BigInt(byte)) * FNV_PRIME & MASK64;
|
|
69
|
-
return hash.toString(16).padStart(16, "0");
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Fingerprints any JSON-serialisable value through {@link canonicalJson}, so
|
|
73
|
-
* the result depends on the content and not on how it was written.
|
|
74
|
-
*/
|
|
75
|
-
function contentHash(value) {
|
|
76
|
-
return fingerprint(canonicalJson(value));
|
|
77
|
-
}
|
|
78
|
-
//#endregion
|
|
1
|
+
import { A as checkAiCoaching, B as checkAiExplanation, C as createItemGroupDraft, D as AI_COACHING_MAX_TIP_LENGTH, E as validateItemGroupDraft, F as aiExplanationRequest, H as hintRevealsAnswer, I as aiGradeOf, L as aiHintRequest, M as AI_HINT_TYPES, N as AI_TEXT_MAX_LENGTH, O as AI_COACHING_MAX_WORDS, P as aiAllowedByContent, R as aiSupports, S as createInteractiveVideoDraft, T as critiqueItemGroupDraft, U as readAiTextResult, V as checkAiHint, W as AI_MATERIAL_MAX_LENGTH, _ as aiCritiqueRequest, a as checkAiGrading, b as critiqueDraft, c as AI_DRAFTS_MAX_COUNT, d as aiDraftsRequest, f as checkAiDrafts, g as AI_CRITIQUE_MAX_FINDINGS, h as AI_CRITIQUE_MAX_FIELD_LENGTH, i as aiGradingRequest, j as AI_EXPLANATION_TYPES, k as aiCoachingRequest, l as AI_DRAFTS_MAX_REPAIRS, m as interactiveVideoFromDrafts, n as checkAiWritingFeedback, o as AI_WRITING_MAX_CORRECTIONS, p as generateDrafts, r as AI_GRADING_PROBABILITY_TOLERANCE, s as AI_WRITING_MAX_FIELD_LENGTH, t as aiWritingFeedbackRequest, u as aiDraftsRepairRequest, v as checkAiCritique, w as critiqueDrafts, x as validateDraft, y as createDraft, z as buildAiFacts } from "./ai-writing-D8PdhJJz.js";
|
|
2
|
+
import { $ as RedactedScoringError, A as levenshteinDistance, C as READ_ALOUD_MAX_TAKES, I as countWords, Q as DeferredScoringError, S as READ_ALOUD_MAX_SECONDS, T as SPEECH_ASSESSMENT_MAX_WORDS, Z as ActivitySchemaError, a as readSchema, at as DICTATION_MAX_ACCEPTED_TRANSCRIPTS, b as READ_ALOUD_MAX_DIMENSION_WEIGHT, c as dictationType, ct as DICTATION_MAX_TEXT_LENGTH, d as multipleChoiceType, et as UnknownActivityTypeError, f as readAloudType, h as defineActivityType, ht as isBuiltInActivityType, it as dictationReferenceWords, j as matchText, l as fillInTheBlanksType, lt as DICTATION_MAX_TRANSCRIPT_LENGTH, m as guardOf, n as registerActivityType, nt as alignDictation, ot as DICTATION_MAX_EQUIVALENCES, p as writtenResponseType, pt as BUILT_IN_ACTIVITY_TYPES, r as registeredActivityTypes, s as MEDIA_FIELD_POLICY, st as DICTATION_MAX_EQUIVALENCE_LENGTH, t as getActivityTypeDescriptor, u as gapSelectType, x as READ_ALOUD_MAX_REFERENCE_LENGTH } from "./registry-DaZRpqjW.js";
|
|
3
|
+
import { A as DEFAULT_ITEM_SCORING_POLICY, C as contentHash, D as classifyBand, E as computePassThreshold, M as resolveItemScoringPolicy, N as scoreTries, O as gte, P as validateItemScoringPolicy, S as canonicalJson, T as DEFAULT_PASS_THRESHOLD, _ as gradeFromRubric, a as inspectWav, b as calibrationReport, c as validateSpeechAssessment, d as inAuditSample, f as outcomeFromRoutedGrade, g as gradeFromJudgement, h as seededShuffle, i as outcomeFromUnscorable, j as ITEM_SCORING_MAX_RETRIES, k as roundGrade, l as diffDictationChars, m as hashSeed, n as evaluateTries, o as gradeReadAloud, p as routeGrade, r as score, s as alignReadAloud, t as evaluate, u as composeAssessmentScore, v as hasGrade, w as fingerprint, x as graderConfiguration, y as outcomeFromGrade } from "./scoring-BKNNTz-s.js";
|
|
4
|
+
import { a as INTERACTIVE_VIDEO_ITEM_TYPES, c as TIMELINE_MAX_QUIZZES, i as validateItemGroup, l as TIMELINE_MAX_TITLE_LENGTH, n as RedactedItemGroupSchema, o as TIMELINE_MAX_CHAPTERS, s as TIMELINE_MAX_ITEMS, u as isInteractiveVideoItemType } from "./item-group-DdSUCUjM.js";
|
|
5
|
+
import { a as fillInTheBlanksJsonSchema, c as jsonSchemaFor, d as stimulusJsonSchema, f as writtenResponseJsonSchema, i as dictationJsonSchema, l as multipleChoiceJsonSchema, n as validateMedia, o as gapSelectJsonSchema, r as validateOptionMedia, s as itemGroupJsonSchema, t as validateActivity, u as readAloudJsonSchema } from "./schemas-BioKFf3F.js";
|
|
6
|
+
import { a as validateXAPIStatement, i as XAPI_VERB_DISPLAY, n as xapiDefinitionFor, r as XAPIVerb, t as xAPIBuilder } from "./xapi-wR6gu4qS.js";
|
|
79
7
|
//#region src/delivery.ts
|
|
80
8
|
/**
|
|
81
9
|
* The policy that restricts nothing: every setting `true`. It is what an absent
|
|
@@ -231,44 +159,6 @@ function validateDeliveryPolicy(policy) {
|
|
|
231
159
|
};
|
|
232
160
|
}
|
|
233
161
|
//#endregion
|
|
234
|
-
//#region src/shuffle.ts
|
|
235
|
-
/**
|
|
236
|
-
* Seeded, deterministic shuffling — the ONE algorithm every presentation-order
|
|
237
|
-
* decision in the SDK goes through: option order in a multiple-choice item,
|
|
238
|
-
* item order inside an item group, entry order in a sequence. A server and a
|
|
239
|
-
* client holding the same seed derive the same order, and an order recorded
|
|
240
|
-
* against an attempt can be rebuilt later from nothing but its seed.
|
|
241
|
-
*
|
|
242
|
-
* STABILITY: the hash and the generator are part of the wire contract. A
|
|
243
|
-
* stored attempt may hold only a seed and rely on this function to reproduce
|
|
244
|
-
* the order it presented; changing either would silently re-order every
|
|
245
|
-
* recorded attempt. Any change here is a package major, and the pinned
|
|
246
|
-
* permutation test exists so an accidental one fails loudly.
|
|
247
|
-
*/
|
|
248
|
-
/** FNV-1a hash of a string → unsigned 32-bit integer. */
|
|
249
|
-
function hashSeed(input) {
|
|
250
|
-
let h = 2166136261;
|
|
251
|
-
for (let i = 0; i < input.length; i += 1) {
|
|
252
|
-
h ^= input.charCodeAt(i);
|
|
253
|
-
h = Math.imul(h, 16777619) >>> 0;
|
|
254
|
-
}
|
|
255
|
-
return h;
|
|
256
|
-
}
|
|
257
|
-
/** LCG-driven Fisher–Yates over a 32-bit seed; returns a permutation (no loss, no duplicate). */
|
|
258
|
-
function shuffleWithSeed(items, seed, version) {
|
|
259
|
-
const out = [...items];
|
|
260
|
-
let s = seed >>> 0 || 1;
|
|
261
|
-
for (let i = out.length - 1; i > 0; i -= 1) {
|
|
262
|
-
s = Math.imul(s, 1664525) + 1013904223 >>> 0;
|
|
263
|
-
const j = version === 2 ? Math.floor(s / 4294967296 * (i + 1)) : s % (i + 1);
|
|
264
|
-
[out[i], out[j]] = [out[j], out[i]];
|
|
265
|
-
}
|
|
266
|
-
return out;
|
|
267
|
-
}
|
|
268
|
-
function seededShuffle(items, seed, options = {}) {
|
|
269
|
-
return shuffleWithSeed(items, hashSeed(seed), options.version ?? 1);
|
|
270
|
-
}
|
|
271
|
-
//#endregion
|
|
272
162
|
//#region src/item-group.ts
|
|
273
163
|
/** Narrows a sequence entry to an item group. */
|
|
274
164
|
function isItemGroup(entry) {
|
|
@@ -924,6 +814,8 @@ function redactValue(value, policy, reveal) {
|
|
|
924
814
|
if (keepField(classification, reveal)) output[key] = fieldValue;
|
|
925
815
|
continue;
|
|
926
816
|
}
|
|
817
|
+
const guard = guardOf(classification);
|
|
818
|
+
if (guard !== void 0 && !guard(fieldValue)) continue;
|
|
927
819
|
const nested = redactValue(fieldValue, classification, reveal);
|
|
928
820
|
if (nested !== void 0 && !isEmptyObject(nested)) output[key] = nested;
|
|
929
821
|
}
|
|
@@ -1157,6 +1049,6 @@ function composeTimelineScore(entryKey, items, policy) {
|
|
|
1157
1049
|
}], policy);
|
|
1158
1050
|
}
|
|
1159
1051
|
//#endregion
|
|
1160
|
-
export { AI_COACHING_MAX_TIP_LENGTH, AI_COACHING_MAX_WORDS, AI_CRITIQUE_MAX_FIELD_LENGTH, AI_CRITIQUE_MAX_FINDINGS, AI_DRAFTS_MAX_COUNT, AI_DRAFTS_MAX_REPAIRS, AI_EXPLANATION_TYPES, AI_HINT_TYPES, AI_MATERIAL_MAX_LENGTH, AI_TEXT_MAX_LENGTH, AI_WRITING_MAX_CORRECTIONS, AI_WRITING_MAX_FIELD_LENGTH, ActivitySchemaError, BUILT_IN_ACTIVITY_TYPES, DEFAULT_ITEM_SCORING_POLICY, DEFAULT_PASS_THRESHOLD, DICTATION_MAX_ACCEPTED_TRANSCRIPTS, DICTATION_MAX_EQUIVALENCES, DICTATION_MAX_EQUIVALENCE_LENGTH, DICTATION_MAX_TEXT_LENGTH, DICTATION_MAX_TRANSCRIPT_LENGTH, DeferredScoringError, INTERACTIVE_VIDEO_ITEM_TYPES, ITEM_SCORING_MAX_RETRIES, OPEN_DELIVERY_POLICY, READ_ALOUD_MAX_DIMENSION_WEIGHT, READ_ALOUD_MAX_REFERENCE_LENGTH, READ_ALOUD_MAX_SECONDS, READ_ALOUD_MAX_TAKES, RedactedScoringError, SPEECH_ASSESSMENT_MAX_WORDS, TIMELINE_MAX_CHAPTERS, TIMELINE_MAX_ITEMS, TIMELINE_MAX_QUIZZES, TIMELINE_MAX_TITLE_LENGTH, UnknownActivityTypeError, XAPIVerb, XAPI_VERB_DISPLAY, aiAllowedByContent, aiCoachingRequest, aiCritiqueRequest, aiDraftsRepairRequest, aiDraftsRequest, aiExplanationRequest, aiGradeOf, aiHintRequest, aiSupports, aiWritingFeedbackRequest, alignDictation, alignReadAloud, assertRedacted, assertRedactedItemGroup, buildAiFacts, canonicalJson, checkAiCoaching, checkAiCritique, checkAiDrafts, checkAiExplanation, checkAiHint, checkAiWritingFeedback, classifyBand, combineDeliveryPolicies, composeAssessmentScore, composeTimelineScore, computePassThreshold, contentHash, countWords, createDraft, createInteractiveVideoDraft, createItemGroupDraft, critiqueDraft, critiqueDrafts, critiqueItemGroupDraft, defineActivityType, dictationJsonSchema, dictationReferenceWords, dictationType, diffDictationChars, diffResponses, entryKeyOf, evaluate, evaluateTries, fillInTheBlanksJsonSchema, fillInTheBlanksType, fingerprint, flattenSequence, gapSelectJsonSchema, gapSelectType, generateDrafts, getActivityTypeDescriptor, gradeFromRubric, gradeReadAloud, gte, hasGrade, hashSeed, hintRevealsAnswer, inspectWav, interactiveVideoFromDrafts, isBuiltInActivityType, isInteractiveVideoItemType, isItemGroup, itemGroupJsonSchema, jsonSchemaFor, levenshteinDistance, matchText, multipleChoiceJsonSchema, multipleChoiceType, outcomeFromGrade, outcomeFromUnscorable, planAttempt, planMediaBudgets, readAiTextResult, readAloudJsonSchema, readAloudType, readMediaProgress, redact, redactItemGroup, registerActivityType, registeredActivityTypes, resolveDeliveryPolicy, resolveItemScoringPolicy, resolvePlaybackPolicy, restoreAttemptState, restoreMediaPlayLedger, roundGrade, score, scoreTries, scoredItemsFromPlan, seededShuffle, serializeAttemptState, serializeMediaPlayLedger, slotMediaKey, stimulusJsonSchema, stimulusMediaKey, validateActivity, validateDeliveryPolicy, validateDraft, validateItemGroup, validateItemGroupDraft, validateItemScoringPolicy, validateMedia, validateOptionMedia, validateSpeechAssessment, validateXAPIStatement, verifyAttemptPlan, writtenResponseJsonSchema, writtenResponseType, xAPIBuilder, xapiDefinitionFor };
|
|
1052
|
+
export { AI_COACHING_MAX_TIP_LENGTH, AI_COACHING_MAX_WORDS, AI_CRITIQUE_MAX_FIELD_LENGTH, AI_CRITIQUE_MAX_FINDINGS, AI_DRAFTS_MAX_COUNT, AI_DRAFTS_MAX_REPAIRS, AI_EXPLANATION_TYPES, AI_GRADING_PROBABILITY_TOLERANCE, AI_HINT_TYPES, AI_MATERIAL_MAX_LENGTH, AI_TEXT_MAX_LENGTH, AI_WRITING_MAX_CORRECTIONS, AI_WRITING_MAX_FIELD_LENGTH, ActivitySchemaError, BUILT_IN_ACTIVITY_TYPES, DEFAULT_ITEM_SCORING_POLICY, DEFAULT_PASS_THRESHOLD, DICTATION_MAX_ACCEPTED_TRANSCRIPTS, DICTATION_MAX_EQUIVALENCES, DICTATION_MAX_EQUIVALENCE_LENGTH, DICTATION_MAX_TEXT_LENGTH, DICTATION_MAX_TRANSCRIPT_LENGTH, DeferredScoringError, INTERACTIVE_VIDEO_ITEM_TYPES, ITEM_SCORING_MAX_RETRIES, OPEN_DELIVERY_POLICY, READ_ALOUD_MAX_DIMENSION_WEIGHT, READ_ALOUD_MAX_REFERENCE_LENGTH, READ_ALOUD_MAX_SECONDS, READ_ALOUD_MAX_TAKES, RedactedScoringError, SPEECH_ASSESSMENT_MAX_WORDS, TIMELINE_MAX_CHAPTERS, TIMELINE_MAX_ITEMS, TIMELINE_MAX_QUIZZES, TIMELINE_MAX_TITLE_LENGTH, UnknownActivityTypeError, XAPIVerb, XAPI_VERB_DISPLAY, aiAllowedByContent, aiCoachingRequest, aiCritiqueRequest, aiDraftsRepairRequest, aiDraftsRequest, aiExplanationRequest, aiGradeOf, aiGradingRequest, aiHintRequest, aiSupports, aiWritingFeedbackRequest, alignDictation, alignReadAloud, assertRedacted, assertRedactedItemGroup, buildAiFacts, calibrationReport, canonicalJson, checkAiCoaching, checkAiCritique, checkAiDrafts, checkAiExplanation, checkAiGrading, checkAiHint, checkAiWritingFeedback, classifyBand, combineDeliveryPolicies, composeAssessmentScore, composeTimelineScore, computePassThreshold, contentHash, countWords, createDraft, createInteractiveVideoDraft, createItemGroupDraft, critiqueDraft, critiqueDrafts, critiqueItemGroupDraft, defineActivityType, dictationJsonSchema, dictationReferenceWords, dictationType, diffDictationChars, diffResponses, entryKeyOf, evaluate, evaluateTries, fillInTheBlanksJsonSchema, fillInTheBlanksType, fingerprint, flattenSequence, gapSelectJsonSchema, gapSelectType, generateDrafts, getActivityTypeDescriptor, gradeFromJudgement, gradeFromRubric, gradeReadAloud, graderConfiguration, gte, hasGrade, hashSeed, hintRevealsAnswer, inAuditSample, inspectWav, interactiveVideoFromDrafts, isBuiltInActivityType, isInteractiveVideoItemType, isItemGroup, itemGroupJsonSchema, jsonSchemaFor, levenshteinDistance, matchText, multipleChoiceJsonSchema, multipleChoiceType, outcomeFromGrade, outcomeFromRoutedGrade, outcomeFromUnscorable, planAttempt, planMediaBudgets, readAiTextResult, readAloudJsonSchema, readAloudType, readMediaProgress, redact, redactItemGroup, registerActivityType, registeredActivityTypes, resolveDeliveryPolicy, resolveItemScoringPolicy, resolvePlaybackPolicy, restoreAttemptState, restoreMediaPlayLedger, roundGrade, routeGrade, score, scoreTries, scoredItemsFromPlan, seededShuffle, serializeAttemptState, serializeMediaPlayLedger, slotMediaKey, stimulusJsonSchema, stimulusMediaKey, validateActivity, validateDeliveryPolicy, validateDraft, validateItemGroup, validateItemGroupDraft, validateItemScoringPolicy, validateMedia, validateOptionMedia, validateSpeechAssessment, validateXAPIStatement, verifyAttemptPlan, writtenResponseJsonSchema, writtenResponseType, xAPIBuilder, xapiDefinitionFor };
|
|
1161
1053
|
|
|
1162
1054
|
//# sourceMappingURL=index.js.map
|