From f2effbeb0c15ff1ccb531dcb2679f8680e10a751 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 01:48:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/demo=5Fcomprehensive.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- benchmark/.claude/checkpoints/1754444925.json | 1 + benchmark/.claude/checkpoints/1754444927.json | 1 + benchmark/demo_comprehensive.py | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 benchmark/.claude/checkpoints/1754444925.json create mode 100644 benchmark/.claude/checkpoints/1754444927.json diff --git a/benchmark/.claude/checkpoints/1754444925.json b/benchmark/.claude/checkpoints/1754444925.json new file mode 100644 index 0000000000..5968ce9e37 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754444925.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-014845", "file": "/workspaces/claude-code-flow/benchmark/test_simple_run.py", "timestamp": "2025-08-06T01:48:45Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/benchmark/.claude/checkpoints/1754444927.json b/benchmark/.claude/checkpoints/1754444927.json new file mode 100644 index 0000000000..6e72b7d381 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754444927.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-014847", "file": "/workspaces/claude-code-flow/benchmark/test_simple_run.py", "timestamp": "2025-08-06T01:48:47Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/system-metrics.json | 5254 +++----------------- benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- benchmark/.claude/checkpoints/1754444912.json | 1 + benchmark/.claude/checkpoints/1754444914.json | 1 + benchmark/continuous_performance_monitor.py | 673 --- benchmark/hive-mind-load-test.py | 902 ---- benchmark/hive-mind-stress-test.py | 935 ---- benchmark/run-load-tests.py | 479 -- benchmark/run_performance_tests.py | 550 -- benchmark/{ => scripts}/simple-load-test.py | 0 benchmark/{ => scripts}/swarm_performance_suite.py | 0 benchmark/src/swarm_benchmark.egg-info/SOURCES.txt | 38 + benchmark/test_mle_star_integration.py | 2 +- benchmark/test_simple_run.py | 5 + claude-flow-wiki | 0 16 files changed, 745 insertions(+), 8103 deletions(-) "} diff --git a/benchmark/demo_comprehensive.py b/benchmark/demo_comprehensive.py index 410ed4729e..3312f998cc 100644 --- a/benchmark/demo_comprehensive.py +++ b/benchmark/demo_comprehensive.py @@ -3,7 +3,11 @@ import asyncio import json +import sys from pathlib import Path + +# Add the src directory to Python path +sys.path.insert(0, str(Path(__file__).parent / "src")) from swarm_benchmark.core.benchmark_engine import BenchmarkEngine from swarm_benchmark.core.models import BenchmarkConfig, StrategyType, CoordinationMode