Interface: EvidenceItemDto
@kortexya/reasoninglayer / EvidenceItemDto
Interface: EvidenceItemDto
Section titled “Interface: EvidenceItemDto”Defined in: src/types/reasoning.ts:170
A single piece of evidence used in assessment.
Properties
Section titled “Properties”contribution
Section titled “contribution”contribution:
number
Defined in: src/types/reasoning.ts:172
Contribution to the assessment (quality * support direction).
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: src/types/reasoning.ts:185
The evidence term’s own human-readable sentence, e.g.
"Aspirin reduces_risk_of Cancer".
termId is a UUID no consumer can render, so without this an evidence row
could only be shown as Evidence item <uuid>. The backend resolves it from
the term under the same display-name precedence TermDto.displayName uses,
so the sentence shown here and the one shown for the term never disagree.
null when talking to a backend that predates evidence descriptions, or
when the evidence term carries no description of its own.
qualityWeight
Section titled “qualityWeight”qualityWeight:
number
Defined in: src/types/reasoning.ts:187
Quality weight of this evidence (0.0-1.0).
supports
Section titled “supports”supports:
boolean
Defined in: src/types/reasoning.ts:189
Whether this evidence supports (true) or contradicts (false) the subject.
termId
Section titled “termId”termId:
string
Defined in: src/types/reasoning.ts:191
Evidence term ID (UUID).