diff --git a/.claude/checkpoints/1754480376.json b/.claude/checkpoints/1754480376.json new file mode 100644 index 0000000000..f48ea3733f --- /dev/null +++ b/.claude/checkpoints/1754480376.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-113936", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/real_benchmark_engine.py", "timestamp": "2025-08-06T11:39:36Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754480377.json b/.claude/checkpoints/1754480377.json new file mode 100644 index 0000000000..3b8d40bdc1 --- /dev/null +++ b/.claude/checkpoints/1754480377.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-113937", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/real_benchmark_engine.py", "timestamp": "2025-08-06T11:39:37Z", "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/task-1754480327.json | 1 + .../swarm_benchmark/core/real_benchmark_engine.py | 20 +++++++++++++++++- claude-flow-wiki | 0 6 files changed, 48 insertions(+), 5 deletions(-) "} diff --git a/benchmark/test_swarm.py b/benchmark/test_swarm.py new file mode 100644 index 0000000000..83e43e7d65 --- /dev/null +++ b/benchmark/test_swarm.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 +"""Test swarm command directly.""" + +import subprocess +import sys + +# Test command +cmd = [ + "swarm-benchmark", + "real", + "swarm", + "echo hello", + "--strategy", "development", + "--timeout", "1" +] + +print(f"Running: {' '.join(cmd)}") +result = subprocess.run(cmd, capture_output=True, text=True) + +print("STDOUT:") +print(result.stdout[:2000] if result.stdout else "(empty)") + +print("\nSTDERR:") +print(result.stderr[:1000] if result.stderr else "(empty)") + +print(f"\nReturn code: {result.returncode}") +sys.exit(result.returncode) \ No newline at end of file