Skip to content

Interface: ContrastiveDistillationTrajectoryPair ​

Defined in: runtime/lessons/lesson-distillation-params.ts:13

Rejected-to-accepted trajectory pair supplied to contrastive lesson distillation (SPEC.md §3.4.3).

Captures the source ('loop' vs 'gate'), rejected attempt output/receipt/deficits, and subsequent accepted attempt output/receipt.

Properties ​

PropertyModifierTypeDescriptionDefined in
acceptedreadonlyobjectSnapshot of the accepted iteration or passing beforeStop gate attempt.runtime/lessons/lesson-distillation-params.ts:24
accepted.outputreadonlyunknown-runtime/lessons/lesson-distillation-params.ts:25
accepted.scopeReceipt?readonlyRecord<string, unknown>-runtime/lessons/lesson-distillation-params.ts:26
rejectedreadonlyobjectSnapshot of the rejected iteration or failed beforeStop gate attempt.runtime/lessons/lesson-distillation-params.ts:17
rejected.deficitsreadonlyreadonly string[]-runtime/lessons/lesson-distillation-params.ts:21
rejected.failedChecks?readonlyreadonly string[]-runtime/lessons/lesson-distillation-params.ts:20
rejected.outputreadonlyunknown-runtime/lessons/lesson-distillation-params.ts:18
rejected.scopeReceipt?readonlyRecord<string, unknown>-runtime/lessons/lesson-distillation-params.ts:19
sourcereadonly"loop" | "gate"Origin of the recovery trajectory ('loop' for outer loop recovery, 'gate' for beforeStop recovery).runtime/lessons/lesson-distillation-params.ts:15

Released under the MIT License.