Interface: SortDiscoveryResponse
@kortexya/reasoninglayer / SortDiscoveryResponse
Interface: SortDiscoveryResponse
Section titled “Interface: SortDiscoveryResponse”Defined in: src/types/analysis.ts:199
Response from sort discovery analysis.
Properties
Section titled “Properties”conceptsMatchingExisting
Section titled “conceptsMatchingExisting”conceptsMatchingExisting:
number
Defined in: src/types/analysis.ts:237
Concepts matching existing sorts.
fuzzyLevels?
Section titled “fuzzyLevels?”
optionalfuzzyLevels?:FuzzyConceptLevel[] |null
Defined in: src/types/analysis.ts:247
Fuzzy concept levels (if fuzzy thresholds were provided).
incompleteReason
Section titled “incompleteReason”incompleteReason:
string|null
Defined in: src/types/analysis.ts:221
Why the analysis is incomplete, or null when it is complete.
Remarks
Section titled “Remarks”The first stop that applies: the input stop reason (visible_limit,
scan_limit), then the crisp search stop reason, then the stop reason of
the highest-alpha incomplete fuzzy cut (output_limit, visited_limit,
work_limit, cancelled). A rejected registration alone makes success
false without an incomplete reason.
inputComplete
Section titled “inputComplete”inputComplete:
boolean
Defined in: src/types/analysis.ts:223
Whether the whole declared visible population was analyzed.
inputStopReason
Section titled “inputStopReason”inputStopReason:
string
Defined in: src/types/analysis.ts:225
The source loading outcome (exhausted, visible_limit or scan_limit).
interpretation
Section titled “interpretation”interpretation:
DiscoveryInterpretation
Defined in: src/types/analysis.ts:229
The attribute interpretation the analysis used, and whether it was complete.
novelConceptsDiscovered
Section titled “novelConceptsDiscovered”novelConceptsDiscovered:
number
Defined in: src/types/analysis.ts:239
Novel concepts discovered.
processingTimeMs
Section titled “processingTimeMs”processingTimeMs:
number
Defined in: src/types/analysis.ts:245
Processing time in milliseconds.
recommendations
Section titled “recommendations”recommendations:
SortRecommendation[]
Defined in: src/types/analysis.ts:243
Sort recommendations.
registrations
Section titled “registrations”registrations:
SortRegistration[]
Defined in: src/types/analysis.ts:231
The actual native registration outcomes, failures included.
search
Section titled “search”search:
FcaSearchSummary
Defined in: src/types/analysis.ts:227
The crisp native enumeration outcome and counters.
sortsCreated
Section titled “sortsCreated”sortsCreated:
string[]
Defined in: src/types/analysis.ts:241
Sorts that were auto-created.
success
Section titled “success”success:
boolean
Defined in: src/types/analysis.ts:210
Whether the analysis is complete and every attempted registration was stored.
Remarks
Section titled “Remarks”true only when no registration was rejected, the whole visible
population was analyzed (inputComplete) and every native enumeration
(the crisp search and each fuzzy alpha-cut) was exhausted. A bounded run
that returns partial recommendations is not a success.
termsAnalyzed
Section titled “termsAnalyzed”termsAnalyzed:
number
Defined in: src/types/analysis.ts:233
Number of terms analyzed.
totalConcepts
Section titled “totalConcepts”totalConcepts:
number
Defined in: src/types/analysis.ts:235
Total concepts found.