Interface: ScmCounterfactualRequest
@kortexya/reasoninglayer / ScmCounterfactualRequest
Interface: ScmCounterfactualRequest
Section titled “Interface: ScmCounterfactualRequest”Defined in: src/types/causal.ts:1300
Request to answer a counterfactual over a fully declared SCM (level-3 structure supplied by the caller — the hierarchy’s price).
Properties
Section titled “Properties”assignments
Section titled “assignments”assignments:
StructuralAssignmentDto[]
Defined in: src/types/causal.ts:1302
Deterministic structural assignments.
evidence
Section titled “evidence”evidence:
Record<string,number>
Defined in: src/types/causal.ts:1304
The FACTUAL evidence (what was actually observed).
exogenous
Section titled “exogenous”exogenous:
ExogenousNoiseDto[]
Defined in: src/types/causal.ts:1306
Exogenous noise variables with their distributions.
interventions
Section titled “interventions”interventions:
Record<string,number>
Defined in: src/types/causal.ts:1308
The hypothetical interventions do(V = v).
query:
string
Defined in: src/types/causal.ts:1310
The variable whose counterfactual distribution is queried.