Skip to content

Interface: DiDValidationRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DiDValidationRequest

Defined in: src/types/causal.ts:1631

Request to validate a Difference-in-Differences design.

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.

optional covariates?: 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: string

Defined in: src/types/causal.ts:1639

Post-treatment outcome variable.


outcomePre: string

Defined in: src/types/causal.ts:1641

Pre-treatment outcome variable.


treatment: string

Defined in: src/types/causal.ts:1643

The treatment variable.