Skip to content

Interface: ConformanceRepairResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conformance / ConformanceRepairResponse

Interface: ConformanceRepairResponse

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

Response from a conformance repair pass.

Remarks

applied + rolledBack + residuated accounts for every one of the totalViolations detected. records carries the per-violation disposition in the detector’s deterministic order.

Example

const result = await client.conformance.repair({ format: 'turtle', ontology });
console.log(`${result.applied} repaired, ${result.residuated} left for review`);

Properties

applied

applied: number

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

Violations whose swap was applied and verified sound.


records

records: CorrectionRecordDto[]

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

One record per detected violation, in the detector’s deterministic order.


residuated

residuated: number

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

Violations left residuated for the LLM/human layer.


rolledBack

rolledBack: number

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

Violations whose swap was reversed (would have been unsound).


totalViolations

totalViolations: number

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

Total number of violations detected.