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

This commit is contained in:
rUv committed 2025-08-06 11:53:52 +00:00
1 parent b4ca5445ed
commit 63302bede6
3 files changed
+37

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"branch": "checkpoint/pre-edit-20250806-115322", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:53:22Z", "type": "pre-edit", "original_branch": "alpha-88"}
+1
View File
@@ -0,0 +1 @@
{"tag": "checkpoint-20250806-115323", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:53:24Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 48 +++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 ++-- .claude/checkpoints/1754481179.json | 1 + .claude/checkpoints/1754481180.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 45 +++++++++++++++++++++++++---- claude-flow-wiki | 0 7 files changed, 94 insertions(+), 9 deletions(-) "}
+35
View File
@@ -0,0 +1,35 @@
#!/usr/bin/env python3
"""Test improved reporting."""
import subprocess
import sys
# Test swarm command
print("Testing improved swarm reporting...")
cmd = [
"swarm-benchmark", "real", "swarm",
"Design hello world",
"--strategy", "development",
"--timeout", "1"
]
result = subprocess.run(cmd, capture_output=True, text=True)
print(result.stdout)
if result.stderr:
print("Stderr:", result.stderr[:500], file=sys.stderr)
print("\n" + "="*60)
print("Testing hive-mind reporting...")
# Test hive-mind
cmd2 = [
"swarm-benchmark", "real", "hive-mind",
"Create API",
"--max-workers", "2",
"--timeout", "1"
]
result2 = subprocess.run(cmd2, capture_output=True, text=True)
print(result2.stdout)
sys.exit(0)