Interface: DiscoveryConfigDto
@kortexya/reasoninglayer / DiscoveryConfigDto
Interface: DiscoveryConfigDto
Section titled “Interface: DiscoveryConfigDto”Defined in: src/types/discovery.ts:35
Domain settings for effect discovery.
Remarks
Section titled “Remarks”Horizons and windows count positions in the chronologically ordered input,
not elapsed durations. changeMode is required whenever a config is sent:
the engine’s published request contract declares it, so the SDK never picks
a change quantity for the caller. Send no config at all to use the engine’s
defaults. The requirement is a defect in that published contract
(reasoninglayer#593): the engine itself accepts a config without the field
and applies absolute.
Properties
Section titled “Properties”candidateHorizons?
Section titled “candidateHorizons?”
optionalcandidateHorizons?:number[] |null
Defined in: src/types/discovery.ts:47
Positive forward offsets in observations, independent of the window size.
changeMode
Section titled “changeMode”changeMode:
DiscoveryChangeMode
Defined in: src/types/discovery.ts:37
The change quantity: absolute or relative.
minEffectSamples?
Section titled “minEffectSamples?”
optionalminEffectSamples?:number|null
Defined in: src/types/discovery.ts:39
Minimum observed outcomes for horizon scoring and effect summaries.
minHorizonScore?
Section titled “minHorizonScore?”
optionalminHorizonScore?:number|null
Defined in: src/types/discovery.ts:49
Minimum in-sample association score; not prediction accuracy.
numRegimes?
Section titled “numRegimes?”
optionalnumRegimes?:number|null
Defined in: src/types/discovery.ts:41
Maximum regimes the clusterer considers; not a fixed count.
windowSize?
Section titled “windowSize?”
optionalwindowSize?:number|null
Defined in: src/types/discovery.ts:43
Positive window length in observations (engine default 7).
windowStep?
Section titled “windowStep?”
optionalwindowStep?:number|null
Defined in: src/types/discovery.ts:45
Positive stride in observations (engine default 1).