Interface: NextQuestion
@kortexya/reasoninglayer / NextQuestion
Interface: NextQuestion
Section titled “Interface: NextQuestion”Defined in: src/types/inference.ts:1187
A question the engine proposes next, ranked by what its answer is worth to the current differential.
Properties
Section titled “Properties”informationGain
Section titled “informationGain”informationGain:
number
Defined in: src/types/inference.ts:1194
Expected information gain in nats: the expected drop in the entropy of the candidate posterior, averaged over yes and no.
overCandidates
Section titled “overCandidates”overCandidates:
number
Defined in: src/types/inference.ts:1198
How many leading candidates the gain was computed over.
pYes:
number
Defined in: src/types/inference.ts:1196
The engine’s expectation that the answer is yes, mixed over the candidates it weighed.
sort:
string
Defined in: src/types/inference.ts:1189
The finding to ask about (a sort name in the rule base).