Skip to content

Interface: OrientPairResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Statistical / OrientPairResponse

Interface: OrientPairResponse

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

Response from orienting a variable pair.

Remarks

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).

Properties

backward?

optional backward: OrientPairFitDto | null

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

Backward fit: x ~ g(y).


cause?

optional cause: string | null

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

Cause variable when direction is identified.


certainty

certainty: number

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

Direction confidence proxy from residual-independence p-values.


diagnostics

diagnostics: OrientPairDiagnosticsDto

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

Diagnostics and warnings.


direction

direction: OrientPairDirectionDto

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

Oriented direction or conservative failure state.


effect?

optional effect: string | null

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

Effect variable when direction is identified.


forward?

optional forward: OrientPairFitDto | null

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

Forward fit: y ~ f(x).


success

success: boolean

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

Whether ANM fitting completed.


verdict

verdict: OrientPairVerdictDto

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

Operational verdict for downstream graph/experiment workflows.