Member Junction
    Preparing search index...
    interface ShadowScoringCoordinatorOptions {
        AuditSink?: IShadowScoreAuditSink;
        ChallengerRunner?: IChallengerScoreRunner;
        ExecuteInProcessWhenPublished?: boolean;
        MaxInFlight?: number;
        Rng?: () => number;
        WorkQueuePublisher?: IShadowWorkQueuePublisher;
    }
    Index

    Properties

    ChallengerRunner?: IChallengerScoreRunner
    ExecuteInProcessWhenPublished?: boolean

    Whether to also run ExecuteChallengerEnvelope in-process after publishing to WorkQueuePublisher. Defaults to false when WorkQueuePublisher is supplied (so the external worker is the sole consumer and the challenger is never double-run), and true when WorkQueuePublisher is omitted.

    MaxInFlight?: number

    Maximum number of concurrent in-flight shadow tasks allowed at once. Additional sampled envelopes arriving while at capacity are dropped (and counted in ShadowScoringCoordinator.DroppedCount) so a slow challenger can never cause unbounded memory growth. Defaults to 64.

    Rng?: () => number

    Injectable RNG returning [0, 1) for deterministic sampling in tests.

    WorkQueuePublisher?: IShadowWorkQueuePublisher