Skip to content

Interface: EvaluateCompetencyQuestionsResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / EvaluateCompetencyQuestionsResponse

Interface: EvaluateCompetencyQuestionsResponse

Section titled “Interface: EvaluateCompetencyQuestionsResponse”

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

Result of running the accepted competency questions against the base.

complete: boolean

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

Whether every measured question has a known answer. false when any verdict is suspended or undetermined: the run did not establish those answers, so passRate is then a lower bound, not a measurement.


evaluated: number

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

How many questions were measured.


incomplete: number

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

How many verdicts are suspended or undetermined.


missingSchema: SchemaResidue[]

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

Distinct schema elements the failures name: the “what to add next” list.


passed: number

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

How many were satisfied.


optional passRate?: number | null

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

Fraction satisfied. null or absent when nothing was measured, which is distinct from 0 (total failure). A lower bound when complete is false.


results: CompetencyQuestionResult[]

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

Per-question outcomes, in key order.