/** * SMI-2754: PatternStore Helper Functions Tests * * Tests covering pure math functions, FisherInformationMatrix, * and DB-touching helpers extracted to PatternStore.helpers.ts. * * Categories: * - FisherInformationMatrix: construct, update, accumulate, decay, * serialize/deserialize round-trip, reset, invalid buffer size * - contextToText: empty, partial, full context * - computeGradient, cosineSimilarity, importanceWeightedSimilarity (zero-norm edge) * - calculatePatternImportance: positive and negative reward * - shouldConsolidate: too recent, no patterns, ratio threshold, near max patterns * - computeAverageEmbedding: empty table → zero vector, populated → average */ export {}; //# sourceMappingURL=PatternStore.helpers.test.d.ts.map