Skip to content

Interface: GenerationVerificationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GenerationVerificationDto

Defined in: src/types/generation.ts:73

Verification result for a generated document.

checks: ConstraintCheckDto[]

Defined in: src/types/generation.ts:75

Individual constraint check results.


coverage: number

Defined in: src/types/generation.ts:77

Citation coverage ratio (0.0-1.0).


passed: boolean

Defined in: src/types/generation.ts:83

Whether all hard constraints are satisfied. Includes the checks No malformed citation markers and At least one component cited, so it is never true at 0 % coverage or with a malformed marker.


softConstraintScore: number

Defined in: src/types/generation.ts:85

Soft constraint satisfaction score (0.0-1.0).


violations: ViolationDto[]

Defined in: src/types/generation.ts:87

Violations found during verification.