@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.
Files changed (33) hide show
  1. package/dist/{contentSource-B1pqryv6.d.ts → contentSource-BvOpKUeU.d.ts} +362 -79
  2. package/dist/{contentSource-CpTxVrFx.d.cts → contentSource-DT9NaX69.d.cts} +362 -79
  3. package/dist/core/index.d.cts +84 -352
  4. package/dist/core/index.d.ts +84 -352
  5. package/dist/core/index.js.map +1 -1
  6. package/dist/core/index.mjs.map +1 -1
  7. package/dist/{dataLayerProvider-BZqH27f4.d.ts → dataLayerProvider-CY2B2lyW.d.ts} +1 -1
  8. package/dist/{dataLayerProvider-D4c7iUc_.d.cts → dataLayerProvider-wY6s_4x9.d.cts} +1 -1
  9. package/dist/impl/couch/index.d.cts +3 -3
  10. package/dist/impl/couch/index.d.ts +3 -3
  11. package/dist/impl/couch/index.js.map +1 -1
  12. package/dist/impl/couch/index.mjs.map +1 -1
  13. package/dist/impl/static/index.d.cts +4 -4
  14. package/dist/impl/static/index.d.ts +4 -4
  15. package/dist/impl/static/index.js.map +1 -1
  16. package/dist/impl/static/index.mjs.map +1 -1
  17. package/dist/{index-rmNIwnkV.d.ts → index-BkBJlGDX.d.ts} +1 -1
  18. package/dist/{index-DGApnUZ-.d.cts → index-D7WdMDAs.d.cts} +1 -1
  19. package/dist/index.d.cts +10 -10
  20. package/dist/index.d.ts +10 -10
  21. package/dist/index.js +10 -1
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.mjs +10 -1
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/{types-r6fyuWP2.d.cts → types-DjiFOZxJ.d.cts} +1 -1
  26. package/dist/{types-legacy-BytY5eAR.d.cts → types-legacy-CrwyZIvI.d.cts} +1 -1
  27. package/dist/{types-legacy-BytY5eAR.d.ts → types-legacy-CrwyZIvI.d.ts} +1 -1
  28. package/dist/{types-B-Y3aoi5.d.ts → types-uJ2Xn3_X.d.ts} +1 -1
  29. package/dist/util/packer/index.d.cts +3 -3
  30. package/dist/util/packer/index.d.ts +3 -3
  31. package/package.json +3 -3
  32. package/src/core/types/studySession.ts +25 -0
  33. package/src/study/SessionController.ts +9 -0
@@ -1,89 +1,11 @@
1
- import { ah as LearnableWeight, N as UserOutcomeRecord, ai as OrchestrationContext, W as WeightedCard, U as UserDBInterface, C as CourseDBInterface, R as ReplanHints, a7 as StrategyContribution } from '../contentSource-B1pqryv6.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, s as CourseRegistrationDoc, b as CoursesDBInterface, af as GeneratorContext, G as GeneratorResult, _ as HYDRATION_MARKER_ID, $ as HydrationMarker, a0 as NavigatorConstructor, aa as NavigatorRole, ab as NavigatorRoles, a9 as Navigators, j as ScheduledCard, Q as SessionStateSnapshot, t as SessionStateSnapshotProvider, J as SessionTrackingData, i as StudentClassroomDBInterface, h as StudyContentSource, O as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, S as StudySessionItem, 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, E as UsrCrsDataInterface, aj as computeDeviation, al as computeEffectiveWeight, ak as computeSpread, am as createOrchestrationContext, a8 as getCardOrigin, a2 as getRegisteredNavigator, a5 as getRegisteredNavigatorNames, a4 as getRegisteredNavigatorRole, r as getStudySource, a3 as hasRegisteredNavigator, a6 as initializeNavigatorRegistry, ad as isFilter, ac as isGenerator, p as isReview, V as makeStudySessionId, X as newSessionId, a1 as registerNavigator } from '../contentSource-B1pqryv6.js';
3
- export { D as DataLayerProvider } from '../dataLayerProvider-BZqH27f4.js';
4
- import { D as DocType, d as QuestionRecord, b as DocTypePrefixes, C as CardHistory, c as CardRecord } from '../types-legacy-BytY5eAR.js';
5
- export { e as CardData, f as CourseListData, h as DataShapeData, g as DisplayableData, F as Field, G as GuestUsername, Q as QualifiedCardID, i as QuestionData, S as SkuilderCourseData, a as Tag, T as TagStub, l as log } from '../types-legacy-BytY5eAR.js';
1
+ import { ar as LearnableWeight, N as UserOutcomeRecord, as as OrchestrationContext, W as WeightedCard, U as UserDBInterface, 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, s as CourseRegistrationDoc, b as CoursesDBInterface, ap as FilterImpact, af as GeneratorContext, G as GeneratorResult, ao as GeneratorSummary, _ as HYDRATION_MARKER_ID, $ as HydrationMarker, a0 as NavigatorConstructor, aa as NavigatorRole, ab as NavigatorRoles, a9 as Navigators, aq as PipelineForecaster, an as PipelineRunReport, R as ReplanHints, j as ScheduledCard, Q as SessionStateSnapshot, t as SessionStateSnapshotProvider, J as SessionTrackingData, a7 as StrategyContribution, i as StudentClassroomDBInterface, h as StudyContentSource, O as StudySessionDoc, k as StudySessionFailedItem, l as StudySessionFailedNewItem, m as StudySessionFailedReviewItem, S as StudySessionItem, 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, 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, X as newSessionId, ah as pipelineDebugAPI, a1 as registerNavigator, ak as setDebugSessionId } from '../contentSource-BvOpKUeU.js';
3
+ export { D as DataLayerProvider } from '../dataLayerProvider-CY2B2lyW.js';
4
+ import { D as DocType, c as QuestionRecord, i as DocTypePrefixes, C as CardHistory, b as CardRecord } from '../types-legacy-CrwyZIvI.js';
5
+ export { d as CardData, e as CourseListData, g as DataShapeData, f as DisplayableData, 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 { DataShape, ParsedCard } from '@vue-skuilder/common';
7
7
  import 'moment';
8
8
 
9
- declare abstract class Loggable {
10
- protected abstract readonly _className: string;
11
- protected log(...args: unknown[]): void;
12
- protected error(...args: unknown[]): void;
13
- }
14
-
15
- /** Per-course snapshot of SRS backlog state, captured on each SRS generator run. */
16
- interface SrsBacklogDebug {
17
- courseId: string;
18
- /** Total reviews scheduled for this course (due + not-yet-due). */
19
- scheduledTotal: number;
20
- /** Reviews eligible (due) right now. */
21
- dueNow: number;
22
- /** Healthy backlog threshold; multiplier is ×1.0 at or below this. */
23
- healthyBacklog: number;
24
- /** Global multiplier applied to every due review's urgency this run (>= 1.0, unbounded). */
25
- backlogMultiplier: number;
26
- /** Exponential growth-rate base the multiplier climbs by per multiple of healthyBacklog excess. */
27
- backlogGrowthRate: number;
28
- /** Highest review score produced this run (post-multiplier; can exceed 1.0); null if none due. */
29
- topReviewScore: number | null;
30
- /** Human-readable time until the next review comes due, or null if some are due now. */
31
- nextDueIn: string | null;
32
- /** Epoch ms of capture. */
33
- timestamp: number;
34
- }
35
- /** Current backlog snapshot for every course seen, newest-first. */
36
- declare function getSrsBacklogDebug(): SrsBacklogDebug[];
37
- /** Drop all captured snapshots (called on session start, alongside pipeline history). */
38
- declare function clearSrsBacklogDebug(): void;
39
-
40
- /**
41
- * A single named pressure reading. The common shape across strategies: a
42
- * multiplier that climbs under some accumulated condition (staleness, debt,
43
- * blockage), optionally clamped at a cap.
44
- */
45
- interface PressureGaugeDebug {
46
- /** Stable identifier within the source (e.g. 'group:intro-core:target'). */
47
- id: string;
48
- /** Short display label (e.g. 'intro-core targets'). */
49
- label: string;
50
- /** Current pressure multiplier (×1.0 = no pressure). */
51
- multiplier: number;
52
- /** Clamp ceiling, if the multiplier is capped. Omit for unbounded. */
53
- max?: number;
54
- /** One-line context for the reading (counts, mode, staleness). */
55
- detail?: string;
56
- /** Expandable rows (blocked target ids, per-tag debt ages, ...). */
57
- items?: Array<{
58
- label: string;
59
- value?: string;
60
- }>;
61
- }
62
- /** One strategy's pressure snapshot for one course, captured once per run. */
63
- interface StrategyPressureDebug {
64
- /** Producer identity — implementingClass name (e.g. 'prescribed'). */
65
- source: string;
66
- courseId: string;
67
- gauges: PressureGaugeDebug[];
68
- /**
69
- * Highest score this strategy emitted into the candidate pool this run;
70
- * null if it emitted nothing. Compare against the supplyQ head score to
71
- * read how the pressure is competing for slots (same crossover read as the
72
- * SRS panel's `top review`).
73
- */
74
- topScore?: number | null;
75
- /** Label of any one-shot hints emitted alongside the cards this run. */
76
- hintsLabel?: string;
77
- /** Epoch ms of capture. */
78
- timestamp: number;
79
- }
80
- /** Called by a strategy once per run. Latest snapshot per (source, course) wins. */
81
- declare function captureStrategyPressure(snapshot: StrategyPressureDebug): void;
82
- /** Current pressure snapshot for every source seen, newest-first. */
83
- declare function getStrategyPressureDebug(): StrategyPressureDebug[];
84
- /** Drop all captured snapshots (called on session start, alongside pipeline history). */
85
- declare function clearStrategyPressureDebug(): void;
86
-
87
9
  /**
88
10
  * Snapshot of the learning state for a strategy.
89
11
  *
@@ -294,6 +216,84 @@ declare function scoreAccuracyInZone(accuracy: number, target: number, tolerance
294
216
  */
295
217
  declare function recordUserOutcome(context: OrchestrationContext, periodStart: string, periodEnd: string, records: QuestionRecord[], activeStrategyIds: string[], eloStart?: number, eloEnd?: number, config?: SignalConfig): Promise<void>;
296
218
 
219
+ declare abstract class Loggable {
220
+ protected abstract readonly _className: string;
221
+ protected log(...args: unknown[]): void;
222
+ protected error(...args: unknown[]): void;
223
+ }
224
+
225
+ /** Per-course snapshot of SRS backlog state, captured on each SRS generator run. */
226
+ interface SrsBacklogDebug {
227
+ courseId: string;
228
+ /** Total reviews scheduled for this course (due + not-yet-due). */
229
+ scheduledTotal: number;
230
+ /** Reviews eligible (due) right now. */
231
+ dueNow: number;
232
+ /** Healthy backlog threshold; multiplier is ×1.0 at or below this. */
233
+ healthyBacklog: number;
234
+ /** Global multiplier applied to every due review's urgency this run (>= 1.0, unbounded). */
235
+ backlogMultiplier: number;
236
+ /** Exponential growth-rate base the multiplier climbs by per multiple of healthyBacklog excess. */
237
+ backlogGrowthRate: number;
238
+ /** Highest review score produced this run (post-multiplier; can exceed 1.0); null if none due. */
239
+ topReviewScore: number | null;
240
+ /** Human-readable time until the next review comes due, or null if some are due now. */
241
+ nextDueIn: string | null;
242
+ /** Epoch ms of capture. */
243
+ timestamp: number;
244
+ }
245
+ /** Current backlog snapshot for every course seen, newest-first. */
246
+ declare function getSrsBacklogDebug(): SrsBacklogDebug[];
247
+ /** Drop all captured snapshots (called on session start, alongside pipeline history). */
248
+ declare function clearSrsBacklogDebug(): void;
249
+
250
+ /**
251
+ * A single named pressure reading. The common shape across strategies: a
252
+ * multiplier that climbs under some accumulated condition (staleness, debt,
253
+ * blockage), optionally clamped at a cap.
254
+ */
255
+ interface PressureGaugeDebug {
256
+ /** Stable identifier within the source (e.g. 'group:intro-core:target'). */
257
+ id: string;
258
+ /** Short display label (e.g. 'intro-core targets'). */
259
+ label: string;
260
+ /** Current pressure multiplier (×1.0 = no pressure). */
261
+ multiplier: number;
262
+ /** Clamp ceiling, if the multiplier is capped. Omit for unbounded. */
263
+ max?: number;
264
+ /** One-line context for the reading (counts, mode, staleness). */
265
+ detail?: string;
266
+ /** Expandable rows (blocked target ids, per-tag debt ages, ...). */
267
+ items?: Array<{
268
+ label: string;
269
+ value?: string;
270
+ }>;
271
+ }
272
+ /** One strategy's pressure snapshot for one course, captured once per run. */
273
+ interface StrategyPressureDebug {
274
+ /** Producer identity — implementingClass name (e.g. 'prescribed'). */
275
+ source: string;
276
+ courseId: string;
277
+ gauges: PressureGaugeDebug[];
278
+ /**
279
+ * Highest score this strategy emitted into the candidate pool this run;
280
+ * null if it emitted nothing. Compare against the supplyQ head score to
281
+ * read how the pressure is competing for slots (same crossover read as the
282
+ * SRS panel's `top review`).
283
+ */
284
+ topScore?: number | null;
285
+ /** Label of any one-shot hints emitted alongside the cards this run. */
286
+ hintsLabel?: string;
287
+ /** Epoch ms of capture. */
288
+ timestamp: number;
289
+ }
290
+ /** Called by a strategy once per run. Latest snapshot per (source, course) wins. */
291
+ declare function captureStrategyPressure(snapshot: StrategyPressureDebug): void;
292
+ /** Current pressure snapshot for every source seen, newest-first. */
293
+ declare function getStrategyPressureDebug(): StrategyPressureDebug[];
294
+ /** Drop all captured snapshots (called on session start, alongside pipeline history). */
295
+ declare function clearStrategyPressureDebug(): void;
296
+
297
297
  /**
298
298
  * Shared context available to all filters in a pipeline.
299
299
  *
@@ -412,274 +412,6 @@ declare const DIVERSITY_FLOOR = 0.3;
412
412
  */
413
413
  declare function diversityRerank(cards: WeightedCard[], opts?: DiversityRerankOptions): WeightedCard[];
414
414
 
415
- /**
416
- * A navigation pipeline that runs a generator and applies filters sequentially.
417
- *
418
- * Implements StudyContentSource for backward compatibility with SessionController.
419
- *
420
- * ## Usage
421
- *
422
- * ```typescript
423
- * const pipeline = new Pipeline(
424
- * compositeGenerator, // or single generator
425
- * [eloDistanceFilter, interferenceFilter],
426
- * user,
427
- * course
428
- * );
429
- *
430
- * const cards = await pipeline.getWeightedCards(20);
431
- * ```
432
- */
433
- /**
434
- * Narrow capability surface for out-of-band, commit-free reads against a live
435
- * pipeline (see {@link getActivePipeline}). Kept minimal on purpose — consumers
436
- * get the forecast capability, not the whole `Pipeline` class.
437
- */
438
- interface PipelineForecaster {
439
- forecast(opts?: {
440
- hints?: ReplanHints;
441
- unseenOnly?: boolean;
442
- threshold?: number;
443
- limit?: number;
444
- }): Promise<WeightedCard[]>;
445
- }
446
- /**
447
- * Diagnosis of the full card space for the current user.
448
- */
449
- interface CardSpaceDiagnosis {
450
- totalCards: number;
451
- threshold: number;
452
- wellIndicated: number;
453
- encountered: number;
454
- wellIndicatedNew: number;
455
- byType: Record<string, {
456
- total: number;
457
- wellIndicated: number;
458
- new: number;
459
- }>;
460
- filterBreakdown: Array<{
461
- name: string;
462
- wellIndicated: number;
463
- }>;
464
- elapsedMs: number;
465
- }
466
-
467
- /**
468
- * The most recently constructed pipeline for the current session, or null if
469
- * none has been built yet. This is the supported, non-debug accessor for
470
- * out-of-band reads against the live pipeline (e.g. a commit-free
471
- * `forecast()`), replacing reach-ins through `window.skuilder.pipeline`.
472
- */
473
- declare function getActivePipeline(): PipelineForecaster | null;
474
- /**
475
- * Summary of a single generator's contribution.
476
- */
477
- interface GeneratorSummary {
478
- name: string;
479
- cardCount: number;
480
- newCount: number;
481
- reviewCount: number;
482
- topScore: number;
483
- }
484
- /**
485
- * Summary of a filter's impact on scores.
486
- */
487
- interface FilterImpact {
488
- name: string;
489
- boosted: number;
490
- penalized: number;
491
- passed: number;
492
- removed: number;
493
- }
494
- /**
495
- * Complete record of a single pipeline execution.
496
- */
497
- interface PipelineRunReport {
498
- runId: string;
499
- /** Absent for runs fired outside a session (forecasts, editor probes). */
500
- sessionId?: string;
501
- timestamp: Date;
502
- courseId: string;
503
- courseName?: string;
504
- /** User's global ELO at the time of this pipeline run */
505
- userElo?: number;
506
- generatorName: string;
507
- generators?: GeneratorSummary[];
508
- generatedCount: number;
509
- filters: FilterImpact[];
510
- /** Ephemeral hints applied during this run */
511
- hints?: ReplanHints;
512
- finalCount: number;
513
- reviewsSelected: number;
514
- newSelected: number;
515
- /**
516
- * Card data for inspection.
517
- *
518
- * To keep the in-memory ring buffer small, this contains:
519
- * - All selected cards (the actual session output).
520
- * - The top-N highest-scoring non-selected cards (see DISCARDED_KEEP_TOP),
521
- * useful for understanding "near misses" and filter behavior.
522
- *
523
- * The remaining low-score tail of the candidate pool (mostly ELO-window
524
- * pull remnants that filters scored down) is summarized in `discardedTail`
525
- * rather than retained verbatim — each retained card carries a multi-KB
526
- * provenance trail, and the tail is typically hundreds of cards per run.
527
- */
528
- cards: Array<{
529
- cardId: string;
530
- courseId: string;
531
- origin: 'new' | 'review' | 'unknown';
532
- generator?: string;
533
- finalScore: number;
534
- /** Card's ELO (parsed from ELO generator provenance, if available) */
535
- cardElo?: number;
536
- provenance: StrategyContribution[];
537
- tags?: string[];
538
- selected: boolean;
539
- }>;
540
- /**
541
- * Summary of the discarded tail of the candidate pool — cards that were
542
- * generated and scored but neither selected nor retained in `cards`.
543
- *
544
- * Provides breadcrumbs for "where did card X go?" investigations without
545
- * the memory cost of keeping every dropped candidate's provenance.
546
- *
547
- * Future: may carry a bloom filter of discarded cardIds so callers can
548
- * ask "was X in this run's discard tail?" with bounded memory cost.
549
- */
550
- discardedTail?: {
551
- count: number;
552
- /** [min, max] finalScore across the discarded tail. */
553
- scoreRange?: [number, number];
554
- /** [min, max] cardElo across the discarded tail (where parseable). */
555
- eloRange?: [number, number];
556
- /** Human-readable note for console display. */
557
- note: string;
558
- };
559
- }
560
- declare function setDebugSessionId(sessionId: string | undefined): void;
561
- /** Take and clear the runs captured since the previous call, in execution order. */
562
- declare function drainCapturedRuns(): PipelineRunReport[];
563
- /**
564
- * Runs for `sessionId`, oldest first. Bounded by {@link MAX_RUNS} — the
565
- * complete record is `StudySessionDoc.runs`.
566
- */
567
- declare function getRunsForSession(sessionId: string): PipelineRunReport[];
568
- /**
569
- * Console API object exposed on window.skuilder.pipeline
570
- */
571
- declare const pipelineDebugAPI: {
572
- /**
573
- * Get raw run history for programmatic access.
574
- */
575
- readonly runs: PipelineRunReport[];
576
- /**
577
- * Show summary of a specific pipeline run.
578
- */
579
- showRun(idOrIndex?: string | number): void;
580
- /**
581
- * Show summary of the last pipeline run.
582
- */
583
- showLastRun(): void;
584
- /**
585
- * Show detailed provenance for a specific card.
586
- */
587
- showCard(cardId: string): void;
588
- /**
589
- * Explain why reviews may or may not have been selected.
590
- */
591
- explainReviews(): void;
592
- /**
593
- * Show prescribed-related cards from the most recent run.
594
- *
595
- * Highlights:
596
- * - cards directly generated by the prescribed strategy
597
- * - blocked prescribed targets mentioned in provenance
598
- * - support tags resolved for blocked targets
599
- *
600
- * @param groupId - Optional prescribed group ID filter (e.g. 'intro-core')
601
- */
602
- showPrescribed(groupId?: string): void;
603
- /**
604
- * Show all runs in compact format.
605
- */
606
- listRuns(): void;
607
- /**
608
- * Export run history as JSON for bug reports.
609
- */
610
- export(): string;
611
- /**
612
- * Clear run history.
613
- */
614
- clear(): void;
615
- /**
616
- * Show the navigator registry: all registered classes and their roles.
617
- *
618
- * Useful for verifying that consumer-defined navigators were registered
619
- * before pipeline assembly.
620
- */
621
- showRegistry(): void;
622
- /**
623
- * Show strategy documents from the last pipeline run and how they mapped
624
- * to the registry.
625
- *
626
- * If no runs are captured yet, falls back to showing just the registry.
627
- */
628
- showStrategies(): void;
629
- /**
630
- * Scan the full card space through the filter chain for the current user.
631
- *
632
- * Reports how many cards are well-indicated and how many are new.
633
- * Use this to understand how the search space grows during onboarding.
634
- *
635
- * @param threshold - Score threshold for "well indicated" (default 0.10)
636
- */
637
- diagnoseCardSpace(threshold?: number): Promise<CardSpaceDiagnosis | null>;
638
- /**
639
- * Show user's per-tag ELO data. Useful for diagnosing hierarchy gate status.
640
- *
641
- * @param tagFilter - Optional glob pattern(s) to filter tags.
642
- * Examples: 'gpc:expose:*', 'gpc:intro:t-T', ['gpc:expose:t-*', 'gpc:intro:t-*']
643
- */
644
- showTagElo(tagFilter?: string | string[]): Promise<void>;
645
- /**
646
- * Toggle the full-screen UI debugger.
647
- */
648
- ui(): void;
649
- /**
650
- * Internal UI helpers
651
- * @internal
652
- */
653
- _selectRun(index: number): void;
654
- /**
655
- * Internal UI helpers
656
- * @internal
657
- */
658
- _setSearch(query: string): void;
659
- /**
660
- * Internal UI helpers
661
- * @internal
662
- */
663
- _copyConfig(runId: string, btn?: HTMLElement): void;
664
- /**
665
- * Internal UI helpers
666
- * @internal
667
- *
668
- * Copies an "abridged" view of results: just the selected cards with their
669
- * generator, origin, final score, and the top provenance reason. Designed
670
- * for pasting into bug reports without flooding with full provenance.
671
- */
672
- _copyResults(runId: string, btn?: HTMLElement): void;
673
- /**
674
- * Show help.
675
- */
676
- help(): void;
677
- };
678
- /**
679
- * Mount the debug API on window.skuilder.pipeline
680
- */
681
- declare function mountPipelineDebugger(): void;
682
-
683
415
  /**
684
416
  * Template literal type for strategy state document IDs.
685
417
  *
@@ -862,4 +594,4 @@ declare const userDBDebugAPI: {
862
594
  */
863
595
  declare function mountUserDBDebugger(): void;
864
596
 
865
- export { type BulkCardProcessorConfig, type CardFilter, type CardFilterFactory, CardHistory, CardRecord, CourseDBInterface, DIVERSITY_FLOOR, DIVERSITY_STRENGTH, type DiversityRerankOptions, DocType, DocTypePrefixes, type FilterContext, type FilterImpact, type GeneratorSummary, type GradientObservation, type GradientResult, type ImportResult, LearnableWeight, Loggable, OrchestrationContext, type PeriodUpdateInput, type PeriodUpdateResult, type PipelineForecaster, type PipelineRunReport, type PressureGaugeDebug, QuestionRecord, ReplanHints, type SignalConfig, type SrsBacklogDebug, StrategyContribution, type StrategyLearningState, type StrategyPressureDebug, type StrategyStateDoc, type StrategyStateId, UserDBInterface, UserOutcomeRecord, WeightedCard, aggregateOutcomesForGradient, areQuestionRecords, buildStrategyStateId, captureStrategyPressure, clearSrsBacklogDebug, clearStrategyPressureDebug, computeOutcomeSignal, computeStrategyGradient, diversityRerank, docIsDeleted, drainCapturedRuns, getActivePipeline, getCardHistoryID, getDefaultLearnableWeight, getRunsForSession, getSrsBacklogDebug, getStrategyPressureDebug, importParsedCards, isQuestionRecord, mountPipelineDebugger, mountUserDBDebugger, parseCardHistoryID, pipelineDebugAPI, recordUserOutcome, runPeriodUpdate, scoreAccuracyInZone, setDebugSessionId, updateLearningState, updateStrategyWeight, userDBDebugAPI, validateProcessorConfig };
597
+ export { type BulkCardProcessorConfig, type CardFilter, type CardFilterFactory, CardHistory, CardRecord, CourseDBInterface, DIVERSITY_FLOOR, DIVERSITY_STRENGTH, type DiversityRerankOptions, DocType, DocTypePrefixes, type FilterContext, type GradientObservation, type GradientResult, type ImportResult, LearnableWeight, Loggable, OrchestrationContext, type PeriodUpdateInput, type PeriodUpdateResult, type PressureGaugeDebug, QuestionRecord, type SignalConfig, type SrsBacklogDebug, type StrategyLearningState, type StrategyPressureDebug, type StrategyStateDoc, type StrategyStateId, UserDBInterface, UserOutcomeRecord, WeightedCard, 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 };