Skip to content

Interface: LessonScoreContextParams ​

Defined in: runtime/lessons/lesson-score-context-params.ts:7

Optional partition and epoch context passed to computeLessonScore() and selectRecalledLessons().

Supplies the active task partitions and live partition contract epochs without exceeding three positional parameters on scoring functions.

Properties ​

PropertyModifierTypeDescriptionDefined in
activePartitions?readonlyreadonly string[]Active logical partitions unlocked for the current actor or loop.runtime/lessons/lesson-score-context-params.ts:9
currentPartitionEpoch?readonlynumberExplicit current epoch $E_{\text{now}}$ for lesson.partition.runtime/lessons/lesson-score-context-params.ts:11
partitionEpochs?readonlyReadonlyMap<string, number>Map of partitionId to current epoch $E_{\text{now}}$ loaded from TopologyStore.runtime/lessons/lesson-score-context-params.ts:13

Released under the MIT License.