ProvenanceOverlapSignalScorer

class ProvenanceOverlapSignalScorer constructor(weight: Double = 0.5) : CollectorSignalScorer

Scores how much two propositions' rich provenance overlaps, as Jaccard similarity of their com.embabel.dice.provenance.SourceLocators. Locators compare by structural equality, so this catches "same source material" even when grounding chunk ids differ or are absent.

Abstains when either side has no provenance entries at all — there's no evidence to compare. Weighted conservatively (0.5), same reasoning as grounding overlap: corroborating, not conclusive on its own.

Parameters

weight

contribution weight for this signal in the aggregated blend; defaults to 0.5.

Constructors

Link copied to clipboard
constructor(weight: Double = 0.5)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun score(pair: CandidatePair, contextId: <Error class: unknown class>): CollectorSignalScore?