Interface: DiscoverEffectsResponse
@kortexya/reasoninglayer / DiscoverEffectsResponse
Interface: DiscoverEffectsResponse
Section titled “Interface: DiscoverEffectsResponse”Defined in: src/types/discovery.ts:197
Response from effect discovery: the persisted result and its complete observation and change contract.
Remarks
Section titled “Remarks”Every fitted score is descriptive (fitScope is retrospective_in_sample),
and horizon offsets count observations (horizonUnit is observations), not
elapsed time. Maps keyed by horizon use the horizon as a decimal string key.
Properties
Section titled “Properties”changeMode
Section titled “changeMode”changeMode:
DiscoveryChangeMode
Defined in: src/types/discovery.ts:225
The change quantity both estimators used.
discoveredHorizons
Section titled “discoveredHorizons”discoveredHorizons:
HorizonDto[]
Defined in: src/types/discovery.ts:201
Selected horizons, with measured scores and explicit support.
effectAccounting
Section titled “effectAccounting”effectAccounting:
EffectAccounting[]
Defined in: src/types/discovery.ts:221
Accounting for the selected horizons by retained regime.
effectsExtracted
Section titled “effectsExtracted”effectsExtracted:
number
Defined in: src/types/discovery.ts:203
Distributions meeting observed-sample admission.
effectUnit?
Section titled “effectUnit?”
optionaleffectUnit?:string|null
Defined in: src/types/discovery.ts:227
Unit of the resulting change; null for an unspecified absolute unit.
featureOperator
Section titled “featureOperator”featureOperator:
string
Defined in: src/types/discovery.ts:235
Versioned window feature operator.
fitScope
Section titled “fitScope”fitScope:
string
Defined in: src/types/discovery.ts:229
Scope of every fitted score, retrospective_in_sample.
fittedThrough
Section titled “fittedThrough”fittedThrough:
string
Defined in: src/types/discovery.ts:241
Last event time used to fit this model (ISO 8601).
horizonAccounting
Section titled “horizonAccounting”horizonAccounting:
Record<string,ChangeAccounting>
Defined in: src/types/discovery.ts:219
Accounting for every examined horizon, selected or not, keyed by horizon.
horizonUnit
Section titled “horizonUnit”horizonUnit:
string
Defined in: src/types/discovery.ts:231
What horizon offsets count, observations.
modelSnapshot
Section titled “modelSnapshot”modelSnapshot:
string
Defined in: src/types/discovery.ts:239
Identity of the complete current model payload, distinct from the source identity.
observations
Section titled “observations”observations:
DiscoveryObservation[]
Defined in: src/types/discovery.ts:217
Ordered position to original input position, including timestamp ties.
outcomes
Section titled “outcomes”outcomes:
Record<string,ForwardChange[]>
Defined in: src/types/discovery.ts:223
Aligned anchor/target outcomes keyed by horizon, with explicit omission reasons.
predictionFeatures
Section titled “predictionFeatures”predictionFeatures:
string[]
Defined in: src/types/discovery.ts:233
The exact feature names predictFromDiscovery expects in currentValues.
processingTimeMs
Section titled “processingTimeMs”processingTimeMs:
number
Defined in: src/types/discovery.ts:205
Processing duration in milliseconds, including persistence.
regimesDiscovered
Section titled “regimesDiscovered”regimesDiscovered:
number
Defined in: src/types/discovery.ts:207
Retained regimes, after minimum cluster-size admission.
rootSortId
Section titled “rootSortId”rootSortId:
string
Defined in: src/types/discovery.ts:209
Root sort and dedicated snapshot term identity for prediction (UUID).
sortIds
Section titled “sortIds”sortIds:
Record<string,string>
Defined in: src/types/discovery.ts:211
Regime to persisted sort id.
sourceSnapshot
Section titled “sourceSnapshot”sourceSnapshot:
string
Defined in: src/types/discovery.ts:237
Identity of the complete input, configuration and unit snapshot.
success
Section titled “success”success:
boolean
Defined in: src/types/discovery.ts:199
Whether the complete admitted computation and its persistence succeeded.
termsCreated
Section titled “termsCreated”termsCreated:
number
Defined in: src/types/discovery.ts:213
Exemplar terms plus the dedicated model snapshot term.
windows
Section titled “windows”windows:
DiscoveryWindow[]
Defined in: src/types/discovery.ts:215
The complete window ledger.