Skip to content

Interface: PredictionEntry

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Compliance / PredictionEntry

Interface: PredictionEntry

Defined in: src/types/compliance.ts:135

A single prediction frozen into a snapshot, awaiting validation.

Properties

capturedStatus

capturedStatus: GroundTruthStatus

Defined in: src/types/compliance.ts:145

Verdict at capture time — always Pending.


id

id: string

Defined in: src/types/compliance.ts:137

Stable id of this entry within the snapshot.


requestHash

requestHash: string

Defined in: src/types/compliance.ts:139

Hash of the audited request body that produced the prediction.


responseSummary

responseSummary: unknown

Defined in: src/types/compliance.ts:141

Domain-shaped opaque payload — the engine never interprets it.


sourceRecordId

sourceRecordId: string

Defined in: src/types/compliance.ts:143

Back-pointer to the audit record this entry was derived from.


validatedAt?

optional validatedAt: string | null

Defined in: src/types/compliance.ts:149

ISO-8601 timestamp of the most recent validation pass.


validatedStatus?

optional validatedStatus: GroundTruthStatus | null

Defined in: src/types/compliance.ts:147

Verdict after the most recent validation pass; null until run.