Interface: CoherenceMetrics
@kortexya/reasoninglayer / CoherenceMetrics
Interface: CoherenceMetrics
Section titled “Interface: CoherenceMetrics”Defined in: src/types/coherence.ts:340
Aggregate metrics of the claim graph.
Properties
Section titled “Properties”boundaryFlux
Section titled “boundaryFlux”boundaryFlux:
CoherenceBoundaryFlux[]
Defined in: src/types/coherence.ts:356
Flux profile, one entry per boundary (claimCount - 1 entries).
claimCount
Section titled “claimCount”claimCount:
number
Defined in: src/types/coherence.ts:342
Number of claims analyzed.
linkDensity
Section titled “linkDensity”linkDensity:
number
Defined in: src/types/coherence.ts:346
Non-independent links divided by the pair count (0 when there are no pairs).
pairCount
Section titled “pairCount”pairCount:
number
Defined in: src/types/coherence.ts:344
Number of unordered pairs, n(n - 1) / 2.
perKindDensity
Section titled “perKindDensity”perKindDensity:
Record<string,number>
Defined in: src/types/coherence.ts:354
Link density per link kind (count / pair count).
Remarks
Section titled “Remarks”The keys are link-kind names (data), passed through verbatim in their
snake_case wire spelling (stricter_in_later, …).
weakestBoundary?
Section titled “weakestBoundary?”
optionalweakestBoundary?:number
Defined in: src/types/coherence.ts:358
Boundary with the minimum crossing weight: the weakest logical joint of the text.