Skip to content

monad.ai

monad.ai / computeScore

# Function: computeScore() ​

> computeScore(`m`, `meta`, `ctx`, `extraScorers?`): `number`

Defined in: kernel/scoring.ts:241

Computes only the normalized score for a claimant.

Use computeScoreDetailed when debugging or logging why a monad won.

## Parameters ​

### m ​

`MonadIndexEntry`

### meta ​

`ClaimMeta`

### ctx ​

`ScoringContext`

### extraScorers? ​

`Scorer`[] = `[]`

## Returns ​

`number`