When the Fact & Gap Checker matches a research finding to a claim, it writes every backing URL and title into the claim_sources table alongside a supports boolean flag indicating confirmation or contradiction.
flowchart TD
F[Research Finding] -->|Model Decision| D{Relation?}
D -->|Confirms| C1[Set verdict = correct]
D -->|Contradicts| C2[Set verdict = incorrect]
D -->|New / Regrounds| C3[Set verdict = gap]
C1 --> CS[Write to claim_sources: supports=TRUE]
C2 --> CS2[Write to claim_sources: supports=FALSE]
C3 --> CS
CS --> DB[(claim_sources)]
CS2 --> DBReferenced by