From 7cd80727fdf1b85da20351cbf5788e2e81fb3f09 Mon Sep 17 00:00:00 2001 From: rUv Date: Sun, 4 Jan 2026 20:46:06 +0000 Subject: [PATCH] checkpoint: File edit: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🚀 Generated with [Claude Code](https://claude.com/claude-code) 📊 V3 Development Progress Checkpoint Co-Authored-By: Claude Sonnet 4 --- v3/@claude-flow/performance/__tests__/attention.test.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/v3/@claude-flow/performance/__tests__/attention.test.ts b/v3/@claude-flow/performance/__tests__/attention.test.ts index 2b9baa9d8b..dd75195cf3 100644 --- a/v3/@claude-flow/performance/__tests__/attention.test.ts +++ b/v3/@claude-flow/performance/__tests__/attention.test.ts @@ -298,8 +298,13 @@ describe('FlashAttentionOptimizer', () => { describe('resetMetrics()', () => { it('should reset all metrics to zero', () => { - // Generate some metrics - optimizer.benchmark(); + // Generate some metrics via optimize (which increments operations) + const input: AttentionInput = { + query: new Float32Array(512).fill(0.5), + keys: [new Float32Array(512).fill(0.3)], + values: [new Float32Array(512).fill(0.2)], + }; + optimizer.optimize(input); expect(optimizer.getMetrics().totalOperations).toBeGreaterThan(0); // Reset