Interface: ViolationCountsDto
@kortexya/reasoninglayer / Conformance / ViolationCountsDto
Interface: ViolationCountsDto
Defined in: src/types/conformance.ts:23
Violation totals broken down by detected pattern.
Remarks
The three kinds correspond to the repair policy: only v1Inversion is
unambiguous enough to be auto-repaired; v2WrongFeature and
v3UnderspecifiedType are residuated for the LLM/human layer.
Example
const counts: ViolationCountsDto = { v1Inversion: 2, v2WrongFeature: 0, v3UnderspecifiedType: 1,};Properties
v1Inversion
v1Inversion:
number
Defined in: src/types/conformance.ts:25
V1 — subject/object inversions.
v2WrongFeature
v2WrongFeature:
number
Defined in: src/types/conformance.ts:27
V2 — wrong-feature violations.
v3UnderspecifiedType
v3UnderspecifiedType:
number
Defined in: src/types/conformance.ts:29
V3 — underspecified-type violations.