From 2a49a42d83eb66a68ecf04dd0a2bd9100160268e Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 02:38:16 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/src/swarm=5Fbenchmark/core/optimize?= =?UTF-8?q?d=5Fbenchmark=5Fengine.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- benchmark/.claude/checkpoints/1754447887.json | 1 + benchmark/.claude/checkpoints/1754447889.json | 1 + .../swarm_benchmark/core/optimized_benchmark_engine.py | 8 ++------ 3 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 benchmark/.claude/checkpoints/1754447887.json create mode 100644 benchmark/.claude/checkpoints/1754447889.json diff --git a/benchmark/.claude/checkpoints/1754447887.json b/benchmark/.claude/checkpoints/1754447887.json new file mode 100644 index 0000000000..8110576876 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754447887.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-023807", "file": "/workspaces/claude-code-flow/benchmark/examples/basic/simple_sparc.py", "timestamp": "2025-08-06T02:38:07Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/benchmark/.claude/checkpoints/1754447889.json b/benchmark/.claude/checkpoints/1754447889.json new file mode 100644 index 0000000000..b952c52a47 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754447889.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-023809", "file": "/workspaces/claude-code-flow/benchmark/examples/basic/simple_sparc.py", "timestamp": "2025-08-06T02:38:09Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/system-metrics.json | 84 +++++++++ benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- benchmark/.claude/checkpoints/1754447876.json | 1 + benchmark/.claude/checkpoints/1754447878.json | 1 + benchmark/examples/basic/simple_sparc.py | 229 +++++++++++++++++++++++ claude-flow-wiki | 0 7 files changed, 319 insertions(+), 4 deletions(-) "} diff --git a/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py b/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py index 59c2755323..be7e6e0da2 100644 --- a/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py +++ b/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py @@ -11,13 +11,9 @@ from ..strategies import create_strategy from ..output.json_writer import JSONWriter from ..output.sqlite_manager import SQLiteManager -# Import optimizations from the main swarm package -import sys -from pathlib import Path -sys.path.append(str(Path(__file__).parent.parent.parent.parent.parent)) - +# Import optimizations from the local optimization module try: - from src.swarm.optimizations import ( + from ..optimization import ( OptimizedExecutor, CircularBuffer, TTLMap,