@intellectif/lk-core 1.7.0 → 1.9.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/ai-check.cjs +77 -3
  3. package/dist/ai-check.cjs.map +1 -1
  4. package/dist/ai-check.d.cts +11 -3
  5. package/dist/ai-check.d.cts.map +1 -1
  6. package/dist/ai-check.d.ts +11 -3
  7. package/dist/ai-check.d.ts.map +1 -1
  8. package/dist/ai-check.js +77 -3
  9. package/dist/ai-check.js.map +1 -1
  10. package/dist/{ai-writing-B7oMCt66.js → ai-writing-DQjI9EFN.js} +2514 -136
  11. package/dist/ai-writing-DQjI9EFN.js.map +1 -0
  12. package/dist/{ai-writing-DrPTV3R2.cjs → ai-writing-DbpZpGRk.cjs} +2614 -122
  13. package/dist/ai-writing-DbpZpGRk.cjs.map +1 -0
  14. package/dist/{ai-B1wYrqcB.d.ts → ai-zhc9yhRj.d.cts} +454 -2
  15. package/dist/ai-zhc9yhRj.d.cts.map +1 -0
  16. package/dist/{ai-B1wYrqcB.d.cts → ai-zhc9yhRj.d.ts} +454 -2
  17. package/dist/ai-zhc9yhRj.d.ts.map +1 -0
  18. package/dist/{index-XCCoPoTU.d.cts → index-BeC8tAWf.d.cts} +2 -2
  19. package/dist/{index-XCCoPoTU.d.cts.map → index-BeC8tAWf.d.cts.map} +1 -1
  20. package/dist/{index-BU99GFTl.d.ts → index-Byar5VVs.d.ts} +2 -2
  21. package/dist/{index-BU99GFTl.d.ts.map → index-Byar5VVs.d.ts.map} +1 -1
  22. package/dist/{index-DP9rvyOz.d.cts → index-Ccj8oL_E.d.cts} +2 -2
  23. package/dist/{index-DP9rvyOz.d.cts.map → index-Ccj8oL_E.d.cts.map} +1 -1
  24. package/dist/{index-BTkMQtws.d.ts → index-CxkqS62X.d.ts} +89 -7
  25. package/dist/index-CxkqS62X.d.ts.map +1 -0
  26. package/dist/{index-BM8LeDWn.d.cts → index-DLsUnGHt.d.cts} +89 -7
  27. package/dist/index-DLsUnGHt.d.cts.map +1 -0
  28. package/dist/{index-BdXs4-en.d.ts → index-f4YuMgFb.d.ts} +2 -2
  29. package/dist/{index-BdXs4-en.d.ts.map → index-f4YuMgFb.d.ts.map} +1 -1
  30. package/dist/index.cjs +282 -6
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.cts +262 -7
  33. package/dist/index.d.cts.map +1 -1
  34. package/dist/index.d.ts +262 -7
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +269 -7
  37. package/dist/index.js.map +1 -1
  38. package/dist/{item-group-CeDk7mfM.js → item-group-CKZk3txt.js} +2 -2
  39. package/dist/{item-group-CeDk7mfM.js.map → item-group-CKZk3txt.js.map} +1 -1
  40. package/dist/{item-group-8P3WFuUK.cjs → item-group-COP5OwEC.cjs} +2 -2
  41. package/dist/{item-group-8P3WFuUK.cjs.map → item-group-COP5OwEC.cjs.map} +1 -1
  42. package/dist/{registry-D92hz9iA.js → registry-Bw9grsCN.js} +339 -12
  43. package/dist/registry-Bw9grsCN.js.map +1 -0
  44. package/dist/{registry-hzrkTeIT.cjs → registry-C9O9txy5.cjs} +368 -11
  45. package/dist/registry-C9O9txy5.cjs.map +1 -0
  46. package/dist/{schemas-C7TViWCg.js → schemas-BJe3W6Xb.js} +3 -3
  47. package/dist/{schemas-C7TViWCg.js.map → schemas-BJe3W6Xb.js.map} +1 -1
  48. package/dist/{schemas-BWeskONy.cjs → schemas-CXlemRvB.cjs} +3 -3
  49. package/dist/{schemas-BWeskONy.cjs.map → schemas-CXlemRvB.cjs.map} +1 -1
  50. package/dist/schemas.cjs +3 -3
  51. package/dist/schemas.d.cts +1 -1
  52. package/dist/schemas.d.ts +1 -1
  53. package/dist/schemas.js +3 -3
  54. package/dist/{scoring-DD1GHcLI.js → scoring-BGKdff2i.js} +214 -26
  55. package/dist/scoring-BGKdff2i.js.map +1 -0
  56. package/dist/{scoring-CtkCFyFT.cjs → scoring-Db1CZeAn.cjs} +219 -25
  57. package/dist/scoring-Db1CZeAn.cjs.map +1 -0
  58. package/dist/scoring.cjs +3 -2
  59. package/dist/scoring.d.cts +3 -3
  60. package/dist/scoring.d.ts +3 -3
  61. package/dist/scoring.js +3 -3
  62. package/dist/{xapi-Cgicg-zU.js → xapi-BtBm8AWZ.js} +2 -2
  63. package/dist/{xapi-Cgicg-zU.js.map → xapi-BtBm8AWZ.js.map} +1 -1
  64. package/dist/{xapi-7btSpx6v.cjs → xapi-DOAqH9__.cjs} +2 -2
  65. package/dist/{xapi-7btSpx6v.cjs.map → xapi-DOAqH9__.cjs.map} +1 -1
  66. package/dist/xapi.cjs +1 -1
  67. package/dist/xapi.d.cts +1 -1
  68. package/dist/xapi.d.ts +1 -1
  69. package/dist/xapi.js +1 -1
  70. package/package.json +2 -2
  71. package/vectors/README.md +23 -0
  72. package/vectors/scoring.json +11967 -1
  73. package/vectors/validation.json +1298 -1
  74. package/vectors/variants.d.mts +20 -0
  75. package/vectors/variants.json +5753 -0
  76. package/vectors/variants.mjs +67 -0
  77. package/dist/ai-B1wYrqcB.d.cts.map +0 -1
  78. package/dist/ai-B1wYrqcB.d.ts.map +0 -1
  79. package/dist/ai-writing-B7oMCt66.js.map +0 -1
  80. package/dist/ai-writing-DrPTV3R2.cjs.map +0 -1
  81. package/dist/index-BM8LeDWn.d.cts.map +0 -1
  82. package/dist/index-BTkMQtws.d.ts.map +0 -1
  83. package/dist/registry-D92hz9iA.js.map +0 -1
  84. package/dist/registry-hzrkTeIT.cjs.map +0 -1
  85. package/dist/scoring-CtkCFyFT.cjs.map +0 -1
  86. package/dist/scoring-DD1GHcLI.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { $ as AiVerdict, $t as MultipleChoiceData, A as AiGapSelectFacts, An as XAPIStatement, At as ActivityType, B as AiHintRequest, Bn as GradingState, Bt as FillInTheBlanksLearnerResponse, C as AiDraftsCall, Cn as XAPIConfig, Ct as ItemFinding, D as AiFeature, Dn as XAPIObject, Dt as ActivityFeedback, E as AiExplanationRequest, En as XAPIError, Et as ActivityDataMap, F as AiGradingFacts, Fn as GradeRoutingReason, Ft as DictationEquivalence, G as AiProvenance, Gn as matchText, Gt as GapSelectLearnerResponse, H as AiMaterialFacts, Hn as TextMatchPolicy, Ht as GapSelectChoice, I as AiGradingJudgement, In as Grader, It as DictationLearnerResponse, J as AiRefusal, Jt as ItemOutcome, K as AiReadingFacts, Kt as InteractionEvent, L as AiGradingRequest, Ln as GraderConfiguration, Lt as DictationSlowMedia, M as AiGrade, Mn as CriterionScore, Mt as DeferredReason, N as AiGradedCriterion, Nn as GradeRecord, Nt as DeferredScoringPartial, O as AiFillInTheBlanksFacts, On as XAPIResult, Ot as ActivityMedia, P as AiGradingCriterionFact, Pn as GradeRouting, Pt as DictationData, Q as AiTextResult, Qt as MediaTrack, R as AiGradingRequestProblem, Rn as GraderKind, Rt as DictationTolerance, S as AiDrafts, Sn as XAPIActor, St as DraftValidationResult, T as AiDraftsRun, Tn as XAPIContextActivities, Tt as ActivityData, U as AiMultipleChoiceFacts, Un as TextMatchResult, Ut as GapSelectData, V as AiItemFacts, Vn as InlineCorrection, Vt as GapSelectBank, W as AiOptionFact, Wn as levenshteinDistance, Wt as GapSelectGap, X as AiSoundFact, Xt as LearnerResponseMap, Y as AiRubricCriterionFact, Yt as LearnerResponse, Z as AiSupportedActivityType, Zt as MediaPlaybackPolicy, _ as AiDraftCaption, _n as WrittenResponseData, _t as DraftComplete, a as AiCoachingRequest, an as ReadAloudDimension, at as AiWritingFeedbackRequest, b as AiDraftSource, bn as WrittenResponseRubricCriterion, bt as DraftNotComplete, c as AiCriterionJudgement, cn as ReadAloudSlowMedia, ct as MediaProgress, d as AiCritiqueFinding, dn as ScoringDetail, dt as SequenceSlot, en as MultipleChoiceLearnerResponse, et as AiVideoDraft, f as AiCritiqueFindingResult, fn as ScoringOutcome, ft as SequenceSlotGroup, g as AiDictationFacts, gn as ValidationResult, gt as TimelineCue, h as AiCritiqueResult, hn as ValidationError, ht as TimelineChapter, i as AiCoaching, in as ReadAloudData, it as AiWritingFeedback, j as AiGeneratedDraft, jn as XAPIVerbObject, jt as BlankConfig, k as AiGapFact, kn as XAPIScore, kt as ActivityResult, l as AiCritique, ln as RecordingBounds, lt as MediaTimeline, m as AiCritiqueRequest, mn as ScriptTurn, mt as StimulusKind, n as AiActivityInput, nn as MultipleChoiceOptionMedia, nt as AiWritingCorrection, o as AiCoachingResult, on as ReadAloudDimensionWeight, ot as AiWritingFeedbackResult, p as AiCritiqueKind, pn as ScoringResult, pt as Stimulus, q as AiReadingWordFact, qt as InteractionKind, r as AiBlankFact, rn as NativeControlHint, rt as AiWritingFacts, s as AiCoachingWord, sn as ReadAloudLearnerResponse, st as ItemGroup, t as ActivityAiPermissions, tn as MultipleChoiceOption, tt as AiWordFact, u as AiCritiqueField, un as RecordingRef, ut as SequenceEntry, v as AiDraftProblem, vn as WrittenResponseLearnerResponse, vt as DraftContext, w as AiDraftsRequest, wn as XAPIContext, wt as ItemFindingSeverity, x as AiDraftType, xn as WrittenResponseRubricLevel, xt as DraftSeverity, y as AiDraftSettings, yn as WrittenResponseRubric, yt as DraftIssue, z as AiGroupInput, zn as GraderUsage, zt as FillInTheBlanksData } from "./ai-B1wYrqcB.js";
2
- import { $ as hasGrade, A as diffDictationChars, At as Band, B as outcomeFromRoutedGrade, C as validateItemScoringPolicy, Ct as SpeechSyllable, D as DICTATION_MAX_TEXT_LENGTH, Dt as SpeechWordError, E as DICTATION_MAX_EQUIVALENCE_LENGTH, Et as SpeechWord, F as dictationReferenceWords, Ft as roundGrade, G as CalibrationReport, H as GradeFromJudgementOptions, I as CalibrationThresholds, J as TotalCalibration, K as CalibrationScope, L as GradeRoutingContext, M as DictationReference, Mt as RoundingPolicy, N as DictationWordAlignment, Nt as classifyBand, O as DICTATION_MAX_TRANSCRIPT_LENGTH, Ot as WavInspection, P as alignDictation, Pt as gte, Q as gradeFromRubric, R as GradeRoutingPolicy, S as scoreTries, St as SpeechPlausibilityPolicy, T as DICTATION_MAX_EQUIVALENCES, Tt as SpeechUnscorableCode, U as gradeFromJudgement, V as routeGrade, W as CalibrationPair, X as graderConfiguration, Y as calibrationReport, Z as GradeFromRubricOptions, _ as DEFAULT_PASS_THRESHOLD, _t as ReadAloudWordState, a as evaluateTries, at as ItemTry, b as ITEM_SCORING_MAX_RETRIES, bt as SpeechPhoneme, c as inspectWav, ct as AssessmentScore, d as READ_ALOUD_MAX_SECONDS, dt as PassFailureReason, et as outcomeFromGrade, f as READ_ALOUD_MAX_TAKES, ft as ScoredItem, g as alignReadAloud, gt as ReadAloudWordAlignment, h as validateSpeechAssessment, ht as GradeReadAloudOptions, i as evaluate, it as ItemTriesScore, j as DictationAlignment, jt as RoundingMode, k as DictationCharOp, kt as WavInspectionPolicy, l as READ_ALOUD_MAX_DIMENSION_WEIGHT, lt as AssessmentSectionInput, m as gradeReadAloud, mt as composeAssessmentScore, n as ItemTriesOutcome, nt as ItemScoringPolicy, o as score, ot as ItemTryScore, p as SPEECH_ASSESSMENT_MAX_WORDS, pt as SectionScore, q as CriterionCalibration, r as ScoringOptions, rt as ItemScoringPolicyIssue, s as outcomeFromUnscorable, st as ResolvedItemScoringPolicy, t as EvaluateOptions, tt as ItemScoringCount, u as READ_ALOUD_MAX_REFERENCE_LENGTH, ut as CompositionPolicy, v as computePassThreshold, vt as SpeechAssessment, w as DICTATION_MAX_ACCEPTED_TRANSCRIPTS, wt as SpeechUnscorable, x as resolveItemScoringPolicy, xt as SpeechPhonemeCandidate, y as DEFAULT_ITEM_SCORING_POLICY, yt as SpeechMeasurement, z as inAuditSample } from "./index-BTkMQtws.js";
3
- import { A as RedactedStimulus, C as RedactedGapSelectChoice, D as RedactedMultipleChoiceOption, E as RedactedMultipleChoiceData, O as RedactedMultipleChoiceOptionMedia, S as RedactedGapSelectBank, T as RedactedGapSelectGap, _ as RedactedActivity, a as JsonSchemaTarget, b as RedactedDictationSlowMedia, c as fillInTheBlanksJsonSchema, d as jsonSchemaFor, f as multipleChoiceJsonSchema, g as validateItemGroup, h as writtenResponseJsonSchema, i as SCRIPT_MAX_TURNS, j as RedactedWrittenResponseData, k as RedactedReadAloudData, l as gapSelectJsonSchema, m as stimulusJsonSchema, n as validateMedia, o as contentJsonSchema, p as readAloudJsonSchema, r as validateOptionMedia, s as dictationJsonSchema, t as validateActivity, u as itemGroupJsonSchema, v as RedactedBlankConfig, w as RedactedGapSelectData, x as RedactedFillInTheBlanksData, y as RedactedDictationData } from "./index-BdXs4-en.js";
4
- import { a as XAPIObjectParams, c as xapiDefinitionFor, d as XAPI_VERB_DISPLAY, i as SubmittedStatementParams, l as XAPIVerb, n as AnsweredStatementParams, o as XAPIStatementParams, r as CompletedStatementParams, s as xAPIBuilder, t as validateXAPIStatement, u as XAPIVerbKey } from "./index-BU99GFTl.js";
1
+ import { $ as AiSpeakingGradingFacts, $n as XAPIContextActivities, $t as ActivityType, A as AiGapSelectFacts, An as ReadAloudLearnerResponse, At as SequenceSlot, B as AiGroupInput, Bn as SpeakingResponseLearnerResponse, Bt as DraftSeverity, C as AiDraftsCall, Cn as MultipleChoiceLearnerResponse, Ct as AiWritingFeedback, D as AiFeature, Dn as ReadAloudData, Dt as MediaProgress, E as AiExplanationRequest, En as NativeControlHint, Et as ItemGroup, F as AiGradingCriterionFact, Fn as ScoringOutcome, Ft as TimelineCue, G as AiOptionFact, Gn as WrittenResponseData, Gt as VersionFinding, H as AiItemFacts, Hn as SpeakingRubricCriterion, Ht as ItemFinding, I as AiGradingFacts, In as ScoringResult, It as DraftComplete, J as AiReadingWordFact, Jn as WrittenResponseRubricCriterion, Jt as ActivityData, K as AiProvenance, Kn as WrittenResponseLearnerResponse, Kt as VersionPaper, L as AiGradingJudgement, Ln as ScriptTurn, Lt as DraftContext, M as AiGeneratedVariant, Mn as RecordingBounds, Mt as Stimulus, N as AiGrade, Nn as RecordingRef, Nt as StimulusKind, O as AiFillInTheBlanksFacts, On as ReadAloudDimension, Ot as MediaTimeline, P as AiGradedCriterion, Pn as ScoringDetail, Pt as TimelineChapter, Q as AiSpeakingCriterionFact, Qn as XAPIContext, Qt as ActivityResult, R as AiGradingRequest, Rn as SpeakingMeasure, Rt as DraftIssue, S as AiDrafts, Sn as MultipleChoiceData, St as AiWritingFacts, T as AiDraftsRun, Tn as MultipleChoiceOptionMedia, Tt as AiWritingFeedbackResult, U as AiMaterialFacts, Un as ValidationError, Ut as ItemFindingSeverity, V as AiHintRequest, Vn as SpeakingRubric, Vt as DraftValidationResult, W as AiMultipleChoiceFacts, Wn as ValidationResult, Wt as VersionComparison, X as AiRubricCriterionFact, Xn as XAPIActor, Xt as ActivityFeedback, Y as AiRefusal, Yn as WrittenResponseRubricLevel, Yt as ActivityDataMap, Z as AiSoundFact, Zn as XAPIConfig, Zt as ActivityMedia, _ as AiDraftCaption, _n as ItemOutcome, _r as TextMatchResult, _t as AiVariantsRun, a as AiCoachingRequest, an as DictationLearnerResponse, ar as XAPIVerbObject, at as AiVariantDifficulty, b as AiDraftSource, bn as MediaPlaybackPolicy, bt as AiWordFact, c as AiCriterionJudgement, cn as FillInTheBlanksData, cr as GradeRouting, ct as AiVariantLevelFacts, d as AiCritiqueFinding, dn as GapSelectChoice, dr as GraderConfiguration, dt as AiVariantPair, en as BlankConfig, er as XAPIError, et as AiSpeakingGradingRequest, f as AiCritiqueFindingResult, fn as GapSelectData, fr as GraderKind, ft as AiVariantSkip, g as AiDictationFacts, gn as InteractionKind, gr as TextMatchPolicy, gt as AiVariantsRequest, h as AiCritiqueResult, hn as InteractionEvent, hr as InlineCorrection, ht as AiVariants, i as AiCoaching, in as DictationEquivalence, ir as XAPIStatement, it as AiTextResult, j as AiGeneratedDraft, jn as ReadAloudSlowMedia, jt as SequenceSlotGroup, k as AiGapFact, kn as ReadAloudDimensionWeight, kt as SequenceEntry, l as AiCritique, ln as FillInTheBlanksLearnerResponse, lr as GradeRoutingReason, lt as AiVariantMismatch, m as AiCritiqueRequest, mn as GapSelectLearnerResponse, mr as GradingState, mt as AiVariantTargets, n as AiActivityInput, nn as DeferredScoringPartial, nr as XAPIResult, nt as AiSpeakingMeasureFact, o as AiCoachingResult, on as DictationSlowMedia, or as CriterionScore, ot as AiVariantExemplarFacts, p as AiCritiqueKind, pn as GapSelectGap, pr as GraderUsage, pt as AiVariantSkipCode, q as AiReadingFacts, qn as WrittenResponseRubric, qt as VersionSlot, r as AiBlankFact, rn as DictationData, rr as XAPIScore, rt as AiSupportedActivityType, s as AiCoachingWord, sn as DictationTolerance, sr as GradeRecord, st as AiVariantImage, t as ActivityAiPermissions, tn as DeferredReason, tr as XAPIObject, tt as AiSpeakingGradingRequestProblem, u as AiCritiqueField, un as GapSelectBank, ur as Grader, ut as AiVariantMissing, v as AiDraftProblem, vn as LearnerResponse, vr as levenshteinDistance, vt as AiVerdict, w as AiDraftsRequest, wn as MultipleChoiceOption, wt as AiWritingFeedbackRequest, x as AiDraftType, xn as MediaTrack, xt as AiWritingCorrection, y as AiDraftSettings, yn as LearnerResponseMap, yr as matchText, yt as AiVideoDraft, z as AiGradingRequestProblem, zn as SpeakingResponseData, zt as DraftNotComplete } from "./ai-zhc9yhRj.js";
2
+ import { $ as gradeFromRubric, A as DictationCharOp, At as SpeechWordError, B as inAuditSample, C as scoreTries, Ct as SpeechPhoneme, D as DICTATION_MAX_EQUIVALENCE_LENGTH, Dt as SpeechUnscorable, E as DICTATION_MAX_EQUIVALENCES, Et as SpeechSyllable, F as alignDictation, Ft as RoundingPolicy, G as CalibrationPair, H as routeGrade, I as dictationReferenceWords, It as classifyBand, J as CriterionCalibration, K as CalibrationReport, L as CalibrationThresholds, Lt as gte, M as DictationAlignment, Mt as WavInspectionPolicy, N as DictationReference, Nt as Band, O as DICTATION_MAX_TEXT_LENGTH, Ot as SpeechUnscorableCode, P as DictationWordAlignment, Pt as RoundingMode, Q as GradeFromRubricOptions, R as GradeRoutingContext, Rt as roundGrade, S as resolveItemScoringPolicy, St as SpeechMeasurement, T as DICTATION_MAX_ACCEPTED_TRANSCRIPTS, Tt as SpeechPlausibilityPolicy, U as GradeFromJudgementOptions, V as outcomeFromRoutedGrade, W as gradeFromJudgement, X as calibrationReport, Y as TotalCalibration, Z as graderConfiguration, _ as alignReadAloud, _t as GradeSpeakingResponseOptions, a as evaluateTries, at as ItemTriesScore, b as DEFAULT_ITEM_SCORING_POLICY, bt as SpeakingEvidence, c as inspectWav, ct as ResolvedItemScoringPolicy, d as READ_ALOUD_MAX_SECONDS, dt as CompositionPolicy, et as hasGrade, f as READ_ALOUD_MAX_TAKES, ft as PassFailureReason, g as validateSpeechAssessment, gt as GradeReadAloudOptions, h as gradeReadAloud, ht as composeAssessmentScore, i as evaluate, it as ItemScoringPolicyIssue, j as diffDictationChars, jt as WavInspection, k as DICTATION_MAX_TRANSCRIPT_LENGTH, kt as SpeechWord, l as READ_ALOUD_MAX_DIMENSION_WEIGHT, lt as AssessmentScore, m as gradeSpeakingResponse, mt as SectionScore, n as ItemTriesOutcome, nt as ItemScoringCount, o as score, ot as ItemTry, p as SPEECH_ASSESSMENT_MAX_WORDS, pt as ScoredItem, q as CalibrationScope, r as ScoringOptions, rt as ItemScoringPolicy, s as outcomeFromUnscorable, st as ItemTryScore, t as EvaluateOptions, tt as outcomeFromGrade, u as READ_ALOUD_MAX_REFERENCE_LENGTH, ut as AssessmentSectionInput, v as DEFAULT_PASS_THRESHOLD, vt as ReadAloudWordAlignment, w as validateItemScoringPolicy, wt as SpeechPhonemeCandidate, x as ITEM_SCORING_MAX_RETRIES, xt as SpeechAssessment, y as computePassThreshold, yt as ReadAloudWordState, z as GradeRoutingPolicy } from "./index-CxkqS62X.js";
3
+ import { A as RedactedStimulus, C as RedactedGapSelectChoice, D as RedactedMultipleChoiceOption, E as RedactedMultipleChoiceData, O as RedactedMultipleChoiceOptionMedia, S as RedactedGapSelectBank, T as RedactedGapSelectGap, _ as RedactedActivity, a as JsonSchemaTarget, b as RedactedDictationSlowMedia, c as fillInTheBlanksJsonSchema, d as jsonSchemaFor, f as multipleChoiceJsonSchema, g as validateItemGroup, h as writtenResponseJsonSchema, i as SCRIPT_MAX_TURNS, j as RedactedWrittenResponseData, k as RedactedReadAloudData, l as gapSelectJsonSchema, m as stimulusJsonSchema, n as validateMedia, o as contentJsonSchema, p as readAloudJsonSchema, r as validateOptionMedia, s as dictationJsonSchema, t as validateActivity, u as itemGroupJsonSchema, v as RedactedBlankConfig, w as RedactedGapSelectData, x as RedactedFillInTheBlanksData, y as RedactedDictationData } from "./index-f4YuMgFb.js";
4
+ import { a as XAPIObjectParams, c as xapiDefinitionFor, d as XAPI_VERB_DISPLAY, i as SubmittedStatementParams, l as XAPIVerb, n as AnsweredStatementParams, o as XAPIStatementParams, r as CompletedStatementParams, s as xAPIBuilder, t as validateXAPIStatement, u as XAPIVerbKey } from "./index-Byar5VVs.js";
5
5
  /**
6
6
  * What a model is told about the group a question sits in: the material the
7
7
  * learner reads and sees beside it.
@@ -425,6 +425,39 @@ export declare function aiGradingRequest(input: {
425
425
  problem: AiGradingRequestProblem;
426
426
  path?: (string | number)[];
427
427
  };
428
+ /**
429
+ * The request for a model's grade of a spoken answer (1.9), or why there is
430
+ * none to make.
431
+ *
432
+ * Built as a written response's is, on the server and from the whole item, with
433
+ * the take's evidence: the model reads `assessment.transcript` — the
434
+ * transcriber's verbatim text, the same text the engine measured the take
435
+ * against — and scores the criteria a judge scores: those that name no
436
+ * `measure`, or every criterion when `judgeMeasures` is set. The measured
437
+ * criteria go with it as context, with the engine's scores, so feedback can
438
+ * speak of them; the model does not score them.
439
+ *
440
+ * The evidence is checked as `gradeSpeakingResponse` checks it — valid,
441
+ * unscripted, for this item's locale and this response's recording — so a model
442
+ * is never paid to judge a take the grade would refuse. Read the reply with
443
+ * `checkAiGrading`, and grade with `gradeSpeakingResponse` under the same
444
+ * `judgeMeasures`.
445
+ */
446
+ export declare function aiSpeakingGradingRequest(input: {
447
+ data: AiActivityInput;
448
+ response: LearnerResponse | null;
449
+ assessment: SpeechAssessment | null;
450
+ judgeMeasures?: boolean;
451
+ group?: AiGroupInput;
452
+ learnerLocale?: string;
453
+ }): {
454
+ ok: true;
455
+ request: AiSpeakingGradingRequest;
456
+ } | {
457
+ ok: false;
458
+ problem: AiSpeakingGradingRequestProblem;
459
+ path?: (string | number)[];
460
+ };
428
461
  type Refused = {
429
462
  ok: false;
430
463
  refusal: AiRefusal;
@@ -454,10 +487,192 @@ type Refused = {
454
487
  * The total is not computed here: `gradeFromJudgement` computes it, as
455
488
  * `gradeFromRubric` computes every grade in the SDK.
456
489
  */
457
- export declare function checkAiGrading(raw: unknown, request: AiGradingRequest): {
490
+ export declare function checkAiGrading(raw: unknown, request: AiGradingRequest | AiSpeakingGradingRequest): {
458
491
  ok: true;
459
492
  judgement: AiGradingJudgement;
460
493
  } | Refused;
494
+ /**
495
+ * How alike two texts must be to count as one copying the other: the share of
496
+ * their word triples (3-word shingles) they have in common, as Jaccard
497
+ * similarity. 0.5 means half of everything either text says, three words at a
498
+ * time, is in the other.
499
+ */
500
+ export declare const AI_VARIANT_NEAR_COPY_THRESHOLD = 0.5;
501
+ /**
502
+ * How far a parallel text may stray from its exemplar's length, in words:
503
+ * `ratio` of the exemplar's words either way, and never less than `minWords`.
504
+ * Material — a passage, a listening script, what a recording says — is held
505
+ * closer than an item's own text, because how much a candidate reads or hears
506
+ * is what makes one form of a part harder than another.
507
+ */
508
+ export declare const AI_VARIANT_LENGTH_BANDS: {
509
+ readonly material: {
510
+ readonly ratio: 0.1;
511
+ readonly minWords: 5;
512
+ };
513
+ readonly item: {
514
+ readonly ratio: 0.25;
515
+ readonly minWords: 2;
516
+ };
517
+ };
518
+ /** A host's own ratios, overriding the bands above: `{ material: 0.15 }`. */
519
+ interface LengthTolerance {
520
+ material?: number;
521
+ item?: number;
522
+ }
523
+ /** The most exemplars one request may vary: a long section is sent in parts. */
524
+ export declare const AI_VARIANTS_MAX_EXEMPLARS = 20;
525
+ /** The most repair passes `generateVariants` makes. */
526
+ export declare const AI_VARIANTS_MAX_REPAIRS = 3;
527
+ /** The longest passage or script, in characters, an exemplar may carry into the facts. */
528
+ export declare const AI_VARIANTS_MAX_MATERIAL_LENGTH = 12000;
529
+ /**
530
+ * Every code a variant can be reported with, and its severity: a contract,
531
+ * as the critic's codes are. `docs/ai.md` documents this table and a test
532
+ * holds the two together.
533
+ */
534
+ export declare const AI_VARIANT_CODE_SEVERITY: {
535
+ readonly variant_missing: "invalid";
536
+ readonly variant_type: "invalid";
537
+ readonly variant_structure: "invalid";
538
+ readonly variant_length: "warning";
539
+ readonly variant_near_copy: "warning";
540
+ readonly variant_same_key: "warning";
541
+ };
542
+ /**
543
+ * What a model is given to write a variant of each exemplar — a parallel item:
544
+ * the exemplar's type, structure, scoring and settings, with every word a
545
+ * learner reads or hears new — and what `checkAiVariants` needs to check the
546
+ * reply against.
547
+ *
548
+ * `exemplars` are loose activities and item groups as stored, answer keys and
549
+ * author-only transcripts included, in paper order; one variant is written for
550
+ * each that can be varied. An exemplar that cannot is left out of the facts
551
+ * and listed in `skipped`: a recording with nothing to say what it says
552
+ * (`variant_exemplar_unheard`), a picture with no description to reuse
553
+ * (`variant_exemplar_unseen`), an unfinished item
554
+ * (`variant_exemplar_incomplete`), an interactive video
555
+ * (`variant_exemplar_timeline`), a type the SDK does not vary
556
+ * (`variant_exemplar_unsupported`) or material over
557
+ * {@link AI_VARIANTS_MAX_MATERIAL_LENGTH} characters
558
+ * (`variant_exemplar_too_long`). When every exemplar is skipped the request has
559
+ * none, and `generateVariants` makes no call.
560
+ *
561
+ * The facts give each exemplar's content in the shape a variant is written in,
562
+ * and its `targets`: the structure to keep, the length of each text in words,
563
+ * its difficulty with the levers to move it, and the critic's findings on it
564
+ * not to repeat. `rules` are what every variant must respect, as sentences a
565
+ * prompt can quote. Pictures are listed in `images`, for a host that attaches
566
+ * them; no recording's address reaches the facts. `avoid` is the other forms'
567
+ * items: compared with every variant, never varied.
568
+ *
569
+ * Nothing passed is changed.
570
+ *
571
+ * @throws RangeError when `exemplars` is empty or longer than
572
+ * {@link AI_VARIANTS_MAX_EXEMPLARS}, an exemplar is neither an item group nor
573
+ * a registered activity type, `level` is empty, a difficulty is not `easier`,
574
+ * `same` or `harder`, `images` is neither `describe` nor `reuse`, or
575
+ * `difficultyFor` names an id no exemplar has.
576
+ */
577
+ export declare function aiVariantsRequest(input: {
578
+ exemplars: readonly unknown[];
579
+ level: string;
580
+ difficulty?: AiVariantDifficulty;
581
+ difficultyFor?: Readonly<Record<string, {
582
+ difficulty: AiVariantDifficulty;
583
+ reason?: string;
584
+ }>>;
585
+ locale?: string;
586
+ levelFacts?: AiVariantLevelFacts;
587
+ avoid?: readonly unknown[];
588
+ images?: 'describe' | 'reuse';
589
+ instructions?: string;
590
+ settings?: AiDraftSettings;
591
+ lengthTolerance?: LengthTolerance;
592
+ balanceKeyPositions?: {
593
+ seed: string;
594
+ };
595
+ }): AiVariantsRequest;
596
+ /**
597
+ * Reads a model's reply to {@link aiVariantsRequest} into variants an editor
598
+ * can show for approval: each made from what the model wrote and what its
599
+ * exemplar is — type, structure, scoring and settings copied from the
600
+ * exemplar, whatever the reply says of them — with ids from `newId`, checked
601
+ * by `validateDraft` (or `validateItemGroupDraft`), compared with its exemplar
602
+ * (`mismatches`: `variant_type`, `variant_structure`), critiqued, and checked
603
+ * for length, near copies and repeated keys against the exemplar and every
604
+ * entry in `avoid` (`findings`: `variant_length`, `variant_near_copy`,
605
+ * `variant_same_key`). `pairs` line each exemplar item up with its variant's.
606
+ *
607
+ * A recording comes back with no file — `url: null`, its playback policy, and
608
+ * a new script or transcript — and a picture to describe with no file and a
609
+ * new `alt`: `media_url_required` until the host attaches one.
610
+ *
611
+ * Variants are independent: one that is wrong comes back as such, beside the
612
+ * others. An exemplar the reply wrote nothing for is listed in `missing`. The
613
+ * whole reply is refused only when it is not `{ variants: [...] }` of objects
614
+ * each naming an exemplar of the facts once (`malformed`), or holds more
615
+ * variants than exemplars (`too-long`).
616
+ *
617
+ * With `balanceKeyPositions` the single-answer keys are spread across
618
+ * positions, from its seed.
619
+ *
620
+ * @throws Error when `newId` returns an empty or repeated id.
621
+ */
622
+ export declare function checkAiVariants(raw: unknown, request: AiVariantsRequest, options: {
623
+ newId: () => string;
624
+ }): {
625
+ ok: true;
626
+ variants: AiVariants;
627
+ } | {
628
+ ok: false;
629
+ refusal: AiRefusal;
630
+ };
631
+ /**
632
+ * A second request, for the variants with something the model can fix —
633
+ * a wrong type or structure, an issue other than a missing file, or a warning
634
+ * at a field the model writes — and the exemplars the reply wrote nothing for
635
+ * (`variant_missing`). Each comes with its problems at the paths the model
636
+ * wrote; the exemplar and its targets stay in the facts. `null` when there is
637
+ * nothing to repair.
638
+ *
639
+ * The reply holds one variant for each, naming its exemplar;
640
+ * {@link checkAiVariants} reads it.
641
+ */
642
+ export declare function aiVariantsRepairRequest(request: AiVariantsRequest, variants: AiVariants | AiVariantsRun | readonly AiGeneratedVariant[]): AiVariantsRequest | null;
643
+ /**
644
+ * Writes variants of existing items, with a bounded repair loop: asks the port
645
+ * with `request`, reads the reply as {@link checkAiVariants} does, then — up
646
+ * to `repairs` times — sends back what the model can fix and what it did not
647
+ * write ({@link aiVariantsRepairRequest}), keeping each variant's best pass:
648
+ * by status, then fewer invalid problems, then fewer warnings. A repaired
649
+ * variant keeps its id. With `balanceKeyPositions`, the keys are spread once,
650
+ * over the variants as they end.
651
+ *
652
+ * Never throws for a model's failure: a port that throws or a reply the SDK
653
+ * refuses ends the loop, and is recorded in `calls` beside the provenance and
654
+ * usage of every call. A first call that fails leaves no variants. A request
655
+ * with no exemplar to vary makes no call.
656
+ *
657
+ * ```ts
658
+ * const run = await generateVariants({
659
+ * request: aiVariantsRequest({ exemplars: section, level: 'CEFR B1', avoid: otherForms }),
660
+ * port: (request) => callMyModel(VARIANTS_PROMPT, request),
661
+ * newId: () => crypto.randomUUID(),
662
+ * });
663
+ * // run.variants: store each as proposed, for a person to approve.
664
+ * ```
665
+ *
666
+ * @throws RangeError when `repairs` is not a whole number from 0 to
667
+ * {@link AI_VARIANTS_MAX_REPAIRS} (default 1), and Error when `newId` returns
668
+ * an empty or repeated id.
669
+ */
670
+ export declare function generateVariants(input: {
671
+ request: AiVariantsRequest;
672
+ port: (request: AiVariantsRequest) => Promise<unknown> | unknown;
673
+ newId: () => string;
674
+ repairs?: number;
675
+ }): Promise<AiVariantsRun>;
461
676
  /**
462
677
  * What the AI features about a written response share: reading a model's text
463
678
  * fields, and finding each correction's quote in the learner's text.
@@ -1132,7 +1347,7 @@ export declare function critiqueDraft(type: ActivityType, draft: unknown): ItemF
1132
1347
  * The SDK's own registry holds exactly these, in this order, before a host
1133
1348
  * registers anything.
1134
1349
  */
1135
- export declare const BUILT_IN_ACTIVITY_TYPES: readonly ["multiple-choice", "fill-in-the-blanks", "written-response", "gap-select", "dictation", "read-aloud"];
1350
+ export declare const BUILT_IN_ACTIVITY_TYPES: readonly ["multiple-choice", "fill-in-the-blanks", "written-response", "gap-select", "dictation", "read-aloud", "speaking-response"];
1136
1351
  /** One of {@link BUILT_IN_ACTIVITY_TYPES}: an activity type the SDK ships, not one a host registered. */
1137
1352
  type BuiltInActivityType = (typeof BUILT_IN_ACTIVITY_TYPES)[number];
1138
1353
  /** Whether `type` names an activity type the SDK ships. */
@@ -2172,5 +2387,45 @@ interface ThemeTokens {
2172
2387
  '--lk-transition-fast': string;
2173
2388
  '--lk-transition-base': string;
2174
2389
  }
2175
- export { type ActivityAiPermissions, type ActivityData, type ActivityDataMap, type ActivityFeedback, type ActivityMedia, type ActivityResult, type ActivityType, type ActivityTypeAuthoring, type ActivityTypeDescriptor, type ActivityTypeInterop, type ActivityTypeScoring, type AiActivityInput, type AiBlankFact, type AiCoaching, type AiCoachingRequest, type AiCoachingResult, type AiCoachingWord, type AiCriterionJudgement, type AiCritique, type AiCritiqueField, type AiCritiqueFinding, type AiCritiqueFindingResult, type AiCritiqueKind, type AiCritiqueRequest, type AiCritiqueResult, type AiDictationFacts, type AiDraftCaption, type AiDraftProblem, type AiDraftSettings, type AiDraftSource, type AiDraftType, type AiDrafts, type AiDraftsCall, type AiDraftsRequest, type AiDraftsRun, type AiExplanationRequest, type AiFeature, type AiFillInTheBlanksFacts, type AiGapFact, type AiGapSelectFacts, type AiGeneratedDraft, type AiGrade, type AiGradedCriterion, type AiGradingCriterionFact, type AiGradingFacts, type AiGradingJudgement, type AiGradingRequest, type AiGradingRequestProblem, type AiGroupInput, type AiHintRequest, type AiItemFacts, type AiMaterialFacts, type AiMultipleChoiceFacts, type AiOptionFact, type AiProvenance, type AiReadingFacts, type AiReadingWordFact, type AiRefusal, type AiRubricCriterionFact, type AiSoundFact, type AiSupportedActivityType, type AiTextResult, type AiVerdict, type AiVideoDraft, type AiWordFact, type AiWritingCorrection, type AiWritingFacts, type AiWritingFeedback, type AiWritingFeedbackRequest, type AiWritingFeedbackResult, type AnsweredStatementParams, type AssessmentScore, type AssessmentSectionInput, type AttemptPlan, type AttemptPlanDrift, type AttemptPlanSlot, type AttemptState, type Band, type BlankConfig, type BuiltInActivityType, type CalibrationPair, type CalibrationReport, type CalibrationScope, type CalibrationThresholds, type CompletedStatementParams, type CompositionPolicy, type CriterionCalibration, type CriterionScore, 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, type DeferredReason, type DeferredScoringPartial, type DeliveryPolicy, type DeliveryPolicyIssue, type DictationAlignment, type DictationCharOp, type DictationData, type DictationEquivalence, type DictationLearnerResponse, type DictationReference, type DictationSlowMedia, type DictationTolerance, type DictationWordAlignment, type DraftComplete, type DraftContext, type DraftIssue, type DraftNotComplete, type DraftSeverity, type DraftValidationResult, EvaluateOptions, type FieldPolicy, type FillInTheBlanksData, type FillInTheBlanksLearnerResponse, type GapSelectBank, type GapSelectChoice, type GapSelectData, type GapSelectGap, type GapSelectLearnerResponse, type GradeFromJudgementOptions, GradeFromRubricOptions, type GradeReadAloudOptions, type GradeRecord, type GradeRouting, type GradeRoutingContext, type GradeRoutingPolicy, type GradeRoutingReason, type Grader, type GraderConfiguration, type GraderKind, type GraderUsage, type GradingState, ITEM_SCORING_MAX_RETRIES, type InlineCorrection, type InteractionEvent, type InteractionKind, type ItemFinding, type ItemFindingSeverity, type ItemGroup, type ItemOutcome, type ItemScoringCount, type ItemScoringPolicy, type ItemScoringPolicyIssue, ItemTriesOutcome, type ItemTriesScore, type ItemTry, type ItemTryScore, type JsonSchemaTarget, type LearnerResponse, type LearnerResponseMap, type MediaBudgetRef, type MediaPlayClaim, type MediaPlayGrant, type MediaPlayLedger, type MediaPlayLedgerEntry, type MediaPlaybackPolicy, type MediaProgress, type MediaSlot, type MediaTimeline, type MediaTrack, type MultipleChoiceData, type MultipleChoiceLearnerResponse, type MultipleChoiceOption, type MultipleChoiceOptionMedia, type NativeControlHint, type PartialScoringResult, type PassFailureReason, READ_ALOUD_MAX_DIMENSION_WEIGHT, READ_ALOUD_MAX_REFERENCE_LENGTH, READ_ALOUD_MAX_SECONDS, READ_ALOUD_MAX_TAKES, type ReadAloudData, type ReadAloudDimension, type ReadAloudDimensionWeight, type ReadAloudLearnerResponse, type ReadAloudSlowMedia, type ReadAloudWordAlignment, type ReadAloudWordState, type RecordingBounds, type RecordingRef, type RedactedActivity, type RedactedBlankConfig, type RedactedDictationData, type RedactedDictationSlowMedia, type RedactedFillInTheBlanksData, type RedactedGapSelectBank, type RedactedGapSelectChoice, type RedactedGapSelectData, type RedactedGapSelectGap, type RedactedMultipleChoiceData, type RedactedMultipleChoiceOption, type RedactedMultipleChoiceOptionMedia, type RedactedReadAloudData, type RedactedStimulus, type RedactedWrittenResponseData, type RegisteredActivityTypeDescriptor, type ResolvedDeliveryPolicy, type ResolvedItemScoringPolicy, type ResponseDiffEntry, type RoundingMode, type RoundingPolicy, SCRIPT_MAX_TURNS, SPEECH_ASSESSMENT_MAX_WORDS, type ScoredItem, type ScoringDetail, ScoringOptions, type ScoringOutcome, type ScoringResult, type ScriptTurn, type SectionScore, type Sensitivity, type SequenceEntry, type SequenceSlot, type SequenceSlotGroup, type SpeechAssessment, type SpeechMeasurement, type SpeechPhoneme, type SpeechPhonemeCandidate, type SpeechPlausibilityPolicy, type SpeechSyllable, type SpeechUnscorable, type SpeechUnscorableCode, type SpeechWord, type SpeechWordError, type StandardSchemaV1, type Stimulus, type StimulusKind, type SubmittedStatementParams, type TextMatchPolicy, type TextMatchResult, type ThemeTokens, type TimelineChapter, type TimelineCue, type TotalCalibration, type ValidationError, type ValidationResult, type WavInspection, type WavInspectionPolicy, type WrittenResponseData, type WrittenResponseLearnerResponse, type WrittenResponseRubric, type WrittenResponseRubricCriterion, type WrittenResponseRubricLevel, type XAPIActor, type XAPIConfig, type XAPIContext, type XAPIContextActivities, type XAPIError, type XAPIInteractionType, type XAPIObject, type XAPIObjectParams, type XAPIResult, type XAPIScore, type XAPIStatement, type XAPIStatementParams, XAPIVerb, type XAPIVerbKey, type XAPIVerbObject, XAPI_VERB_DISPLAY, alignDictation, alignReadAloud, calibrationReport, classifyBand, composeAssessmentScore, computePassThreshold, contentJsonSchema, dictationJsonSchema, dictationReferenceWords, diffDictationChars, evaluate, evaluateTries, fillInTheBlanksJsonSchema, gapSelectJsonSchema, gradeFromJudgement, gradeFromRubric, gradeReadAloud, graderConfiguration, gte, hasGrade, inAuditSample, inspectWav, itemGroupJsonSchema, jsonSchemaFor, levenshteinDistance, matchText, multipleChoiceJsonSchema, outcomeFromGrade, outcomeFromRoutedGrade, outcomeFromUnscorable, readAloudJsonSchema, resolveItemScoringPolicy, roundGrade, routeGrade, score, scoreTries, stimulusJsonSchema, validateActivity, validateItemGroup, validateItemScoringPolicy, validateMedia, validateOptionMedia, validateSpeechAssessment, validateXAPIStatement, writtenResponseJsonSchema, xAPIBuilder, xapiDefinitionFor };
2390
+ /**
2391
+ * Every code `critiqueVersions` reports, and its severity: a contract, as the
2392
+ * critic's codes are. `versions_shared_media` is `advice` for a picture both
2393
+ * forms may show, and a `warning` otherwise.
2394
+ */
2395
+ export declare const VERSION_FINDING_SEVERITY: {
2396
+ readonly versions_section_mismatch: "invalid";
2397
+ readonly versions_entry_count: "invalid";
2398
+ readonly versions_type_mismatch: "invalid";
2399
+ readonly versions_structure_mismatch: "invalid";
2400
+ readonly versions_objectives_mismatch: "warning";
2401
+ readonly versions_length_out_of_band: "warning";
2402
+ readonly versions_near_copy: "warning";
2403
+ readonly versions_same_key: "warning";
2404
+ readonly versions_shared_media: "warning";
2405
+ };
2406
+ /**
2407
+ * Compares two forms of an exam slot by slot, and the whole of one with the
2408
+ * whole of the other: whether they are parallel — the same blueprint, types,
2409
+ * structure and scoring (`invalid` when not) — and whether a learner who sat
2410
+ * one would meet the other again: a near copy anywhere in the other form, a
2411
+ * shared right answer in a paired slot, the same recording (`warning`), or
2412
+ * the same picture (`advice` while `allowSharedImages`, its default).
2413
+ * Objectives and lengths that differ are warnings.
2414
+ *
2415
+ * Slots are paired by `pairs` (paths from each paper's root, as
2416
+ * `generateVariants`' pairs give them once a host places them), then by
2417
+ * `slotKey`, then by position: the same entry of the same section. A paired
2418
+ * group's items pair by their own `slotKey`, then by position.
2419
+ *
2420
+ * It reads content as stored, finished or not, and never throws.
2421
+ */
2422
+ export declare function critiqueVersions(a: VersionPaper, b: VersionPaper, options?: {
2423
+ pairs?: readonly {
2424
+ a: readonly string[];
2425
+ b: readonly string[];
2426
+ }[];
2427
+ lengthTolerance?: LengthTolerance;
2428
+ allowSharedImages?: boolean;
2429
+ }): VersionComparison;
2430
+ export { type ActivityAiPermissions, type ActivityData, type ActivityDataMap, type ActivityFeedback, type ActivityMedia, type ActivityResult, type ActivityType, type ActivityTypeAuthoring, type ActivityTypeDescriptor, type ActivityTypeInterop, type ActivityTypeScoring, type AiActivityInput, type AiBlankFact, type AiCoaching, type AiCoachingRequest, type AiCoachingResult, type AiCoachingWord, type AiCriterionJudgement, type AiCritique, type AiCritiqueField, type AiCritiqueFinding, type AiCritiqueFindingResult, type AiCritiqueKind, type AiCritiqueRequest, type AiCritiqueResult, type AiDictationFacts, type AiDraftCaption, type AiDraftProblem, type AiDraftSettings, type AiDraftSource, type AiDraftType, type AiDrafts, type AiDraftsCall, type AiDraftsRequest, type AiDraftsRun, type AiExplanationRequest, type AiFeature, type AiFillInTheBlanksFacts, type AiGapFact, type AiGapSelectFacts, type AiGeneratedDraft, type AiGeneratedVariant, type AiGrade, type AiGradedCriterion, type AiGradingCriterionFact, type AiGradingFacts, type AiGradingJudgement, type AiGradingRequest, type AiGradingRequestProblem, type AiGroupInput, type AiHintRequest, type AiItemFacts, type AiMaterialFacts, type AiMultipleChoiceFacts, type AiOptionFact, type AiProvenance, type AiReadingFacts, type AiReadingWordFact, type AiRefusal, type AiRubricCriterionFact, type AiSoundFact, type AiSpeakingCriterionFact, type AiSpeakingGradingFacts, type AiSpeakingGradingRequest, type AiSpeakingGradingRequestProblem, type AiSpeakingMeasureFact, type AiSupportedActivityType, type AiTextResult, type AiVariantDifficulty, type AiVariantExemplarFacts, type AiVariantImage, type AiVariantLevelFacts, type AiVariantMismatch, type AiVariantMissing, type AiVariantPair, type AiVariantSkip, type AiVariantSkipCode, type AiVariantTargets, type AiVariants, type AiVariantsRequest, type AiVariantsRun, type AiVerdict, type AiVideoDraft, type AiWordFact, type AiWritingCorrection, type AiWritingFacts, type AiWritingFeedback, type AiWritingFeedbackRequest, type AiWritingFeedbackResult, type AnsweredStatementParams, type AssessmentScore, type AssessmentSectionInput, type AttemptPlan, type AttemptPlanDrift, type AttemptPlanSlot, type AttemptState, type Band, type BlankConfig, type BuiltInActivityType, type CalibrationPair, type CalibrationReport, type CalibrationScope, type CalibrationThresholds, type CompletedStatementParams, type CompositionPolicy, type CriterionCalibration, type CriterionScore, 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, type DeferredReason, type DeferredScoringPartial, type DeliveryPolicy, type DeliveryPolicyIssue, type DictationAlignment, type DictationCharOp, type DictationData, type DictationEquivalence, type DictationLearnerResponse, type DictationReference, type DictationSlowMedia, type DictationTolerance, type DictationWordAlignment, type DraftComplete, type DraftContext, type DraftIssue, type DraftNotComplete, type DraftSeverity, type DraftValidationResult, EvaluateOptions, type FieldPolicy, type FillInTheBlanksData, type FillInTheBlanksLearnerResponse, type GapSelectBank, type GapSelectChoice, type GapSelectData, type GapSelectGap, type GapSelectLearnerResponse, type GradeFromJudgementOptions, GradeFromRubricOptions, type GradeReadAloudOptions, type GradeRecord, type GradeRouting, type GradeRoutingContext, type GradeRoutingPolicy, type GradeRoutingReason, type GradeSpeakingResponseOptions, type Grader, type GraderConfiguration, type GraderKind, type GraderUsage, type GradingState, ITEM_SCORING_MAX_RETRIES, type InlineCorrection, type InteractionEvent, type InteractionKind, type ItemFinding, type ItemFindingSeverity, type ItemGroup, type ItemOutcome, type ItemScoringCount, type ItemScoringPolicy, type ItemScoringPolicyIssue, ItemTriesOutcome, type ItemTriesScore, type ItemTry, type ItemTryScore, type JsonSchemaTarget, type LearnerResponse, type LearnerResponseMap, type LengthTolerance, type MediaBudgetRef, type MediaPlayClaim, type MediaPlayGrant, type MediaPlayLedger, type MediaPlayLedgerEntry, type MediaPlaybackPolicy, type MediaProgress, type MediaSlot, type MediaTimeline, type MediaTrack, type MultipleChoiceData, type MultipleChoiceLearnerResponse, type MultipleChoiceOption, type MultipleChoiceOptionMedia, type NativeControlHint, type PartialScoringResult, type PassFailureReason, READ_ALOUD_MAX_DIMENSION_WEIGHT, READ_ALOUD_MAX_REFERENCE_LENGTH, READ_ALOUD_MAX_SECONDS, READ_ALOUD_MAX_TAKES, type ReadAloudData, type ReadAloudDimension, type ReadAloudDimensionWeight, type ReadAloudLearnerResponse, type ReadAloudSlowMedia, type ReadAloudWordAlignment, type ReadAloudWordState, type RecordingBounds, type RecordingRef, type RedactedActivity, type RedactedBlankConfig, type RedactedDictationData, type RedactedDictationSlowMedia, type RedactedFillInTheBlanksData, type RedactedGapSelectBank, type RedactedGapSelectChoice, type RedactedGapSelectData, type RedactedGapSelectGap, type RedactedMultipleChoiceData, type RedactedMultipleChoiceOption, type RedactedMultipleChoiceOptionMedia, type RedactedReadAloudData, type RedactedStimulus, type RedactedWrittenResponseData, type RegisteredActivityTypeDescriptor, type ResolvedDeliveryPolicy, type ResolvedItemScoringPolicy, type ResponseDiffEntry, type RoundingMode, type RoundingPolicy, SCRIPT_MAX_TURNS, SPEECH_ASSESSMENT_MAX_WORDS, type ScoredItem, type ScoringDetail, ScoringOptions, type ScoringOutcome, type ScoringResult, type ScriptTurn, type SectionScore, type Sensitivity, type SequenceEntry, type SequenceSlot, type SequenceSlotGroup, type SpeakingEvidence, type SpeakingMeasure, type SpeakingResponseData, type SpeakingResponseLearnerResponse, type SpeakingRubric, type SpeakingRubricCriterion, type SpeechAssessment, type SpeechMeasurement, type SpeechPhoneme, type SpeechPhonemeCandidate, type SpeechPlausibilityPolicy, type SpeechSyllable, type SpeechUnscorable, type SpeechUnscorableCode, type SpeechWord, type SpeechWordError, type StandardSchemaV1, type Stimulus, type StimulusKind, type SubmittedStatementParams, type TextMatchPolicy, type TextMatchResult, type ThemeTokens, type TimelineChapter, type TimelineCue, type TotalCalibration, type ValidationError, type ValidationResult, type VersionComparison, type VersionFinding, type VersionPaper, type VersionSlot, type WavInspection, type WavInspectionPolicy, type WrittenResponseData, type WrittenResponseLearnerResponse, type WrittenResponseRubric, type WrittenResponseRubricCriterion, type WrittenResponseRubricLevel, type XAPIActor, type XAPIConfig, type XAPIContext, type XAPIContextActivities, type XAPIError, type XAPIInteractionType, type XAPIObject, type XAPIObjectParams, type XAPIResult, type XAPIScore, type XAPIStatement, type XAPIStatementParams, XAPIVerb, type XAPIVerbKey, type XAPIVerbObject, XAPI_VERB_DISPLAY, alignDictation, alignReadAloud, calibrationReport, classifyBand, composeAssessmentScore, computePassThreshold, contentJsonSchema, dictationJsonSchema, dictationReferenceWords, diffDictationChars, evaluate, evaluateTries, fillInTheBlanksJsonSchema, gapSelectJsonSchema, gradeFromJudgement, gradeFromRubric, gradeReadAloud, gradeSpeakingResponse, graderConfiguration, gte, hasGrade, inAuditSample, inspectWav, itemGroupJsonSchema, jsonSchemaFor, levenshteinDistance, matchText, multipleChoiceJsonSchema, outcomeFromGrade, outcomeFromRoutedGrade, outcomeFromUnscorable, readAloudJsonSchema, resolveItemScoringPolicy, roundGrade, routeGrade, score, scoreTries, stimulusJsonSchema, validateActivity, validateItemGroup, validateItemScoringPolicy, validateMedia, validateOptionMedia, validateSpeechAssessment, validateXAPIStatement, writtenResponseJsonSchema, xAPIBuilder, xapiDefinitionFor };
2176
2431
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["_$__registry_js0.ActivityTypeDescriptor"],"sources":["../src/ai-material.ts","../src/ai.ts","../src/ai-coaching.ts","../src/ai-critique.ts","../src/ai-drafts.ts","../src/ai-grading.ts","../src/ai-written.ts","../src/ai-writing.ts","../src/types/delivery.ts","../src/types/attempt-plan.ts","../src/attempt-plan.ts","../src/types/attempt-state.ts","../src/attempt-state.ts","../src/authoring/item-group.ts","../src/authoring/index.ts","../src/built-in-types.ts","../src/content-hash.ts","../src/count-words.ts","../src/delivery.ts","../src/errors.ts","../src/item-group.ts","../src/types/media-budget.ts","../src/media-budget.ts","../src/media-refs.ts","../src/standard-schema.ts","../src/registry/define.ts","../src/registry/registry.ts","../src/redact.ts","../src/registry/builtins.ts","../src/shuffle.ts","../src/timeline.ts","../src/timeline-limits.ts","../src/types/theme.ts"],"mappings":";;;;;;;;;;;;;;;;qBAiBa;;;;;;qBCoBA,+BAA+B;qBAM/B,wBAAwB;;qBAOxB;;;;;;wBASG,WA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,OAAO,IAAI;;qBCzInC,oBAAkBA,uBAAA,oBAAA;;qBA4BlB,qBAAmBA,uBAAA,qBAAA;;;;;;;;qBAiCnB,qBAAmBA,uBAAA,qBAAA;;qBAgCnB,eAAaA,uBAAA,eAAA;;;;;;qBA+Bb,eAAaA,uBAAA,eAAA;;;;;;;qBAoFb,eAAaA,uBAAA,eAAA;;;;;;;;;;;;;;;wBC3gBV,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAwCb;;iBAGK;;;;;;;EAOf,UAAU;;;;;;;;;;;wBA0BI,cAAc,GAC5B,gBAAgB,KAChB,cACA,SAAS;EAAyB,SAAS;IAC1C;;;;;;wBAMa,cAAc,GAC5B,gBAAgB,KAChB,cACA,UAAU,uBACT;;;;;;;;;;;;wBCrFa,kBAAkB,gBAAgB,oBAAoB;;;;;;;;;;;;;;;wBA4CtD,qBACd,kBACA,gBAAgB,cAChB,QAAQ,oBACP;;;;;;;;;;;;;;qBCtDU;;YASD,mCAAmC;;wBAG/B,2BAA2B,gBAAgB,QAAQ;;qBAKtD;;;;;;qBAOA;;qBAGA;;qBAGA;;;;;;UCvCI;EAEf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;;EAOA;;;;;;;;;;EAUA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA"}
1
+ {"version":3,"file":"index.d.ts","names":["_$__registry_js0.ActivityTypeDescriptor"],"sources":["../src/ai-material.ts","../src/ai.ts","../src/ai-coaching.ts","../src/ai-critique.ts","../src/ai-drafts.ts","../src/ai-grading.ts","../src/variant-rules.ts","../src/ai-variants.ts","../src/ai-written.ts","../src/ai-writing.ts","../src/types/delivery.ts","../src/types/attempt-plan.ts","../src/attempt-plan.ts","../src/types/attempt-state.ts","../src/attempt-state.ts","../src/authoring/item-group.ts","../src/authoring/index.ts","../src/built-in-types.ts","../src/content-hash.ts","../src/count-words.ts","../src/delivery.ts","../src/errors.ts","../src/item-group.ts","../src/types/media-budget.ts","../src/media-budget.ts","../src/media-refs.ts","../src/standard-schema.ts","../src/registry/define.ts","../src/registry/registry.ts","../src/redact.ts","../src/registry/builtins.ts","../src/shuffle.ts","../src/timeline.ts","../src/timeline-limits.ts","../src/types/theme.ts","../src/versions.ts"],"mappings":";;;;;;;;;;;;;;;;qBAiBa;;;;;;qBCoBA,+BAA+B;qBAM/B,wBAAwB;;qBAOxB;;;;;;wBASG,WAAW,sBAAsB,SAAS;;;;;;;;;wBAmB1C,mBAAmB,MAAM,iBAAiB,SAAS;;wBAUnD,UAAU;EAAU;EAAe;EAAkB;IAAoB;;;;;;;;;;wBAoFzE,aACd,MAAM,iBACN,UAAU,wBACV,kBAAkB,yBACjB;;;;;;;;;;;;;;;;;wBAyKa,qBAAqB;EACnC,MAAM;EACN,UAAU;EACV,UAAU;EACV,QAAQ;EACR;IACE;;;;;;;;;;;;;;wBAoDY,cAAc;EAC5B,MAAM;EACN,UAAU;EACV;EACA,QAAQ;EACR;IACE;;;;;;wBAmCY,iBACd;EACG;EAAU,QAAQ;;EAAmB;EAAW,SAAS;;;;;;;;wBAqC9C,mBACd,cACA,SAAS;EACN;EAAU,QAAQ;;EAAmB;EAAW,SAAS;;;;;;;wBAgB9C,YACd,cACA,SAAS;EACN;EAAU,QAAQ;;EAAmB;EAAW,SAAS;;;;;;;;;;;;;;;;;wBA4B9C,kBAAkB,OAAO,aAAa;;qBCngBzC;;qBAGA;;;;;;;;;;;;;;;;;wBA4JG,kBAAkB;EAChC,MAAM;EACN,aAAa;EACb,QAAQ;EACR;IACE;;;;;;;;;;;;;;;;;;;;;;;;wBAmFY,gBACd,cACA,SAAS;EACN;EAAU,UAAU;;EAAiB;EAAW,SAAS;;;qBC7PjD;;qBAGA;;;;;;;;;;;;;;;;wBAqFG,kBAAkB;EAChC,MAAM;EACN;EACA;EACA;IACE;;;;;;;;;;;;;;;;;;wBAmDY,gB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