Function: runContrastiveLessonDistillation()
ts
function runContrastiveLessonDistillation(params): Promise<string | undefined>;Defined in: runtime/lessons/lesson-distiller-runner.ts:15
Executes contrastive lesson distillation for an accepted loop or gate recovery pair (SPEC.md §3.4.3).
Invokes the configured distiller model with DistilledLessonCandidateSchema, applies the admit: boolean noise filter, and admits reusable lessons with active-overlay epochAtCreation and createdByRunId attribution.
Parameters
| Parameter | Type | Description |
|---|---|---|
params | LessonDistillationParams | Distillation parameters, stores, and trajectory pair. |
Returns
Promise<string | undefined>
Admitted lesson ID, or undefined when filtered or disabled.