Interface: DiDValidationRequest
@kortexya/reasoninglayer / DiDValidationRequest
Interface: DiDValidationRequest
Section titled “Interface: DiDValidationRequest”Defined in: src/types/causal.ts:1631
Request to validate a Difference-in-Differences design.
Remarks
Section titled “Remarks”The design is checked against the causal structure the backend builds from the tenant’s homoiconic rules — no sample data is submitted, only the variable names that play each role.
Properties
Section titled “Properties”covariates?
Section titled “covariates?”
optionalcovariates?:string[]
Defined in: src/types/causal.ts:1637
Conditioning set (covariates). Omit for an unconditional design — the backend defaults it to the empty set. Members that turn out to be bad controls are reported back in DiDValidationResponse.badControls.
outcomePost
Section titled “outcomePost”outcomePost:
string
Defined in: src/types/causal.ts:1639
Post-treatment outcome variable.
outcomePre
Section titled “outcomePre”outcomePre:
string
Defined in: src/types/causal.ts:1641
Pre-treatment outcome variable.
treatment
Section titled “treatment”treatment:
string
Defined in: src/types/causal.ts:1643
The treatment variable.