From 63302bede6bf9cc894df8949db90a6868f371c36 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 11:53:52 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/test=5Fimproved=5Freport.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754481202.json | 1 + .claude/checkpoints/1754481204.json | 1 + benchmark/test_improved_report.py | 35 +++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 .claude/checkpoints/1754481202.json create mode 100644 .claude/checkpoints/1754481204.json create mode 100644 benchmark/test_improved_report.py diff --git a/.claude/checkpoints/1754481202.json b/.claude/checkpoints/1754481202.json new file mode 100644 index 0000000000..ee9f6459ca --- /dev/null +++ b/.claude/checkpoints/1754481202.json @@ -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"} diff --git a/.claude/checkpoints/1754481204.json b/.claude/checkpoints/1754481204.json new file mode 100644 index 0000000000..cf4f68d8a2 --- /dev/null +++ b/.claude/checkpoints/1754481204.json @@ -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(-) "} diff --git a/benchmark/test_improved_report.py b/benchmark/test_improved_report.py new file mode 100644 index 0000000000..cd35ee6974 --- /dev/null +++ b/benchmark/test_improved_report.py @@ -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) \ No newline at end of file