Skip to content

Interface: CompetitorForecast

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Forecast / CompetitorForecast

Interface: CompetitorForecast

Defined in: src/types/forecast.ts:104

One competitor’s forecast within a grouped-rank body.

Example

console.log(`${competitor.id}: ${(competitor.pWin * 100).toFixed(1)}% to win`);

Properties

id

id: string

Defined in: src/types/forecast.ts:106

Stable competitor identifier (row id).


pTopK

pTopK: number

Defined in: src/types/forecast.ts:112

Probability of finishing in the top k.


pWin

pWin: number

Defined in: src/types/forecast.ts:109

Win probability.