Interface: CompetitorForecast
@kortexya/reasoninglayer / CompetitorForecast
Interface: CompetitorForecast
Section titled “Interface: CompetitorForecast”Defined in: src/types/forecast.ts:104
One competitor’s forecast within a grouped-rank body.
Example
Section titled “Example”console.log(`${competitor.id}: ${(competitor.pWin * 100).toFixed(1)}% to win`);Properties
Section titled “Properties”id:
string
Defined in: src/types/forecast.ts:106
Stable competitor identifier (row id).
pTopK:
number
Defined in: src/types/forecast.ts:112
Probability of finishing in the top k.
pWin:
number
Defined in: src/types/forecast.ts:109
Win probability.