# Type Alias DecisionEntry

One correlated scoring decision, suitable for JSONL logging and offline analysis.

`decisionId` is the primary correlation key and is unique per forwarded request. `reward` is continuous: fast success approaches `1.0`, slow success approaches `0.7`, and failure is `-0.7`.

type DecisionEntry = {
breakdown: Record<string, ScorerBreakdown>;
decisionId: string;
latencyMs?: number;
margin: number;
monadId: string;
namespace: string;
outcome?: "success" | "failure";
reward?: number;
runnerUp?: { monad_id: string; score: number };
score: number;
timestamp: number;
}

- Defined in kernel/decisionLog.ts:13

##### Index

### Properties

breakdown
decisionId
latencyMs?
margin
monadId
namespace
outcome?
reward?
runnerUp?
score
timestamp

## Properties

### breakdown

breakdown: Record<string, ScorerBreakdown>

- Defined in kernel/decisionLog.ts:20

### decisionId

decisionId: string

- Defined in kernel/decisionLog.ts:14

### `Optional` latencyMs

latencyMs?: number

- Defined in kernel/decisionLog.ts:23

### margin

margin: number

- Defined in kernel/decisionLog.ts:19

### monadId

monadId: string

- Defined in kernel/decisionLog.ts:17

### namespace

namespace: string

- Defined in kernel/decisionLog.ts:16

### `Optional` outcome

outcome?: "success" | "failure"

- Defined in kernel/decisionLog.ts:22

### `Optional` reward

reward?: number

- Defined in kernel/decisionLog.ts:26

### `Optional` runnerUp

runnerUp?: { monad_id: string; score: number }

- Defined in kernel/decisionLog.ts:21

### score

score: number

- Defined in kernel/decisionLog.ts:18

### timestamp

timestamp: number

- Defined in kernel/decisionLog.ts:15