Skip to content

Interface: DiscoveryConfigDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DiscoveryConfigDto

Defined in: src/types/discovery.ts:35

Domain settings for effect discovery.

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.

optional candidateHorizons?: number[] | null

Defined in: src/types/discovery.ts:47

Positive forward offsets in observations, independent of the window size.


changeMode: DiscoveryChangeMode

Defined in: src/types/discovery.ts:37

The change quantity: absolute or relative.


optional minEffectSamples?: number | null

Defined in: src/types/discovery.ts:39

Minimum observed outcomes for horizon scoring and effect summaries.


optional minHorizonScore?: number | null

Defined in: src/types/discovery.ts:49

Minimum in-sample association score; not prediction accuracy.


optional numRegimes?: number | null

Defined in: src/types/discovery.ts:41

Maximum regimes the clusterer considers; not a fixed count.


optional windowSize?: number | null

Defined in: src/types/discovery.ts:43

Positive window length in observations (engine default 7).


optional windowStep?: number | null

Defined in: src/types/discovery.ts:45

Positive stride in observations (engine default 1).