@vue-skuilder/db 0.2.22 → 0.2.23
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/dist/{contentSource-B1pqryv6.d.ts → contentSource-BvOpKUeU.d.ts} +362 -79
- package/dist/{contentSource-CpTxVrFx.d.cts → contentSource-DT9NaX69.d.cts} +362 -79
- package/dist/core/index.d.cts +84 -352
- package/dist/core/index.d.ts +84 -352
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs.map +1 -1
- package/dist/{dataLayerProvider-BZqH27f4.d.ts → dataLayerProvider-CY2B2lyW.d.ts} +1 -1
- package/dist/{dataLayerProvider-D4c7iUc_.d.cts → dataLayerProvider-wY6s_4x9.d.cts} +1 -1
- package/dist/impl/couch/index.d.cts +3 -3
- package/dist/impl/couch/index.d.ts +3 -3
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.d.cts +4 -4
- package/dist/impl/static/index.d.ts +4 -4
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/{index-rmNIwnkV.d.ts → index-BkBJlGDX.d.ts} +1 -1
- package/dist/{index-DGApnUZ-.d.cts → index-D7WdMDAs.d.cts} +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{types-r6fyuWP2.d.cts → types-DjiFOZxJ.d.cts} +1 -1
- package/dist/{types-legacy-BytY5eAR.d.cts → types-legacy-CrwyZIvI.d.cts} +1 -1
- package/dist/{types-legacy-BytY5eAR.d.ts → types-legacy-CrwyZIvI.d.ts} +1 -1
- package/dist/{types-B-Y3aoi5.d.ts → types-uJ2Xn3_X.d.ts} +1 -1
- package/dist/util/packer/index.d.cts +3 -3
- package/dist/util/packer/index.d.ts +3 -3
- package/package.json +3 -3
- package/src/core/types/studySession.ts +25 -0
- package/src/study/SessionController.ts +9 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PackerConfig, a as PackedCourseData, S as StaticCourseManifest } from './types-
|
|
1
|
+
import { P as PackerConfig, a as PackedCourseData, S as StaticCourseManifest } from './types-uJ2Xn3_X.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Abstraction for file system operations needed by the migrator.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PackerConfig, a as PackedCourseData, S as StaticCourseManifest } from './types-
|
|
1
|
+
import { P as PackerConfig, a as PackedCourseData, S as StaticCourseManifest } from './types-DjiFOZxJ.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Abstraction for file system operations needed by the migrator.
|
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { U as UserDBInterface, s as CourseRegistrationDoc, S as StudySessionItem, W as WeightedCard, R as ReplanHints, h as StudyContentSource, t as SessionStateSnapshotProvider, G as GeneratorResult, C as CourseDBInterface } from './contentSource-
|
|
2
|
-
export { L as ActivityRecord, A as AdminDBInterface, w as AssignedCard, g as AssignedContent, v as AssignedCourse, u as AssignedTag, ae as CardGenerator, ag as CardGeneratorFactory, c as ClassroomDBInterface, H as ClassroomRegistration, F as ClassroomRegistrationDesignation, I as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, M as CourseRegistration, b as CoursesDBInterface,
|
|
3
|
-
import { D as DataLayerProvider } from './dataLayerProvider-
|
|
4
|
-
import { C as CardHistory,
|
|
5
|
-
export {
|
|
1
|
+
import { U as UserDBInterface, s as CourseRegistrationDoc, S as StudySessionItem, W as WeightedCard, R as ReplanHints, h as StudyContentSource, t as SessionStateSnapshotProvider, G as GeneratorResult, C as CourseDBInterface } from './contentSource-DT9NaX69.cjs';
|
|
2
|
+
export { L as ActivityRecord, A as AdminDBInterface, w as AssignedCard, g as AssignedContent, v as AssignedCourse, u as AssignedTag, ae as CardGenerator, ag as CardGeneratorFactory, c as ClassroomDBInterface, H as ClassroomRegistration, F as ClassroomRegistrationDesignation, I as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, M as CourseRegistration, b as CoursesDBInterface, ax as DocumentUpdater, ap as FilterImpact, af as GeneratorContext, ao as GeneratorSummary, _ as HYDRATION_MARKER_ID, $ as HydrationMarker, ar as LearnableWeight, a0 as NavigatorConstructor, aa as NavigatorRole, ab as NavigatorRoles, a9 as Navigators, as as OrchestrationContext, aq as PipelineForecaster, an as PipelineRunReport, j as ScheduledCard, Q as SessionStateSnapshot, J as SessionTrackingData, a7 as StrategyContribution, i as StudentClassroomDBInterface, O as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, n as StudySessionNewItem, o as StudySessionReviewItem, P as StudySessionRunSummary, T as TeacherClassroomDBInterface, K as UserConfig, B as UserCourseSetting, z as UserCourseSettings, y as UserDBAuthenticator, a as UserDBReader, x as UserDBWriter, Y as UserHydrationState, Z as UserHydrationStatus, N as UserOutcomeRecord, E as UsrCrsDataInterface, at as computeDeviation, av as computeEffectiveWeight, au as computeSpread, aw as createOrchestrationContext, am as drainCapturedRuns, aj as getActivePipeline, a8 as getCardOrigin, a2 as getRegisteredNavigator, a5 as getRegisteredNavigatorNames, a4 as getRegisteredNavigatorRole, al as getRunsForSession, r as getStudySource, a3 as hasRegisteredNavigator, a6 as initializeNavigatorRegistry, ad as isFilter, ac as isGenerator, p as isReview, V as makeStudySessionId, ai as mountPipelineDebugger, ay as newInterval, X as newSessionId, ah as pipelineDebugAPI, a1 as registerNavigator, ak as setDebugSessionId } from './contentSource-DT9NaX69.cjs';
|
|
3
|
+
import { D as DataLayerProvider } from './dataLayerProvider-wY6s_4x9.cjs';
|
|
4
|
+
import { C as CardHistory, b as CardRecord, c as QuestionRecord } from './types-legacy-CrwyZIvI.cjs';
|
|
5
|
+
export { d as CardData, e as CourseListData, g as DataShapeData, f as DisplayableData, D as DocType, i as DocTypePrefixes, F as Field, G as GuestUsername, Q as QualifiedCardID, h as QuestionData, S as SkuilderCourseData, a as Tag, T as TagStub, l as log } from './types-legacy-CrwyZIvI.cjs';
|
|
6
6
|
import { SrsBacklogDebug, StrategyPressureDebug, Loggable } from './core/index.cjs';
|
|
7
|
-
export { BulkCardProcessorConfig, CardFilter, CardFilterFactory, DIVERSITY_FLOOR, DIVERSITY_STRENGTH, DiversityRerankOptions, FilterContext,
|
|
7
|
+
export { BulkCardProcessorConfig, CardFilter, CardFilterFactory, DIVERSITY_FLOOR, DIVERSITY_STRENGTH, DiversityRerankOptions, FilterContext, GradientObservation, GradientResult, ImportResult, PeriodUpdateInput, PeriodUpdateResult, PressureGaugeDebug, SignalConfig, StrategyLearningState, StrategyStateDoc, StrategyStateId, aggregateOutcomesForGradient, areQuestionRecords, buildStrategyStateId, captureStrategyPressure, clearSrsBacklogDebug, clearStrategyPressureDebug, computeOutcomeSignal, computeStrategyGradient, diversityRerank, docIsDeleted, getCardHistoryID, getDefaultLearnableWeight, getSrsBacklogDebug, getStrategyPressureDebug, importParsedCards, isQuestionRecord, mountUserDBDebugger, parseCardHistoryID, recordUserOutcome, runPeriodUpdate, scoreAccuracyInZone, updateLearningState, updateStrategyWeight, userDBDebugAPI, validateProcessorConfig } from './core/index.cjs';
|
|
8
8
|
import { TaggedPerformance, TagFilter, DataShape, CourseConfig } from '@vue-skuilder/common';
|
|
9
|
-
import { S as StaticCourseManifest } from './types-
|
|
10
|
-
export { A as AttachmentData, C as ChunkMetadata, D as DesignDocument, I as IndexMetadata, a as PackedCourseData, P as PackerConfig } from './types-
|
|
11
|
-
import { F as FileSystemAdapter } from './index-
|
|
12
|
-
export { C as CouchDBToStaticPacker, a as FileStats, b as FileSystemError } from './index-
|
|
9
|
+
import { S as StaticCourseManifest } from './types-DjiFOZxJ.cjs';
|
|
10
|
+
export { A as AttachmentData, C as ChunkMetadata, D as DesignDocument, I as IndexMetadata, a as PackedCourseData, P as PackerConfig } from './types-DjiFOZxJ.cjs';
|
|
11
|
+
import { F as FileSystemAdapter } from './index-D7WdMDAs.cjs';
|
|
12
|
+
export { C as CouchDBToStaticPacker, a as FileStats, b as FileSystemError } from './index-D7WdMDAs.cjs';
|
|
13
13
|
import moment from 'moment';
|
|
14
14
|
|
|
15
15
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { U as UserDBInterface, s as CourseRegistrationDoc, S as StudySessionItem, W as WeightedCard, R as ReplanHints, h as StudyContentSource, t as SessionStateSnapshotProvider, G as GeneratorResult, C as CourseDBInterface } from './contentSource-
|
|
2
|
-
export { L as ActivityRecord, A as AdminDBInterface, w as AssignedCard, g as AssignedContent, v as AssignedCourse, u as AssignedTag, ae as CardGenerator, ag as CardGeneratorFactory, c as ClassroomDBInterface, H as ClassroomRegistration, F as ClassroomRegistrationDesignation, I as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, M as CourseRegistration, b as CoursesDBInterface,
|
|
3
|
-
import { D as DataLayerProvider } from './dataLayerProvider-
|
|
4
|
-
import { C as CardHistory,
|
|
5
|
-
export {
|
|
1
|
+
import { U as UserDBInterface, s as CourseRegistrationDoc, S as StudySessionItem, W as WeightedCard, R as ReplanHints, h as StudyContentSource, t as SessionStateSnapshotProvider, G as GeneratorResult, C as CourseDBInterface } from './contentSource-BvOpKUeU.js';
|
|
2
|
+
export { L as ActivityRecord, A as AdminDBInterface, w as AssignedCard, g as AssignedContent, v as AssignedCourse, u as AssignedTag, ae as CardGenerator, ag as CardGeneratorFactory, c as ClassroomDBInterface, H as ClassroomRegistration, F as ClassroomRegistrationDesignation, I as ClassroomRegistrationDoc, e as ContentNavigationStrategyData, f as ContentNavigator, q as ContentSourceID, d as CourseInfo, M as CourseRegistration, b as CoursesDBInterface, ax as DocumentUpdater, ap as FilterImpact, af as GeneratorContext, ao as GeneratorSummary, _ as HYDRATION_MARKER_ID, $ as HydrationMarker, ar as LearnableWeight, a0 as NavigatorConstructor, aa as NavigatorRole, ab as NavigatorRoles, a9 as Navigators, as as OrchestrationContext, aq as PipelineForecaster, an as PipelineRunReport, j as ScheduledCard, Q as SessionStateSnapshot, J as SessionTrackingData, a7 as StrategyContribution, i as StudentClassroomDBInterface, O as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, n as StudySessionNewItem, o as StudySessionReviewItem, P as StudySessionRunSummary, T as TeacherClassroomDBInterface, K as UserConfig, B as UserCourseSetting, z as UserCourseSettings, y as UserDBAuthenticator, a as UserDBReader, x as UserDBWriter, Y as UserHydrationState, Z as UserHydrationStatus, N as UserOutcomeRecord, E as UsrCrsDataInterface, at as computeDeviation, av as computeEffectiveWeight, au as computeSpread, aw as createOrchestrationContext, am as drainCapturedRuns, aj as getActivePipeline, a8 as getCardOrigin, a2 as getRegisteredNavigator, a5 as getRegisteredNavigatorNames, a4 as getRegisteredNavigatorRole, al as getRunsForSession, r as getStudySource, a3 as hasRegisteredNavigator, a6 as initializeNavigatorRegistry, ad as isFilter, ac as isGenerator, p as isReview, V as makeStudySessionId, ai as mountPipelineDebugger, ay as newInterval, X as newSessionId, ah as pipelineDebugAPI, a1 as registerNavigator, ak as setDebugSessionId } from './contentSource-BvOpKUeU.js';
|
|
3
|
+
import { D as DataLayerProvider } from './dataLayerProvider-CY2B2lyW.js';
|
|
4
|
+
import { C as CardHistory, b as CardRecord, c as QuestionRecord } from './types-legacy-CrwyZIvI.js';
|
|
5
|
+
export { d as CardData, e as CourseListData, g as DataShapeData, f as DisplayableData, D as DocType, i as DocTypePrefixes, F as Field, G as GuestUsername, Q as QualifiedCardID, h as QuestionData, S as SkuilderCourseData, a as Tag, T as TagStub, l as log } from './types-legacy-CrwyZIvI.js';
|
|
6
6
|
import { SrsBacklogDebug, StrategyPressureDebug, Loggable } from './core/index.js';
|
|
7
|
-
export { BulkCardProcessorConfig, CardFilter, CardFilterFactory, DIVERSITY_FLOOR, DIVERSITY_STRENGTH, DiversityRerankOptions, FilterContext,
|
|
7
|
+
export { BulkCardProcessorConfig, CardFilter, CardFilterFactory, DIVERSITY_FLOOR, DIVERSITY_STRENGTH, DiversityRerankOptions, FilterContext, GradientObservation, GradientResult, ImportResult, PeriodUpdateInput, PeriodUpdateResult, PressureGaugeDebug, SignalConfig, StrategyLearningState, StrategyStateDoc, StrategyStateId, aggregateOutcomesForGradient, areQuestionRecords, buildStrategyStateId, captureStrategyPressure, clearSrsBacklogDebug, clearStrategyPressureDebug, computeOutcomeSignal, computeStrategyGradient, diversityRerank, docIsDeleted, getCardHistoryID, getDefaultLearnableWeight, getSrsBacklogDebug, getStrategyPressureDebug, importParsedCards, isQuestionRecord, mountUserDBDebugger, parseCardHistoryID, recordUserOutcome, runPeriodUpdate, scoreAccuracyInZone, updateLearningState, updateStrategyWeight, userDBDebugAPI, validateProcessorConfig } from './core/index.js';
|
|
8
8
|
import { TaggedPerformance, TagFilter, DataShape, CourseConfig } from '@vue-skuilder/common';
|
|
9
|
-
import { S as StaticCourseManifest } from './types-
|
|
10
|
-
export { A as AttachmentData, C as ChunkMetadata, D as DesignDocument, I as IndexMetadata, a as PackedCourseData, P as PackerConfig } from './types-
|
|
11
|
-
import { F as FileSystemAdapter } from './index-
|
|
12
|
-
export { C as CouchDBToStaticPacker, a as FileStats, b as FileSystemError } from './index-
|
|
9
|
+
import { S as StaticCourseManifest } from './types-uJ2Xn3_X.js';
|
|
10
|
+
export { A as AttachmentData, C as ChunkMetadata, D as DesignDocument, I as IndexMetadata, a as PackedCourseData, P as PackerConfig } from './types-uJ2Xn3_X.js';
|
|
11
|
+
import { F as FileSystemAdapter } from './index-BkBJlGDX.js';
|
|
12
|
+
export { C as CouchDBToStaticPacker, a as FileStats, b as FileSystemError } from './index-BkBJlGDX.js';
|
|
13
13
|
import moment from 'moment';
|
|
14
14
|
|
|
15
15
|
/**
|
package/dist/index.js
CHANGED
|
@@ -14935,7 +14935,16 @@ var SessionController = class _SessionController extends Loggable {
|
|
|
14935
14935
|
generatedCount: run.generatedCount,
|
|
14936
14936
|
finalCount: run.finalCount,
|
|
14937
14937
|
reviewsSelected: run.reviewsSelected,
|
|
14938
|
-
newSelected: run.newSelected
|
|
14938
|
+
newSelected: run.newSelected,
|
|
14939
|
+
// Compact detail projected off the full report so a persisted run is
|
|
14940
|
+
// self-explanatory once the in-memory ring buffer has rolled over.
|
|
14941
|
+
// Per-card provenance (`run.cards`) is intentionally left out — it's
|
|
14942
|
+
// the dominant memory cost and not worth persisting per run.
|
|
14943
|
+
...typeof run.userElo === "number" ? { userElo: run.userElo } : {},
|
|
14944
|
+
...run.generators ? { generators: run.generators } : {},
|
|
14945
|
+
...run.filters ? { filters: run.filters } : {},
|
|
14946
|
+
...run.hints ? { hints: run.hints } : {},
|
|
14947
|
+
...run.discardedTail ? { discardedTail: run.discardedTail } : {}
|
|
14939
14948
|
});
|
|
14940
14949
|
}
|
|
14941
14950
|
}
|