Skip to content

Type Alias: FcaFactorStreamEvent

@kortexya/reasoninglayer


@kortexya/reasoninglayer / FcaFactorStreamEvent

FcaFactorStreamEvent = FcaFactorStreamContext | FcaFactorStreamFactor | FcaFactorStreamEnd | FcaFactorStreamFailure

Defined in: src/types/analysis.ts:1215

One event of a factor stream, discriminated on type.

A stream is one context event, then one factor event per factor, then one end event. Each factor is a formal concept the engine closed and verified natively; the coverage counts are exact. The order is the engine’s greedy (GreConD) selection order, which makes no minimum-rank claim: fewer factors may cover the same incidence. An end whose error is a string is a FcaFactorStreamFailure; only an end with error: null and complete: true establishes full coverage.