mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py
This commit is contained in:
1 parent
1043a629ff
commit
9dac2189ca
3 files changed
+14
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250806-114443", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:44:43Z", "type": "pre-edit", "original_branch": "alpha-88"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250806-114445", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:44:45Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 ++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/task-1754480656.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 15 +++++++++++++-- claude-flow-wiki | 0 6 files changed, 30 insertions(+), 6 deletions(-) "}
|
||||
@@ -454,7 +454,18 @@ def sparc(ctx, mode, task, namespace, timeout, non_interactive, output_dir):
|
||||
if result.total_tokens:
|
||||
click.echo(f"Tokens used: {result.total_tokens}")
|
||||
else:
|
||||
click.echo(f"❌ SPARC benchmark failed: {result.error}")
|
||||
error_msg = ""
|
||||
if result.errors:
|
||||
error_msg = "; ".join(result.errors)
|
||||
elif result.exit_code == -9:
|
||||
error_msg = f"Command timed out or was killed (exit code: {result.exit_code})"
|
||||
elif result.exit_code != 0:
|
||||
error_msg = f"Command failed with exit code: {result.exit_code}"
|
||||
else:
|
||||
error_msg = "Unknown error"
|
||||
click.echo(f"❌ SPARC benchmark failed: {error_msg}")
|
||||
if ctx.obj.get('verbose') and result.stderr_lines:
|
||||
click.echo(f"Stderr: {' '.join(result.stderr_lines[:5])}")
|
||||
return 1
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user