Interface: ViolationCountsDto
@kortexya/reasoninglayer / ViolationCountsDto
Interface: ViolationCountsDto
Section titled “Interface: ViolationCountsDto”Defined in: src/types/conformance.ts:22
Violation totals broken down by detected pattern.
Remarks
Section titled “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
Section titled “Example”const counts: ViolationCountsDto = { v1Inversion: 2, v2WrongFeature: 0, v3UnderspecifiedType: 1,};Properties
Section titled “Properties”v1Inversion
Section titled “v1Inversion”v1Inversion:
number
Defined in: src/types/conformance.ts:24
V1 — subject/object inversions.
v2WrongFeature
Section titled “v2WrongFeature”v2WrongFeature:
number
Defined in: src/types/conformance.ts:26
V2 — wrong-feature violations.
v3UnderspecifiedType
Section titled “v3UnderspecifiedType”v3UnderspecifiedType:
number
Defined in: src/types/conformance.ts:28
V3 — underspecified-type violations.