Skip to content

Interface: VocabularyAssessment

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyAssessment

Defined in: src/types/vocabulary.ts:4740

An assessment: 201 of an assessment run and 200 of GET /assessments/{id}.

Only a complete, passed assessment admits an approval. metrics are rendered when the assessment runs and are not stored, so a later read returns an empty map.

assessedAt: string

Defined in: src/types/vocabulary.ts:4772

When (database clock, ISO 8601).


assessedBy: string

Defined in: src/types/vocabulary.ts:4770

Who assessed (user:<uuid>).


assessmentId: string

Defined in: src/types/vocabulary.ts:4746

Id (UUID); an approval cites it.


candidateId: string

Defined in: src/types/vocabulary.ts:4748

The candidate (UUID).


compatibility: VocabularyCompatibilityBlock

Defined in: src/types/vocabulary.ts:4742

The per-unit compatibility block of the assessed revision.


completeness: VocabularyAssessmentCompleteness

Defined in: src/types/vocabulary.ts:4754

Whether every criterion ran over the whole view.


contentHash: string

Defined in: src/types/vocabulary.ts:4752

Its content hash.


context: VocabularyContextRef

Defined in: src/types/vocabulary.ts:4768

The interpretation context the assessment ran in.


criteria: VocabularyCriterionResult[]

Defined in: src/types/vocabulary.ts:4762

Per-criterion results, in evaluation order.


criteriaId: string

Defined in: src/types/vocabulary.ts:4744

The native criteria set the assessment executed.


findings: VocabularyFinding[]

Defined in: src/types/vocabulary.ts:4764

Every finding, sorted by id.


limits: VocabularyAssessmentLimits

Defined in: src/types/vocabulary.ts:4760

The limits applied.


metrics: Record<string, number>

Defined in: src/types/vocabulary.ts:4766

Counts of what the view held and what was examined (metric name → count).


outcome: VocabularyAssessmentOutcome

Defined in: src/types/vocabulary.ts:4758

The outcome.


outcomeKind: string

Defined in: src/types/vocabulary.ts:4774

committed.


replayed: boolean

Defined in: src/types/vocabulary.ts:4776

Whether this answer replays an earlier identical request.


revisionId: string

Defined in: src/types/vocabulary.ts:4750

The revision assessed (UUID).


optional stopReason?: VocabularyStopReason

Defined in: src/types/vocabulary.ts:4756

Why it stopped, when incomplete.