Function: findGaps()

August 8, 2026 ยท View on GitHub

@plures/praxis


@plures/praxis / index / findGaps

Function: findGaps()

findGaps<TContext>(registry, expectations): Gap[]

Defined in: packages/praxis-core/src/decision-ledger/analyzer.ts:338

Find expectations that have no covering rule or only partial coverage.

Type Parameters

TContext

TContext = unknown

Parameters

registry

PraxisRegistry<TContext>

The Praxis registry containing all rules and constraints

expectations

ExpectationSet

The expectation set to check coverage against

Returns

Gap[]

Array of Gap objects for expectations not fully covered by the registry