Skip to content

Interface: LogOddsAntecedentContributionDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LogOddsAntecedentContributionDto

Interface: LogOddsAntecedentContributionDto

Section titled “Interface: LogOddsAntecedentContributionDto”

Defined in: src/types/inference.ts:440

What one antecedent contributed to a solution’s score.

antecedentSort: string

Defined in: src/types/inference.ts:444

Its sort name.


antecedentSortId: string

Defined in: src/types/inference.ts:446

Its sort id.


antecedentTermId: string

Defined in: src/types/inference.ts:442

The antecedent’s term.


coverageContribution: number

Defined in: src/types/inference.ts:466

What it added to the coverage term.


credited: boolean

Defined in: src/types/inference.ts:454

Whether this antecedent was credited.

An uncredited antecedent still reports its witnesses — it was matched but did not earn credit, which is a different state from unmatched.


creditedFactIds: string[]

Defined in: src/types/inference.ts:460

The fact ids that earned credit.


logLikelihoodContribution: number

Defined in: src/types/inference.ts:464

What it added to the log-likelihood sum.


logLikelihoodRatio: number

Defined in: src/types/inference.ts:462

Its log-likelihood ratio.


witnesses: LogOddsWitnessDto[]

Defined in: src/types/inference.ts:456

The facts that witnessed it.


witnessFactIds: string[]

Defined in: src/types/inference.ts:458

The witnessing fact ids.