🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/test_swarm.py

This commit is contained in:
rUv committed 2025-08-06 11:40:02 +00:00
1 parent 7799b5443c
commit 791b4cd19a
3 files changed
+29

No files matched your search

+1
View File
@@ -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"}
+1
View File
@@ -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(-) "}
+27
View File
@@ -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)