Interface: EvidenceAssessmentResponse
@kortexya/reasoninglayer / EvidenceAssessmentResponse
Interface: EvidenceAssessmentResponse
Section titled “Interface: EvidenceAssessmentResponse”Defined in: src/types/reasoning.ts:197
Response from evidence-based assessment.
Properties
Section titled “Properties”avgContradictQuality
Section titled “avgContradictQuality”avgContradictQuality:
number
Defined in: src/types/reasoning.ts:199
Average quality of contradicting evidence.
avgSupportQuality
Section titled “avgSupportQuality”avgSupportQuality:
number
Defined in: src/types/reasoning.ts:201
Average quality of supporting evidence.
color:
string
Defined in: src/types/reasoning.ts:203
CSS color for UI display (hex format, e.g., “#52c41a”).
computationTimeMs
Section titled “computationTimeMs”computationTimeMs:
number
Defined in: src/types/reasoning.ts:205
Computation time in milliseconds.
contradictingEvidence
Section titled “contradictingEvidence”contradictingEvidence:
EvidenceItemDto[]
Defined in: src/types/reasoning.ts:207
Contradicting evidence items.
evidenceCount
Section titled “evidenceCount”evidenceCount:
number
Defined in: src/types/reasoning.ts:209
Total evidence count.
explanation
Section titled “explanation”explanation:
string[]
Defined in: src/types/reasoning.ts:211
Explanation trace (list of reasoning steps).
label:
string
Defined in: src/types/reasoning.ts:213
Human-readable label based on truthfulness score.
maxQuality
Section titled “maxQuality”maxQuality:
number
Defined in: src/types/reasoning.ts:215
Maximum quality weight among all evidence.
penaltyApplied?
Section titled “penaltyApplied?”
optionalpenaltyApplied?:number|null
Defined in: src/types/reasoning.ts:217
Penalty applied (if any).
residuated
Section titled “residuated”residuated:
boolean
Defined in: src/types/reasoning.ts:219
Whether assessment is residuated (suspended due to insufficient evidence).
residuationReason?
Section titled “residuationReason?”
optionalresiduationReason?:string|null
Defined in: src/types/reasoning.ts:221
Reason for residuation if applicable.
residuationTrigger?
Section titled “residuationTrigger?”
optionalresiduationTrigger?:string|null
Defined in: src/types/reasoning.ts:223
Trigger that would lift residuation.
scoreBeforePenalty?
Section titled “scoreBeforePenalty?”
optionalscoreBeforePenalty?:number|null
Defined in: src/types/reasoning.ts:225
Score before penalty was applied.
subjectId
Section titled “subjectId”subjectId:
string
Defined in: src/types/reasoning.ts:227
Subject term ID that was assessed (UUID).
supportingEvidence
Section titled “supportingEvidence”supportingEvidence:
EvidenceItemDto[]
Defined in: src/types/reasoning.ts:229
Supporting evidence items.
truthfulness
Section titled “truthfulness”truthfulness:
number
Defined in: src/types/reasoning.ts:231
Computed truthfulness/validity score (0.0-1.0).