Skip to content

Interface: ViolationCountsDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ViolationCountsDto

Defined in: src/types/conformance.ts:22

Violation totals broken down by detected pattern.

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.

const counts: ViolationCountsDto = {
v1Inversion: 2,
v2WrongFeature: 0,
v3UnderspecifiedType: 1,
};

v1Inversion: number

Defined in: src/types/conformance.ts:24

V1 — subject/object inversions.


v2WrongFeature: number

Defined in: src/types/conformance.ts:26

V2 — wrong-feature violations.


v3UnderspecifiedType: number

Defined in: src/types/conformance.ts:28

V3 — underspecified-type violations.