From d2fc12b206b409ca2ed862a64741ca7a7c851929 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 11:47:46 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/test=5Fhive.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754480699.json | 1 + .claude/checkpoints/1754480701.json | 1 + benchmark/test_hive.py | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 .claude/checkpoints/1754480699.json create mode 100644 .claude/checkpoints/1754480701.json create mode 100644 benchmark/test_hive.py diff --git a/.claude/checkpoints/1754480699.json b/.claude/checkpoints/1754480699.json new file mode 100644 index 0000000000..d74e696f92 --- /dev/null +++ b/.claude/checkpoints/1754480699.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-114459", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:44:59Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754480701.json b/.claude/checkpoints/1754480701.json new file mode 100644 index 0000000000..78554ab8b4 --- /dev/null +++ b/.claude/checkpoints/1754480701.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-114501", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:45:01Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754480683.json | 1 + .claude/checkpoints/1754480685.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 13 ++++++++++++- claude-flow-wiki | 0 7 files changed, 42 insertions(+), 5 deletions(-) "} diff --git a/benchmark/test_hive.py b/benchmark/test_hive.py new file mode 100644 index 0000000000..172e7cabde --- /dev/null +++ b/benchmark/test_hive.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 +import subprocess + +cmd = ['swarm-benchmark', 'real', 'hive-mind', 'hello', '--max-workers', '2', '--timeout', '1'] +print(f"Running: {' '.join(cmd)}") +result = subprocess.run(cmd, capture_output=True, text=True) +print('Return code:', result.returncode) +if result.stdout: + print('Output:', result.stdout[:500]) +if result.stderr: + print('Stderr:', result.stderr[:500]) \ No newline at end of file