Skip to content

Interface: OrientPairResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OrientPairResponse

Defined in: src/types/statistical.ts:323

Response from orienting a variable pair.

Mapped from the snake_case wire shape (residual_dependence_score, dropped_non_finite, …). OrientPairResponse.direction and OrientPairResponse.verdict are string-literal unions, not free-form strings. cause/effect are only populated when the direction is identified (x_causes_y or y_causes_x).

optional backward?: OrientPairFitDto | null

Defined in: src/types/statistical.ts:325

Backward fit: x ~ g(y).


optional cause?: string | null

Defined in: src/types/statistical.ts:327

Cause variable when direction is identified.


certainty: number

Defined in: src/types/statistical.ts:329

Direction confidence proxy from residual-independence p-values.


diagnostics: OrientPairDiagnosticsDto

Defined in: src/types/statistical.ts:331

Diagnostics and warnings.


direction: OrientPairDirectionDto

Defined in: src/types/statistical.ts:333

Oriented direction or conservative failure state.


optional effect?: string | null

Defined in: src/types/statistical.ts:335

Effect variable when direction is identified.


optional forward?: OrientPairFitDto | null

Defined in: src/types/statistical.ts:337

Forward fit: y ~ f(x).


success: boolean

Defined in: src/types/statistical.ts:339

Whether ANM fitting completed.


verdict: OrientPairVerdictDto

Defined in: src/types/statistical.ts:341

Operational verdict for downstream graph/experiment workflows.