monad.ai
    Preparing search index...

    Type Alias Scorer

    A pluggable scorer in the mesh decision pipeline.

    Scorers should return a value in [0, 1]. The engine clamps invalid or out-of-range values, so custom scorers cannot corrupt normalized mode.

    type Scorer = {
        defaultWeight: number;
        fn: (m: MonadIndexEntry, meta: ClaimMeta, ctx: ScoringContext) => number;
        name: string;
    }
    Index

    Properties

    Properties

    defaultWeight: number
    fn: (m: MonadIndexEntry, meta: ClaimMeta, ctx: ScoringContext) => number
    name: string