mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/test_swarm.py
This commit is contained in:
1 parent
7799b5443c
commit
791b4cd19a
3 files changed
+29
No files matched your search
@@ -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"}
|
||||
@@ -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(-) "}
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user