Skip to content

Interface: PipelineStageStatus

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PipelineStageStatus

Defined in: src/types/ontology.ts:278

The assessment state of one pipeline stage, what it rests on, and the measurements of the base.

Since 5.0.0 this type has no complete flag. The engine never derives a stage state from counts: read state (and basis for what it rests on). metrics are descriptions of the base, not a verdict.

basis: PipelineStageBasis

Defined in: src/types/ontology.ts:284

What the state rests on.


metrics: Record<string, number>

Defined in: src/types/ontology.ts:298

The raw counts, keyed by the engine’s metric name (concepts, defined, with_synonyms, ambiguous_labels, orphans, max_depth, deprecations_without_replacement, instances, …). They describe the base and do not decide the state.

The keys are passed through verbatim, in their snake_case wire spelling. They are data (metric names), not schema field names, so the SDK does not camelCase them.


reason: string

Defined in: src/types/ontology.ts:286

Why the stage is in this state, in words.


stage: OntologyPipelineStage

Defined in: src/types/ontology.ts:280

The stage.


state: PipelineStageState

Defined in: src/types/ontology.ts:282

The assessment state. Never derived from metrics.