@intellectif/lk-core 0.10.0 → 0.10.1
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 +20 -0
- package/dist/{activity-B0zbvu18.d.cts → activity-B2QxK15j.d.cts} +1 -1
- package/dist/{activity-B0zbvu18.d.ts → activity-B2QxK15j.d.ts} +1 -1
- package/dist/{index-u_rBLkuc.d.cts → index-B_scInLM.d.cts} +1 -1
- package/dist/{index-DSfETm4b.d.ts → index-CRKtWP5G.d.ts} +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/schemas.d.cts +2 -2
- package/dist/schemas.d.ts +2 -2
- package/dist/scoring.d.cts +2 -2
- package/dist/scoring.d.ts +2 -2
- package/dist/xapi.d.cts +1 -1
- package/dist/xapi.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @intellectif/lk-core
|
|
2
2
|
|
|
3
|
+
## 0.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ea2d620: `<GapSelect>` — the renderer the dropdown cloze shipped without.
|
|
8
|
+
|
|
9
|
+
`lk-core@0.10.0` registered `gap-select` and `lk-react` had no branch for it. An authored item validated, scored and redacted perfectly, and rendered "This activity type has no renderer" — and `GapSelectData` was not exported from lk-core's public barrel, so a consumer could not even name the type to write a renderer of their own. Both are closed here.
|
|
10
|
+
|
|
11
|
+
**`<GapSelect>`**, also at `@intellectif/lk-react/components/GapSelect`: a selector per `{{id}}` gap, the passage flowing around them. It carries the same contract as the other three built-ins — `value`/`defaultValue`/`onChange`, `practice | exam | review`, `defaultSubmitted`, `outcome`, dev-only boundary validation, reset-on-`data`-change, per-gap marking and authored feedback with a show/hide toggle, and the same render-time refusal of redacted data in `practice` that `<MultipleChoice>` and `<FillInTheBlanks>` make.
|
|
12
|
+
|
|
13
|
+
**The empty first entry is behaviour, not chrome.** It is how a learner leaves a gap alone and how they take an answer back, so an unanswered gap stays distinguishable from a wrong one: the scorer reports `incorrect-omission` and nothing downstream has to guess.
|
|
14
|
+
|
|
15
|
+
`shuffleChoices` is seeded **per gap**, not once per activity — two gaps drawing on one word bank must not be dealt the same order, or the bank's distractors line up column-wise and the second gap is easier than the first. `<ActivitySequence>`'s seed guard now counts `shuffleChoices` alongside `MultipleChoiceData.shuffle`, so an exam that shuffles without a `shuffleSeed` still throws at render.
|
|
16
|
+
|
|
17
|
+
Dispatch is wired in `<ActivitySequence>` and `<ActivityPreview>`, and a test renders a gap-select item through the sequence and asserts the unsupported notice is not what comes back — the gate that was missing when the type shipped half-built.
|
|
18
|
+
|
|
19
|
+
`LkStrings` gains `gapLabel(ordinal)` and `gapPlaceholder`. A dictionary declared as a complete `LkStrings` must add both; partial overrides are unaffected.
|
|
20
|
+
|
|
21
|
+
lk-core's patch is the public type export (`GapSelectData`, `GapSelectGap`, `GapSelectBank`, `GapSelectChoice`, `GapSelectLearnerResponse`) — no behaviour changes.
|
|
22
|
+
|
|
3
23
|
## 0.10.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -1020,4 +1020,4 @@ interface InteractionEvent {
|
|
|
1020
1020
|
payload: Record<string, unknown>;
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
export { type ActivityData as A, type BlankConfig as B, type CriterionScore as C, type DeferredScoringPartial as D, type
|
|
1023
|
+
export { levenshteinDistance as $, type ActivityData as A, type BlankConfig as B, type CriterionScore as C, type DeferredScoringPartial as D, type WrittenResponseLearnerResponse as E, type FillInTheBlanksData as F, type GapSelectBank as G, type WrittenResponseRubric as H, type InlineCorrection as I, type WrittenResponseRubricCriterion as J, type XAPIConfig as K, type LearnerResponse as L, type MultipleChoiceData as M, type NativeControlHint as N, type XAPIContext as O, type XAPIContextActivities as P, type XAPIError as Q, type XAPIObject as R, type ScoringDetail as S, type TextMatchPolicy as T, type XAPIResult as U, type ValidationError as V, type WrittenResponseData as W, type XAPIActor as X, type XAPIScore as Y, type XAPIStatement as Z, type XAPIVerbObject as _, type ActivityDataMap as a, matchText as a0, type ActivityFeedback as b, type ActivityMedia as c, type ActivityResult as d, type ActivityType as e, type FillInTheBlanksLearnerResponse as f, type GapSelectChoice as g, type GapSelectData as h, type GapSelectGap as i, type GapSelectLearnerResponse as j, type GradeRecord as k, type Grader as l, type GraderKind as m, type GraderUsage as n, type GradingState as o, type InteractionEvent as p, type InteractionKind as q, type ItemOutcome as r, type LearnerResponseMap as s, type MultipleChoiceLearnerResponse as t, type MultipleChoiceOption as u, type MultipleChoiceOptionMedia as v, type ScoringOutcome as w, type ScoringResult as x, type TextMatchResult as y, type ValidationResult as z };
|
|
@@ -1020,4 +1020,4 @@ interface InteractionEvent {
|
|
|
1020
1020
|
payload: Record<string, unknown>;
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
export { type ActivityData as A, type BlankConfig as B, type CriterionScore as C, type DeferredScoringPartial as D, type
|
|
1023
|
+
export { levenshteinDistance as $, type ActivityData as A, type BlankConfig as B, type CriterionScore as C, type DeferredScoringPartial as D, type WrittenResponseLearnerResponse as E, type FillInTheBlanksData as F, type GapSelectBank as G, type WrittenResponseRubric as H, type InlineCorrection as I, type WrittenResponseRubricCriterion as J, type XAPIConfig as K, type LearnerResponse as L, type MultipleChoiceData as M, type NativeControlHint as N, type XAPIContext as O, type XAPIContextActivities as P, type XAPIError as Q, type XAPIObject as R, type ScoringDetail as S, type TextMatchPolicy as T, type XAPIResult as U, type ValidationError as V, type WrittenResponseData as W, type XAPIActor as X, type XAPIScore as Y, type XAPIStatement as Z, type XAPIVerbObject as _, type ActivityDataMap as a, matchText as a0, type ActivityFeedback as b, type ActivityMedia as c, type ActivityResult as d, type ActivityType as e, type FillInTheBlanksLearnerResponse as f, type GapSelectChoice as g, type GapSelectData as h, type GapSelectGap as i, type GapSelectLearnerResponse as j, type GradeRecord as k, type Grader as l, type GraderKind as m, type GraderUsage as n, type GradingState as o, type InteractionEvent as p, type InteractionKind as q, type ItemOutcome as r, type LearnerResponseMap as s, type MultipleChoiceLearnerResponse as t, type MultipleChoiceOption as u, type MultipleChoiceOptionMedia as v, type ScoringOutcome as w, type ScoringResult as x, type TextMatchResult as y, type ValidationResult as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ActivityData, c as ActivityMedia,
|
|
1
|
+
import { A as ActivityData, c as ActivityMedia, z as ValidationResult, e as ActivityType, a as ActivityDataMap } from './activity-B2QxK15j.cjs';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
|
|
4
4
|
/** What a stimulus primarily is. Drives validation and layout, never scoring. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ActivityData, c as ActivityMedia,
|
|
1
|
+
import { A as ActivityData, c as ActivityMedia, z as ValidationResult, e as ActivityType, a as ActivityDataMap } from './activity-B2QxK15j.js';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
|
|
4
4
|
/** What a stimulus primarily is. Drives validation and layout, never scoring. */
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ScoredItem } from './scoring.cjs';
|
|
2
2
|
export { AssessmentScore, AssessmentSectionInput, Band, CompositionPolicy, DEFAULT_PASS_THRESHOLD, PassFailureReason, RoundingMode, RoundingPolicy, SectionScore, classifyBand, composeAssessmentScore, computePassThreshold, evaluate, gte, roundGrade, score } from './scoring.cjs';
|
|
3
|
-
import {
|
|
4
|
-
export { b as ActivityFeedback, d as ActivityResult, B as BlankConfig, g as
|
|
5
|
-
import { O as SequenceSlot, S as SequenceEntry, I as ItemGroup } from './index-
|
|
6
|
-
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, P as SequenceSlotGroup, Q as Stimulus, T as StimulusKind, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-
|
|
3
|
+
import { r as ItemOutcome, A as ActivityData, L as LearnerResponse, V as ValidationError, e as ActivityType, a as ActivityDataMap, C as CriterionScore, k as GradeRecord, N as NativeControlHint, c as ActivityMedia, x as ScoringResult, D as DeferredScoringPartial, F as FillInTheBlanksData, f as FillInTheBlanksLearnerResponse, M as MultipleChoiceData, t as MultipleChoiceLearnerResponse, W as WrittenResponseData, E as WrittenResponseLearnerResponse } from './activity-B2QxK15j.cjs';
|
|
4
|
+
export { b as ActivityFeedback, d as ActivityResult, B as BlankConfig, G as GapSelectBank, g as GapSelectChoice, h as GapSelectData, i as GapSelectGap, j as GapSelectLearnerResponse, l as Grader, m as GraderKind, n as GraderUsage, o as GradingState, I as InlineCorrection, p as InteractionEvent, q as InteractionKind, s as LearnerResponseMap, u as MultipleChoiceOption, v as MultipleChoiceOptionMedia, S as ScoringDetail, w as ScoringOutcome, T as TextMatchPolicy, y as TextMatchResult, z as ValidationResult, H as WrittenResponseRubric, J as WrittenResponseRubricCriterion, X as XAPIActor, K as XAPIConfig, O as XAPIContext, P as XAPIContextActivities, Q as XAPIError, R as XAPIObject, U as XAPIResult, Y as XAPIScore, Z as XAPIStatement, _ as XAPIVerbObject, $ as levenshteinDistance, a0 as matchText } from './activity-B2QxK15j.cjs';
|
|
5
|
+
import { O as SequenceSlot, S as SequenceEntry, I as ItemGroup } from './index-B_scInLM.cjs';
|
|
6
|
+
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, P as SequenceSlotGroup, Q as Stimulus, T as StimulusKind, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-B_scInLM.cjs';
|
|
7
7
|
import { z } from 'zod/v4';
|
|
8
8
|
export { AnsweredStatementParams, CompletedStatementParams, SubmittedStatementParams, XAPIObjectParams, XAPIStatementParams, XAPIVerb, XAPIVerbKey, XAPI_VERB_DISPLAY, validateXAPIStatement, xAPIBuilder, xapiDefinitionFor } from './xapi.cjs';
|
|
9
9
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ScoredItem } from './scoring.js';
|
|
2
2
|
export { AssessmentScore, AssessmentSectionInput, Band, CompositionPolicy, DEFAULT_PASS_THRESHOLD, PassFailureReason, RoundingMode, RoundingPolicy, SectionScore, classifyBand, composeAssessmentScore, computePassThreshold, evaluate, gte, roundGrade, score } from './scoring.js';
|
|
3
|
-
import {
|
|
4
|
-
export { b as ActivityFeedback, d as ActivityResult, B as BlankConfig, g as
|
|
5
|
-
import { O as SequenceSlot, S as SequenceEntry, I as ItemGroup } from './index-
|
|
6
|
-
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, P as SequenceSlotGroup, Q as Stimulus, T as StimulusKind, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-
|
|
3
|
+
import { r as ItemOutcome, A as ActivityData, L as LearnerResponse, V as ValidationError, e as ActivityType, a as ActivityDataMap, C as CriterionScore, k as GradeRecord, N as NativeControlHint, c as ActivityMedia, x as ScoringResult, D as DeferredScoringPartial, F as FillInTheBlanksData, f as FillInTheBlanksLearnerResponse, M as MultipleChoiceData, t as MultipleChoiceLearnerResponse, W as WrittenResponseData, E as WrittenResponseLearnerResponse } from './activity-B2QxK15j.js';
|
|
4
|
+
export { b as ActivityFeedback, d as ActivityResult, B as BlankConfig, G as GapSelectBank, g as GapSelectChoice, h as GapSelectData, i as GapSelectGap, j as GapSelectLearnerResponse, l as Grader, m as GraderKind, n as GraderUsage, o as GradingState, I as InlineCorrection, p as InteractionEvent, q as InteractionKind, s as LearnerResponseMap, u as MultipleChoiceOption, v as MultipleChoiceOptionMedia, S as ScoringDetail, w as ScoringOutcome, T as TextMatchPolicy, y as TextMatchResult, z as ValidationResult, H as WrittenResponseRubric, J as WrittenResponseRubricCriterion, X as XAPIActor, K as XAPIConfig, O as XAPIContext, P as XAPIContextActivities, Q as XAPIError, R as XAPIObject, U as XAPIResult, Y as XAPIScore, Z as XAPIStatement, _ as XAPIVerbObject, $ as levenshteinDistance, a0 as matchText } from './activity-B2QxK15j.js';
|
|
5
|
+
import { O as SequenceSlot, S as SequenceEntry, I as ItemGroup } from './index-CRKtWP5G.js';
|
|
6
|
+
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, P as SequenceSlotGroup, Q as Stimulus, T as StimulusKind, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-CRKtWP5G.js';
|
|
7
7
|
import { z } from 'zod/v4';
|
|
8
8
|
export { AnsweredStatementParams, CompletedStatementParams, SubmittedStatementParams, XAPIObjectParams, XAPIStatementParams, XAPIVerb, XAPIVerbKey, XAPI_VERB_DISPLAY, validateXAPIStatement, xAPIBuilder, xapiDefinitionFor } from './xapi.js';
|
|
9
9
|
|
package/dist/schemas.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './activity-
|
|
2
|
-
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-
|
|
1
|
+
import './activity-B2QxK15j.cjs';
|
|
2
|
+
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-B_scInLM.cjs';
|
|
3
3
|
import 'zod/v4';
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './activity-
|
|
2
|
-
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-
|
|
1
|
+
import './activity-B2QxK15j.js';
|
|
2
|
+
export { B as BlankConfigSchema, F as FeedbackSchema, a as FillInTheBlanksDataSchema, G as GapSelectBankSchema, b as GapSelectChoiceSchema, c as GapSelectDataSchema, d as GapSelectGapSchema, e as ItemGroupSchema, M as MediaPlaybackSchema, f as MediaSchema, g as MediaUrlSchema, h as MultipleChoiceDataSchema, i as MultipleChoiceOptionMediaSchema, j as MultipleChoiceOptionSchema, N as NativeControlHintSchema, R as RedactedActivity, k as RedactedBlankConfig, l as RedactedBlankConfigSchema, m as RedactedFillInTheBlanksData, n as RedactedFillInTheBlanksDataSchema, o as RedactedGapSelectBank, p as RedactedGapSelectBankSchema, q as RedactedGapSelectChoice, r as RedactedGapSelectChoiceSchema, s as RedactedGapSelectData, t as RedactedGapSelectDataSchema, u as RedactedGapSelectGap, v as RedactedGapSelectGapSchema, w as RedactedItemGroupSchema, x as RedactedMediaSchema, y as RedactedMultipleChoiceData, z as RedactedMultipleChoiceDataSchema, A as RedactedMultipleChoiceOption, C as RedactedMultipleChoiceOptionMedia, D as RedactedMultipleChoiceOptionMediaSchema, E as RedactedMultipleChoiceOptionSchema, H as RedactedStimulus, J as RedactedStimulusSchema, K as RedactedWrittenResponseData, L as RedactedWrittenResponseDataSchema, U as StimulusSchema, V as TextMatchPolicySchema, W as WrittenResponseDataSchema, X as WrittenResponseRubricCriterionSchema, Y as WrittenResponseRubricSchema, Z as fillInTheBlanksJsonSchema, _ as gapSelectJsonSchema, $ as itemGroupJsonSchema, a0 as jsonSchemaFor, a1 as multipleChoiceJsonSchema, a2 as stimulusJsonSchema, a3 as validateActivity, a4 as validateItemGroup, a5 as writtenResponseJsonSchema } from './index-CRKtWP5G.js';
|
|
3
3
|
import 'zod/v4';
|
package/dist/scoring.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { T as TextMatchPolicy,
|
|
1
|
+
import { r as ItemOutcome, A as ActivityData, L as LearnerResponse, e as ActivityType, x as ScoringResult } from './activity-B2QxK15j.cjs';
|
|
2
|
+
export { T as TextMatchPolicy, y as TextMatchResult, $ as levenshteinDistance, a0 as matchText } from './activity-B2QxK15j.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Rounding for assessment scores.
|
package/dist/scoring.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { T as TextMatchPolicy,
|
|
1
|
+
import { r as ItemOutcome, A as ActivityData, L as LearnerResponse, e as ActivityType, x as ScoringResult } from './activity-B2QxK15j.js';
|
|
2
|
+
export { T as TextMatchPolicy, y as TextMatchResult, $ as levenshteinDistance, a0 as matchText } from './activity-B2QxK15j.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Rounding for assessment scores.
|
package/dist/xapi.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as XAPIActor,
|
|
1
|
+
import { X as XAPIActor, x as ScoringResult, O as XAPIContext, U as XAPIResult, Z as XAPIStatement } from './activity-B2QxK15j.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The set of xAPI verbs emitted by SDK activities, keyed by a stable
|
package/dist/xapi.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as XAPIActor,
|
|
1
|
+
import { X as XAPIActor, x as ScoringResult, O as XAPIContext, U as XAPIResult, Z as XAPIStatement } from './activity-B2QxK15j.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The set of xAPI verbs emitted by SDK activities, keyed by a stable
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intellectif/lk-core",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Framework-free assessment core: Zod activity schemas, pure scoring, rubric & deferred grading, weighted assessment composition, exam attempt plans, and xAPI 1.0.3.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assessment",
|