Skip to content

Interface: SemanticProbeResult

Defined in: packages/core/src/introspection/SemanticProbe.ts:120

Result of a single semantic probe evaluation.

Properties

contractViolated

ts
readonly contractViolated: boolean;

Defined in: packages/core/src/introspection/SemanticProbe.ts:128

Whether the behavioral contract was violated


driftLevel

ts
readonly driftLevel: DriftLevel;

Defined in: packages/core/src/introspection/SemanticProbe.ts:126

Drift classification


evaluatedAt

ts
readonly evaluatedAt: string;

Defined in: packages/core/src/introspection/SemanticProbe.ts:136

ISO-8601 timestamp of evaluation


probe

ts
readonly probe: SemanticProbe;

Defined in: packages/core/src/introspection/SemanticProbe.ts:122

The probe that was evaluated


rawResponse

ts
readonly rawResponse: string | null;

Defined in: packages/core/src/introspection/SemanticProbe.ts:134

Raw LLM response (if configured)


reasoning

ts
readonly reasoning: string;

Defined in: packages/core/src/introspection/SemanticProbe.ts:132

LLM judge's reasoning


similarityScore

ts
readonly similarityScore: number;

Defined in: packages/core/src/introspection/SemanticProbe.ts:124

Semantic similarity score (0.0 = completely different, 1.0 = identical)


violations

ts
readonly violations: readonly string[];

Defined in: packages/core/src/introspection/SemanticProbe.ts:130

Specific violations detected by the judge