Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/tests/integration/test_real_benchmark_engine.py

rUv3cc58658b378
diff --git a/benchmark/reports/examples/all_examples_results.json b/benchmark/reports/examples/all_examples_results.json
new file mode 100644
index 0000000000..2aa415926c
--- /dev/null
+++ b/benchmark/reports/examples/all_examples_results.json
@@ -0,0 +1,208 @@
+{
+ "Simple Benchmark": {
+ "status": "success",
+ "result": {
+ "benchmark_id": "7bb95bb1-0abb-4458-9858-5ac27add2f17",
+ "status": "success",
+ "summary": "Completed 1 tasks",
+ "duration": 2.997301,
+ "metrics": {
+ "wall_clock_time": 3.998558282852173,
+ "tasks_per_second": 0.25009013981076694,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0,
+ "total_output_lines": 5
+ },
+ "results": [
+ {
+ "id": "cc6ded7b-3978-4db2-9397-364a0ecdce4b",
+ "task_id": "c5af7f30-b64c-417a-9468-afdd3cba9f92",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "execution_time": 2.849703788757324,
+ "resource_usage": {
+ "cpu_percent": 16.486206896551725,
+ "memory_mb": 51.94665948275862
+ },
+ "created_at": "2025-08-06T01:50:50.605614",
+ "completed_at": "2025-08-06T01:50:50.605028"
+ }
+ ]
+ }
+ },
+ "SPARC Mode Comparison": {
+ "status": "failed",
+ "error": "'RealBenchmarkEngine' object has no attribute '_execute_sparc_mode'"
+ },
+ "Swarm Strategies": {
+ "status": "success",
+ "result": [
+ {
+ "config": "Development with hierarchical coordination",
+ "result": {
+ "benchmark_id": "03f056f8-c7df-4feb-816f-46ae8415cffb",
+ "status": "success",
+ "summary": "Completed 1 tasks",
+ "duration": 0.303778,
+ "metrics": {
+ "wall_clock_time": 1.304997205734253,
+ "tasks_per_second": 0.7662851656738627,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0,
+ "total_output_lines": 5
+ },
+ "results": [
+ {
+ "id": "5dcac233-629e-432d-b1c4-a36c7ac04643",
+ "task_id": "9a1f7f48-ee7a-4693-8297-ab3d9f637694",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "execution_time": 0.2787971496582031,
+ "resource_usage": {
+ "cpu_percent": 99.33333333333333,
+ "memory_mb": 40.54296875
+ },
+ "created_at": "2025-08-06T01:50:54.915505",
+ "completed_at": "2025-08-06T01:50:54.915189"
+ }
+ ]
+ }
+ },
+ {
+ "config": "Research with distributed coordination",
+ "result": {
+ "benchmark_id": "b0784f86-a849-4720-a729-8d26d1da60d9",
+ "status": "success",
+ "summary": "Completed 1 tasks",
+ "duration": 0.303468,
+ "metrics": {
+ "wall_clock_time": 1.3046703338623047,
+ "tasks_per_second": 0.7664771506221282,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0,
+ "total_output_lines": 5
+ },
+ "results": [
+ {
+ "id": "ef86994f-b018-42a6-a8ac-d67a3b2990b5",
+ "task_id": "9a9cd8d6-d063-42b2-a9dd-b3a72ff4f113",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "execution_time": 0.2775075435638428,
+ "resource_usage": {
+ "cpu_percent": 92.76666666666667,
+ "memory_mb": 40.70703125
+ },
+ "created_at": "2025-08-06T01:50:59.225145",
+ "completed_at": "2025-08-06T01:50:59.224790"
+ }
+ ]
+ }
+ },
+ {
+ "config": "Optimization with hybrid coordination",
+ "result": {
+ "benchmark_id": "ea2cf6b0-9a37-4ff2-9adf-5cce559c844c",
+ "status": "success",
+ "summary": "Completed 1 tasks",
+ "duration": 0.404787,
+ "metrics": {
+ "wall_clock_time": 1.40604829788208,
+ "tasks_per_second": 0.7112131222706165,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0,
+ "total_output_lines": 5
+ },
+ "results": [
+ {
+ "id": "ae375bb9-e1ec-4dcb-9ff3-5dc2bec67fb0",
+ "task_id": "8e1ce0c4-ff9c-4e30-aa2b-47518ec9ee0e",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "execution_time": 0.31450533866882324,
+ "resource_usage": {
+ "cpu_percent": 94.35,
+ "memory_mb": 48.0244140625
+ },
+ "created_at": "2025-08-06T01:51:03.636257",
+ "completed_at": "2025-08-06T01:51:03.635929"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "Parallel Benchmarking": {
+ "status": "success",
+ "result": [
+ "Result(id='a7cb31e9-8d70-419f-b17e-310e1ccd2f9d', task_id='7671633b-b477-43b0-888b-ed10b4703b93', agent_id='claude-flow', status=<ResultStatus.SUCCESS: 'success'>, output={'raw_output': '\u274c SPARC configuration file (.roomodes) not found\\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\\n\\nTo enable SPARC development modes, run:\\n npx claude-flow@latest init --sparc', 'lines': ['\u274c SPARC configuration file (.roomodes) not found', 'Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark', '', 'To enable SPARC development modes, run:', ' npx claude-flow@latest init --sparc'], 'sections': {}}, errors=[], warnings=[], performance_metrics=PerformanceMetrics(execution_time=0.3854687213897705, queue_time=0.0, throughput=2.594244213628011, success_rate=1.0, error_rate=0.0, retry_count=0, coordination_overhead=0.0, communication_latency=0.0), quality_metrics=QualityMetrics(accuracy_score=1.0, completeness_score=1.0, consistency_score=0.0, relevance_score=0.0, overall_quality=1.0, review_score=None, automated_score=None), resource_usage=ResourceUsage(cpu_percent=101.85, memory_mb=46.3974609375, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=69.94921875, average_cpu_percent=101.85), execution_details={'command': 'claude-flow sparc coder Create a user authentication module', 'exit_code': 0, 'output_lines': 5, 'error_count': 0}, created_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 67788), started_at=datetime.datetime(2025, 8, 6, 1, 51, 7, 643397), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 67366))",
+ "Result(id='7001805f-d6d9-447e-9aaf-60b6ac67b640', task_id='a1c95983-de0f-49ed-b423-8405c0edab7d', agent_id='claude-flow', status=<ResultStatus.SUCCESS: 'success'>, output={'raw_output': '\u274c SPARC configuration file (.roomodes) not found\\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\\n\\nTo enable SPARC development modes, run:\\n npx claude-flow@latest init --sparc', 'lines': ['\u274c SPARC configuration file (.roomodes) not found', 'Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark', '', 'To enable SPARC development modes, run:', ' npx claude-flow@latest init --sparc'], 'sections': {}}, errors=[], warnings=[], performance_metrics=PerformanceMetrics(execution_time=0.38396549224853516, queue_time=0.0, throughput=2.6044007083655187, success_rate=1.0, error_rate=0.0, retry_count=0, coordination_overhead=0.0, communication_latency=0.0), quality_metrics=QualityMetrics(accuracy_score=1.0, completeness_score=1.0, consistency_score=0.0, relevance_score=0.0, overall_quality=1.0, review_score=None, automated_score=None), resource_usage=ResourceUsage(cpu_percent=102.875, memory_mb=49.2041015625, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=71.1328125, average_cpu_percent=102.875), execution_details={'command': 'claude-flow sparc researcher Research best practices for API security', 'exit_code': 0, 'output_lines': 5, 'error_count': 0}, created_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 72952), started_at=datetime.datetime(2025, 8, 6, 1, 51, 7, 643675), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 72698))",
+ "Result(id='ab394a5d-da70-492d-97f8-f53487881d50', task_id='8221872d-913d-440b-8b5c-df07a26a7b81', agent_id='claude-flow', status=<ResultStatus.SUCCESS: 'success'>, output={'raw_output': '\u274c SPARC configuration file (.roomodes) not found\\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\\n\\nTo enable SPARC development modes, run:\\n npx claude-flow@latest init --sparc', 'lines': ['\u274c SPARC configuration file (.roomodes) not found', 'Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark', '', 'To enable SPARC development modes, run:', ' npx claude-flow@latest init --sparc'], 'sections': {}}, errors=[], warnings=[], performance_metrics=PerformanceMetrics(execution_time=0.40016984939575195, queue_time=0.0, throughput=2.4989388918479962, success_rate=1.0, error_rate=0.0, retry_count=0, coordination_overhead=0.0, communication_latency=0.0), quality_metrics=QualityMetrics(accuracy_score=1.0, completeness_score=1.0, consistency_score=0.0, relevance_score=0.0, overall_quality=1.0, review_score=None, automated_score=None), resource_usage=ResourceUsage(cpu_percent=103.4, memory_mb=47.2978515625, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=66.59375, average_cpu_percent=103.4), execution_details={'command': 'claude-flow sparc analyzer Analyze code for performance bottlenecks', 'exit_code': 0, 'output_lines': 5, 'error_count': 0}, created_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 72560), started_at=datetime.datetime(2025, 8, 6, 1, 51, 7, 644904), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 72190))",
+ "Result(id='98458a32-3bd3-4770-8de2-d90d1b847b05', task_id='d73b3166-34ed-466a-97d6-1ca8c7f7166e', agent_id='claude-flow', status=<ResultStatus.SUCCESS: 'success'>, output={'raw_output': '\u274c SPARC configuration file (.roomodes) not found\\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\\n\\nTo enable SPARC development modes, run:\\n npx claude-flow@latest init --sparc', 'lines': ['\u274c SPARC configuration file (.roomodes) not found', 'Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark', '', 'To enable SPARC development modes, run:', ' npx claude-flow@latest init --sparc'], 'sections': {}}, errors=[], warnings=[], performance_metrics=PerformanceMetrics(execution_time=0.37583303451538086, queue_time=0.0, throughput=2.660755995782684, success_rate=1.0, error_rate=0.0, retry_count=0, coordination_overhead=0.0, communication_latency=0.0), quality_metrics=QualityMetrics(accuracy_score=1.0, completeness_score=1.0, consistency_score=0.0, relevance_score=0.0, overall_quality=1.0, review_score=None, automated_score=None), resource_usage=ResourceUsage(cpu_percent=100.225, memory_mb=47.5537109375, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=67.96875, average_cpu_percent=100.225), execution_details={'command': 'claude-flow sparc tester Generate comprehensive test suite', 'exit_code': 0, 'output_lines': 5, 'error_count': 0}, created_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 68897), started_at=datetime.datetime(2025, 8, 6, 1, 51, 7, 645622), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 8, 68639))"
+ ]
+ },
+ "Comprehensive Testing": {
+ "status": "failed",
+ "error": "'RealBenchmarkEngine' object has no attribute '_execute_sparc_mode'"
+ },
+ "Resource Monitoring": {
+ "status": "failed",
+ "error": "name 'SystemMonitor' is not defined"
+ }
+}
\ No newline at end of file
diff --git a/benchmark/reports/examples/metrics_7bb95bb1-0abb-4458-9858-5ac27add2f17.json b/benchmark/reports/examples/metrics_7bb95bb1-0abb-4458-9858-5ac27add2f17.json
new file mode 100644
index 0000000000..b5516dbfec
--- /dev/null
+++ b/benchmark/reports/examples/metrics_7bb95bb1-0abb-4458-9858-5ac27add2f17.json
@@ -0,0 +1,66 @@
+{
+ "summary": {
+ "wall_clock_time": 3.998558282852173,
+ "tasks_per_second": 0.25009013981076694,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0
+ },
+ "performance": {
+ "average_duration": 0.0,
+ "median_duration": 0.0,
+ "p95_duration": 0.0,
+ "p99_duration": 0.0,
+ "total_cpu_seconds": 0.0
+ },
+ "resources": {
+ "memory": {
+ "peak_mb": 0.0,
+ "average_mb": 0.0
+ },
+ "cpu": {
+ "average_percent": 0.0,
+ "total_seconds": 0.0
+ },
+ "io": {
+ "disk_read_mb": 0.0,
+ "disk_write_mb": 0.0,
+ "network_sent_mb": 0.0,
+ "network_recv_mb": 0.0
+ }
+ },
+ "processes": {
+ "total": 1,
+ "peak_threads": 0,
+ "peak_fds": 0
+ },
+ "output": {
+ "total_size": 5,
+ "average_size": 5,
+ "complexity_score": 1.2504506990538347
+ },
+ "collectors": {
+ "performance": 1,
+ "resource": 1
+ },
+ "timestamp": "2025-08-06T01:50:53.609902",
+ "process_executions": {
+ "sparc:{\"positional\": [\"orchestrator\", \"Create a function to calculate fibonacci numbers\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "orchestrator",
+ "Create a function to calculate fibonacci numbers"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 2.9961490631103516,
+ "total_duration": 2.9961490631103516,
+ "average_memory_mb": 51.94665948275862,
+ "peak_memory_mb": 71.83984375
+ }
+ }
+}
\ No newline at end of file
diff --git a/benchmark/reports/examples/process_report_7bb95bb1-0abb-4458-9858-5ac27add2f17.json b/benchmark/reports/examples/process_report_7bb95bb1-0abb-4458-9858-5ac27add2f17.json
new file mode 100644
index 0000000000..e985df168d
--- /dev/null
+++ b/benchmark/reports/examples/process_report_7bb95bb1-0abb-4458-9858-5ac27add2f17.json
@@ -0,0 +1,47 @@
+{
+ "summary": {
+ "total_executions": 1,
+ "successful_executions": 1,
+ "failed_executions": 0,
+ "overall_success_rate": 1.0,
+ "total_duration": 2.9961490631103516,
+ "average_duration": 2.9961490631103516,
+ "peak_memory_mb": 71.83984375,
+ "average_memory_mb": 51.94665948275862,
+ "total_output_lines": 5,
+ "total_errors": 0
+ },
+ "command_statistics": {
+ "sparc:{\"positional\": [\"orchestrator\", \"Create a function to calculate fibonacci numbers\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "orchestrator",
+ "Create a function to calculate fibonacci numbers"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 2.9961490631103516,
+ "total_duration": 2.9961490631103516,
+ "average_memory_mb": 51.94665948275862,
+ "peak_memory_mb": 71.83984375
+ }
+ },
+ "executions": [
+ {
+ "command": "claude-flow sparc orchestrator Create a function to calculate fibonacci numbers",
+ "exit_code": 0,
+ "success": true,
+ "duration": 2.9961490631103516,
+ "start_time": 1754445047.608879,
+ "output_size": 5,
+ "error_count": 0,
+ "cpu_percent": 16.486206896551725,
+ "memory_mb": 51.94665948275862,
+ "peak_memory_mb": 71.83984375
+ }
+ ]
+}
\ No newline at end of file
diff --git a/benchmark/reports/examples/simple-benchmark_7bb95bb1-0abb-4458-9858-5ac27add2f17.json b/benchmark/reports/examples/simple-benchmark_7bb95bb1-0abb-4458-9858-5ac27add2f17.json
new file mode 100644
index 0000000000..93fc6bc9d9
--- /dev/null
+++ b/benchmark/reports/examples/simple-benchmark_7bb95bb1-0abb-4458-9858-5ac27add2f17.json
@@ -0,0 +1,136 @@
+{
+ "id": "7bb95bb1-0abb-4458-9858-5ac27add2f17",
+ "name": "simple-benchmark",
+ "description": "A simple benchmark example",
+ "status": "completed",
+ "config": {
+ "name": "simple-benchmark",
+ "description": "A simple benchmark example",
+ "strategy": "auto",
+ "mode": "centralized",
+ "max_agents": 5,
+ "max_tasks": 100,
+ "timeout": 3600,
+ "task_timeout": 60,
+ "max_retries": 3,
+ "parallel": false,
+ "background": false,
+ "monitoring": true,
+ "quality_threshold": 0.8,
+ "resource_limits": {
+ "max_memory_mb": 1024,
+ "max_cpu_percent": 80,
+ "max_network_mbps": 100
+ },
+ "output_formats": [
+ "json"
+ ],
+ "output_directory": "./reports/examples",
+ "verbose": false
+ },
+ "tasks": [
+ {
+ "id": "c5af7f30-b64c-417a-9468-afdd3cba9f92",
+ "objective": "Create a function to calculate fibonacci numbers",
+ "description": "Benchmark task: Create a function to calculate fibonacci numbers",
+ "strategy": "auto",
+ "mode": "centralized",
+ "parameters": {},
+ "timeout": 60,
+ "max_retries": 3,
+ "priority": 1,
+ "status": "pending",
+ "created_at": "2025-08-06T01:50:47.608293",
+ "started_at": null,
+ "completed_at": null,
+ "duration": null,
+ "assigned_agents": [],
+ "parent_task_id": null,
+ "subtasks": [],
+ "dependencies": []
+ }
+ ],
+ "results": [
+ {
+ "id": "cc6ded7b-3978-4db2-9397-364a0ecdce4b",
+ "task_id": "c5af7f30-b64c-417a-9468-afdd3cba9f92",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "performance_metrics": {
+ "execution_time": 2.849703788757324,
+ "queue_time": 0.0,
+ "throughput": 0.3509136647623548,
+ "success_rate": 1.0,
+ "error_rate": 0.0,
+ "retry_count": 0,
+ "coordination_overhead": 0.0,
+ "communication_latency": 0.0
+ },
+ "quality_metrics": {
+ "accuracy_score": 1.0,
+ "completeness_score": 1.0,
+ "consistency_score": 0.0,
+ "relevance_score": 0.0,
+ "overall_quality": 1.0,
+ "review_score": null,
+ "automated_score": null
+ },
+ "resource_usage": {
+ "cpu_percent": 16.486206896551725,
+ "memory_mb": 51.94665948275862,
+ "network_bytes_sent": 0,
+ "network_bytes_recv": 0,
+ "disk_bytes_read": 6684672,
+ "disk_bytes_write": 0,
+ "peak_memory_mb": 71.83984375,
+ "average_cpu_percent": 16.486206896551725
+ },
+ "execution_details": {
+ "command": "claude-flow sparc orchestrator Create a function to calculate fibonacci numbers",
+ "exit_code": 0,
+ "output_lines": 5,
+ "error_count": 0
+ },
+ "created_at": "2025-08-06T01:50:50.605614",
+ "started_at": "2025-08-06T01:50:47.608879",
+ "completed_at": "2025-08-06T01:50:50.605028",
+ "duration": 2.996149
+ }
+ ],
+ "metrics": {
+ "total_tasks": 1,
+ "completed_tasks": 1,
+ "failed_tasks": 0,
+ "total_agents": 0,
+ "active_agents": 0,
+ "average_execution_time": 0.0,
+ "total_execution_time": 3.998558282852173,
+ "success_rate": 1.0,
+ "throughput": 0.25009013981076694,
+ "resource_efficiency": 0.0,
+ "coordination_efficiency": 1.0,
+ "quality_score": 0.0,
+ "peak_memory_usage": 0.0,
+ "total_cpu_time": 0.0,
+ "network_overhead": 0.0
+ },
+ "created_at": "2025-08-06T01:50:47.608325",
+ "started_at": "2025-08-06T01:50:47.608330",
+ "completed_at": "2025-08-06T01:50:50.605631",
+ "duration": 2.997301,
+ "error_log": [],
+ "metadata": {}
+}
\ No newline at end of file
diff --git a/benchmark/reports/metrics_03f056f8-c7df-4feb-816f-46ae8415cffb.json b/benchmark/reports/metrics_03f056f8-c7df-4feb-816f-46ae8415cffb.json
new file mode 100644
index 0000000000..5c81ee6c66
--- /dev/null
+++ b/benchmark/reports/metrics_03f056f8-c7df-4feb-816f-46ae8415cffb.json
@@ -0,0 +1,66 @@
+{
+ "summary": {
+ "wall_clock_time": 1.304997205734253,
+ "tasks_per_second": 0.7662851656738627,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0
+ },
+ "performance": {
+ "average_duration": 0.0,
+ "median_duration": 0.0,
+ "p95_duration": 0.0,
+ "p99_duration": 0.0,
+ "total_cpu_seconds": 0.0
+ },
+ "resources": {
+ "memory": {
+ "peak_mb": 0.0,
+ "average_mb": 0.0
+ },
+ "cpu": {
+ "average_percent": 0.0,
+ "total_seconds": 0.0
+ },
+ "io": {
+ "disk_read_mb": 0.0,
+ "disk_write_mb": 0.0,
+ "network_sent_mb": 0.0,
+ "network_recv_mb": 0.0
+ }
+ },
+ "processes": {
+ "total": 1,
+ "peak_threads": 0,
+ "peak_fds": 0
+ },
+ "output": {
+ "total_size": 5,
+ "average_size": 5,
+ "complexity_score": 3.831425828369314
+ },
+ "collectors": {
+ "performance": 1,
+ "resource": 1
+ },
+ "timestamp": "2025-08-06T01:50:57.919891",
+ "process_executions": {
+ "sparc:{\"positional\": [\"coder\", \"Build a data processing pipeline\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "coder",
+ "Build a data processing pipeline"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 0.3031191825866699,
+ "total_duration": 0.3031191825866699,
+ "average_memory_mb": 40.54296875,
+ "peak_memory_mb": 66.10546875
+ }
+ }
+}
\ No newline at end of file
diff --git a/benchmark/reports/metrics_b0784f86-a849-4720-a729-8d26d1da60d9.json b/benchmark/reports/metrics_b0784f86-a849-4720-a729-8d26d1da60d9.json
new file mode 100644
index 0000000000..7a05643c90
--- /dev/null
+++ b/benchmark/reports/metrics_b0784f86-a849-4720-a729-8d26d1da60d9.json
@@ -0,0 +1,66 @@
+{
+ "summary": {
+ "wall_clock_time": 1.3046703338623047,
+ "tasks_per_second": 0.7664771506221282,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0
+ },
+ "performance": {
+ "average_duration": 0.0,
+ "median_duration": 0.0,
+ "p95_duration": 0.0,
+ "p99_duration": 0.0,
+ "total_cpu_seconds": 0.0
+ },
+ "resources": {
+ "memory": {
+ "peak_mb": 0.0,
+ "average_mb": 0.0
+ },
+ "cpu": {
+ "average_percent": 0.0,
+ "total_seconds": 0.0
+ },
+ "io": {
+ "disk_read_mb": 0.0,
+ "disk_write_mb": 0.0,
+ "network_sent_mb": 0.0,
+ "network_recv_mb": 0.0
+ }
+ },
+ "processes": {
+ "total": 1,
+ "peak_threads": 0,
+ "peak_fds": 0
+ },
+ "output": {
+ "total_size": 5,
+ "average_size": 5,
+ "complexity_score": 3.832385753110641
+ },
+ "collectors": {
+ "performance": 1,
+ "resource": 1
+ },
+ "timestamp": "2025-08-06T01:51:02.229599",
+ "process_executions": {
+ "sparc:{\"positional\": [\"researcher\", \"Build a data processing pipeline\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "researcher",
+ "Build a data processing pipeline"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 0.3028450012207031,
+ "total_duration": 0.3028450012207031,
+ "average_memory_mb": 40.70703125,
+ "peak_memory_mb": 66.26953125
+ }
+ }
+}
\ No newline at end of file
diff --git a/benchmark/reports/metrics_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json b/benchmark/reports/metrics_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json
new file mode 100644
index 0000000000..8be1e69c3e
--- /dev/null
+++ b/benchmark/reports/metrics_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json
@@ -0,0 +1,66 @@
+{
+ "summary": {
+ "wall_clock_time": 1.40604829788208,
+ "tasks_per_second": 0.7112131222706165,
+ "success_rate": 1.0,
+ "peak_memory_mb": 0.0,
+ "average_cpu_percent": 0.0
+ },
+ "performance": {
+ "average_duration": 0.0,
+ "median_duration": 0.0,
+ "p95_duration": 0.0,
+ "p99_duration": 0.0,
+ "total_cpu_seconds": 0.0
+ },
+ "resources": {
+ "memory": {
+ "peak_mb": 0.0,
+ "average_mb": 0.0
+ },
+ "cpu": {
+ "average_percent": 0.0,
+ "total_seconds": 0.0
+ },
+ "io": {
+ "disk_read_mb": 0.0,
+ "disk_write_mb": 0.0,
+ "network_sent_mb": 0.0,
+ "network_recv_mb": 0.0
+ }
+ },
+ "processes": {
+ "total": 1,
+ "peak_threads": 0,
+ "peak_fds": 0
+ },
+ "output": {
+ "total_size": 5,
+ "average_size": 5,
+ "complexity_score": 3.556065611353082
+ },
+ "collectors": {
+ "performance": 1,
+ "resource": 1
+ },
+ "timestamp": "2025-08-06T01:51:06.641177",
+ "process_executions": {
+ "sparc:{\"positional\": [\"optimizer\", \"Build a data processing pipeline\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "optimizer",
+ "Build a data processing pipeline"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 0.40410304069519043,
+ "total_duration": 0.40410304069519043,
+ "average_memory_mb": 48.0244140625,
+ "peak_memory_mb": 72.8515625
+ }
+ }
+}
\ No newline at end of file
diff --git a/benchmark/reports/process_report_03f056f8-c7df-4feb-816f-46ae8415cffb.json b/benchmark/reports/process_report_03f056f8-c7df-4feb-816f-46ae8415cffb.json
new file mode 100644
index 0000000000..76b0c438fa
--- /dev/null
+++ b/benchmark/reports/process_report_03f056f8-c7df-4feb-816f-46ae8415cffb.json
@@ -0,0 +1,47 @@
+{
+ "summary": {
+ "total_executions": 1,
+ "successful_executions": 1,
+ "failed_executions": 0,
+ "overall_success_rate": 1.0,
+ "total_duration": 0.3031191825866699,
+ "average_duration": 0.3031191825866699,
+ "peak_memory_mb": 66.10546875,
+ "average_memory_mb": 40.54296875,
+ "total_output_lines": 5,
+ "total_errors": 0
+ },
+ "command_statistics": {
+ "sparc:{\"positional\": [\"coder\", \"Build a data processing pipeline\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "coder",
+ "Build a data processing pipeline"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 0.3031191825866699,
+ "total_duration": 0.3031191825866699,
+ "average_memory_mb": 40.54296875,
+ "peak_memory_mb": 66.10546875
+ }
+ },
+ "executions": [
+ {
+ "command": "claude-flow sparc coder Build a data processing pipeline",
+ "exit_code": 0,
+ "success": true,
+ "duration": 0.3031191825866699,
+ "start_time": 1754445054.6120698,
+ "output_size": 5,
+ "error_count": 0,
+ "cpu_percent": 99.33333333333333,
+ "memory_mb": 40.54296875,
+ "peak_memory_mb": 66.10546875
+ }
+ ]
+}
\ No newline at end of file
diff --git a/benchmark/reports/process_report_b0784f86-a849-4720-a729-8d26d1da60d9.json b/benchmark/reports/process_report_b0784f86-a849-4720-a729-8d26d1da60d9.json
new file mode 100644
index 0000000000..1d4d87ec7f
--- /dev/null
+++ b/benchmark/reports/process_report_b0784f86-a849-4720-a729-8d26d1da60d9.json
@@ -0,0 +1,47 @@
+{
+ "summary": {
+ "total_executions": 1,
+ "successful_executions": 1,
+ "failed_executions": 0,
+ "overall_success_rate": 1.0,
+ "total_duration": 0.3028450012207031,
+ "average_duration": 0.3028450012207031,
+ "peak_memory_mb": 66.26953125,
+ "average_memory_mb": 40.70703125,
+ "total_output_lines": 5,
+ "total_errors": 0
+ },
+ "command_statistics": {
+ "sparc:{\"positional\": [\"researcher\", \"Build a data processing pipeline\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "researcher",
+ "Build a data processing pipeline"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 0.3028450012207031,
+ "total_duration": 0.3028450012207031,
+ "average_memory_mb": 40.70703125,
+ "peak_memory_mb": 66.26953125
+ }
+ },
+ "executions": [
+ {
+ "command": "claude-flow sparc researcher Build a data processing pipeline",
+ "exit_code": 0,
+ "success": true,
+ "duration": 0.3028450012207031,
+ "start_time": 1754445058.9219453,
+ "output_size": 5,
+ "error_count": 0,
+ "cpu_percent": 92.76666666666667,
+ "memory_mb": 40.70703125,
+ "peak_memory_mb": 66.26953125
+ }
+ ]
+}
\ No newline at end of file
diff --git a/benchmark/reports/process_report_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json b/benchmark/reports/process_report_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json
new file mode 100644
index 0000000000..e4d744bcfe
--- /dev/null
+++ b/benchmark/reports/process_report_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json
@@ -0,0 +1,47 @@
+{
+ "summary": {
+ "total_executions": 1,
+ "successful_executions": 1,
+ "failed_executions": 0,
+ "overall_success_rate": 1.0,
+ "total_duration": 0.40410304069519043,
+ "average_duration": 0.40410304069519043,
+ "peak_memory_mb": 72.8515625,
+ "average_memory_mb": 48.0244140625,
+ "total_output_lines": 5,
+ "total_errors": 0
+ },
+ "command_statistics": {
+ "sparc:{\"positional\": [\"optimizer\", \"Build a data processing pipeline\"]}": {
+ "command_type": "sparc",
+ "args": {
+ "positional": [
+ "optimizer",
+ "Build a data processing pipeline"
+ ]
+ },
+ "execution_count": 1,
+ "success_count": 1,
+ "failure_count": 0,
+ "success_rate": 1.0,
+ "average_duration": 0.40410304069519043,
+ "total_duration": 0.40410304069519043,
+ "average_memory_mb": 48.0244140625,
+ "peak_memory_mb": 72.8515625
+ }
+ },
+ "executions": [
+ {
+ "command": "claude-flow sparc optimizer Build a data processing pipeline",
+ "exit_code": 0,
+ "success": true,
+ "duration": 0.40410304069519043,
+ "start_time": 1754445063.231826,
+ "output_size": 5,
+ "error_count": 0,
+ "cpu_percent": 94.35,
+ "memory_mb": 48.0244140625,
+ "peak_memory_mb": 72.8515625
+ }
+ ]
+}
\ No newline at end of file
diff --git a/benchmark/reports/swarm-development_03f056f8-c7df-4feb-816f-46ae8415cffb.json b/benchmark/reports/swarm-development_03f056f8-c7df-4feb-816f-46ae8415cffb.json
new file mode 100644
index 0000000000..95de0e610a
--- /dev/null
+++ b/benchmark/reports/swarm-development_03f056f8-c7df-4feb-816f-46ae8415cffb.json
@@ -0,0 +1,136 @@
+{
+ "id": "03f056f8-c7df-4feb-816f-46ae8415cffb",
+ "name": "swarm-development",
+ "description": "",
+ "status": "completed",
+ "config": {
+ "name": "swarm-development",
+ "description": "",
+ "strategy": "development",
+ "mode": "hierarchical",
+ "max_agents": 5,
+ "max_tasks": 100,
+ "timeout": 3600,
+ "task_timeout": 90,
+ "max_retries": 3,
+ "parallel": true,
+ "background": false,
+ "monitoring": true,
+ "quality_threshold": 0.8,
+ "resource_limits": {
+ "max_memory_mb": 1024,
+ "max_cpu_percent": 80,
+ "max_network_mbps": 100
+ },
+ "output_formats": [
+ "json"
+ ],
+ "output_directory": "./reports",
+ "verbose": false
+ },
+ "tasks": [
+ {
+ "id": "9a1f7f48-ee7a-4693-8297-ab3d9f637694",
+ "objective": "Build a data processing pipeline",
+ "description": "Benchmark task: Build a data processing pipeline",
+ "strategy": "development",
+ "mode": "hierarchical",
+ "parameters": {},
+ "timeout": 90,
+ "max_retries": 3,
+ "priority": 1,
+ "status": "pending",
+ "created_at": "2025-08-06T01:50:54.611715",
+ "started_at": null,
+ "completed_at": null,
+ "duration": null,
+ "assigned_agents": [],
+ "parent_task_id": null,
+ "subtasks": [],
+ "dependencies": []
+ }
+ ],
+ "results": [
+ {
+ "id": "5dcac233-629e-432d-b1c4-a36c7ac04643",
+ "task_id": "9a1f7f48-ee7a-4693-8297-ab3d9f637694",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "performance_metrics": {
+ "execution_time": 0.2787971496582031,
+ "queue_time": 0.0,
+ "throughput": 3.586837244304577,
+ "success_rate": 1.0,
+ "error_rate": 0.0,
+ "retry_count": 0,
+ "coordination_overhead": 0.0,
+ "communication_latency": 0.0
+ },
+ "quality_metrics": {
+ "accuracy_score": 1.0,
+ "completeness_score": 1.0,
+ "consistency_score": 0.0,
+ "relevance_score": 0.0,
+ "overall_quality": 1.0,
+ "review_score": null,
+ "automated_score": null
+ },
+ "resource_usage": {
+ "cpu_percent": 99.33333333333333,
+ "memory_mb": 40.54296875,
+ "network_bytes_sent": 0,
+ "network_bytes_recv": 0,
+ "disk_bytes_read": 0,
+ "disk_bytes_write": 0,
+ "peak_memory_mb": 66.10546875,
+ "average_cpu_percent": 99.33333333333333
+ },
+ "execution_details": {
+ "command": "claude-flow sparc coder Build a data processing pipeline",
+ "exit_code": 0,
+ "output_lines": 5,
+ "error_count": 0
+ },
+ "created_at": "2025-08-06T01:50:54.915505",
+ "started_at": "2025-08-06T01:50:54.612070",
+ "completed_at": "2025-08-06T01:50:54.915189",
+ "duration": 0.303119
+ }
+ ],
+ "metrics": {
+ "total_tasks": 1,
+ "completed_tasks": 1,
+ "failed_tasks": 0,
+ "total_agents": 0,
+ "active_agents": 0,
+ "average_execution_time": 0.0,
+ "total_execution_time": 1.304997205734253,
+ "success_rate": 1.0,
+ "throughput": 0.7662851656738627,
+ "resource_efficiency": 0.0,
+ "coordination_efficiency": 1.0,
+ "quality_score": 0.0,
+ "peak_memory_usage": 0.0,
+ "total_cpu_time": 0.0,
+ "network_overhead": 0.0
+ },
+ "created_at": "2025-08-06T01:50:54.611739",
+ "started_at": "2025-08-06T01:50:54.611746",
+ "completed_at": "2025-08-06T01:50:54.915524",
+ "duration": 0.303778,
+ "error_log": [],
+ "metadata": {}
+}
\ No newline at end of file
diff --git a/benchmark/reports/swarm-optimization_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json b/benchmark/reports/swarm-optimization_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json
new file mode 100644
index 0000000000..633c7586fc
--- /dev/null
+++ b/benchmark/reports/swarm-optimization_ea2cf6b0-9a37-4ff2-9adf-5cce559c844c.json
@@ -0,0 +1,136 @@
+{
+ "id": "ea2cf6b0-9a37-4ff2-9adf-5cce559c844c",
+ "name": "swarm-optimization",
+ "description": "",
+ "status": "completed",
+ "config": {
+ "name": "swarm-optimization",
+ "description": "",
+ "strategy": "optimization",
+ "mode": "hybrid",
+ "max_agents": 5,
+ "max_tasks": 100,
+ "timeout": 3600,
+ "task_timeout": 90,
+ "max_retries": 3,
+ "parallel": true,
+ "background": false,
+ "monitoring": true,
+ "quality_threshold": 0.8,
+ "resource_limits": {
+ "max_memory_mb": 1024,
+ "max_cpu_percent": 80,
+ "max_network_mbps": 100
+ },
+ "output_formats": [
+ "json"
+ ],
+ "output_directory": "./reports",
+ "verbose": false
+ },
+ "tasks": [
+ {
+ "id": "8e1ce0c4-ff9c-4e30-aa2b-47518ec9ee0e",
+ "objective": "Build a data processing pipeline",
+ "description": "Benchmark task: Build a data processing pipeline",
+ "strategy": "optimization",
+ "mode": "hybrid",
+ "parameters": {},
+ "timeout": 90,
+ "max_retries": 3,
+ "priority": 1,
+ "status": "pending",
+ "created_at": "2025-08-06T01:51:03.231462",
+ "started_at": null,
+ "completed_at": null,
+ "duration": null,
+ "assigned_agents": [],
+ "parent_task_id": null,
+ "subtasks": [],
+ "dependencies": []
+ }
+ ],
+ "results": [
+ {
+ "id": "ae375bb9-e1ec-4dcb-9ff3-5dc2bec67fb0",
+ "task_id": "8e1ce0c4-ff9c-4e30-aa2b-47518ec9ee0e",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "performance_metrics": {
+ "execution_time": 0.31450533866882324,
+ "queue_time": 0.0,
+ "throughput": 3.1795962645105,
+ "success_rate": 1.0,
+ "error_rate": 0.0,
+ "retry_count": 0,
+ "coordination_overhead": 0.0,
+ "communication_latency": 0.0
+ },
+ "quality_metrics": {
+ "accuracy_score": 1.0,
+ "completeness_score": 1.0,
+ "consistency_score": 0.0,
+ "relevance_score": 0.0,
+ "overall_quality": 1.0,
+ "review_score": null,
+ "automated_score": null
+ },
+ "resource_usage": {
+ "cpu_percent": 94.35,
+ "memory_mb": 48.0244140625,
+ "network_bytes_sent": 0,
+ "network_bytes_recv": 0,
+ "disk_bytes_read": 0,
+ "disk_bytes_write": 0,
+ "peak_memory_mb": 72.8515625,
+ "average_cpu_percent": 94.35
+ },
+ "execution_details": {
+ "command": "claude-flow sparc optimizer Build a data processing pipeline",
+ "exit_code": 0,
+ "output_lines": 5,
+ "error_count": 0
+ },
+ "created_at": "2025-08-06T01:51:03.636257",
+ "started_at": "2025-08-06T01:51:03.231826",
+ "completed_at": "2025-08-06T01:51:03.635929",
+ "duration": 0.404103
+ }
+ ],
+ "metrics": {
+ "total_tasks": 1,
+ "completed_tasks": 1,
+ "failed_tasks": 0,
+ "total_agents": 0,
+ "active_agents": 0,
+ "average_execution_time": 0.0,
+ "total_execution_time": 1.40604829788208,
+ "success_rate": 1.0,
+ "throughput": 0.7112131222706165,
+ "resource_efficiency": 0.0,
+ "coordination_efficiency": 1.0,
+ "quality_score": 0.0,
+ "peak_memory_usage": 0.0,
+ "total_cpu_time": 0.0,
+ "network_overhead": 0.0
+ },
+ "created_at": "2025-08-06T01:51:03.231482",
+ "started_at": "2025-08-06T01:51:03.231486",
+ "completed_at": "2025-08-06T01:51:03.636273",
+ "duration": 0.404787,
+ "error_log": [],
+ "metadata": {}
+}
\ No newline at end of file
diff --git a/benchmark/reports/swarm-research_b0784f86-a849-4720-a729-8d26d1da60d9.json b/benchmark/reports/swarm-research_b0784f86-a849-4720-a729-8d26d1da60d9.json
new file mode 100644
index 0000000000..277be2708c
--- /dev/null
+++ b/benchmark/reports/swarm-research_b0784f86-a849-4720-a729-8d26d1da60d9.json
@@ -0,0 +1,136 @@
+{
+ "id": "b0784f86-a849-4720-a729-8d26d1da60d9",
+ "name": "swarm-research",
+ "description": "",
+ "status": "completed",
+ "config": {
+ "name": "swarm-research",
+ "description": "",
+ "strategy": "research",
+ "mode": "distributed",
+ "max_agents": 5,
+ "max_tasks": 100,
+ "timeout": 3600,
+ "task_timeout": 90,
+ "max_retries": 3,
+ "parallel": true,
+ "background": false,
+ "monitoring": true,
+ "quality_threshold": 0.8,
+ "resource_limits": {
+ "max_memory_mb": 1024,
+ "max_cpu_percent": 80,
+ "max_network_mbps": 100
+ },
+ "output_formats": [
+ "json"
+ ],
+ "output_directory": "./reports",
+ "verbose": false
+ },
+ "tasks": [
+ {
+ "id": "9a9cd8d6-d063-42b2-a9dd-b3a72ff4f113",
+ "objective": "Build a data processing pipeline",
+ "description": "Benchmark task: Build a data processing pipeline",
+ "strategy": "research",
+ "mode": "distributed",
+ "parameters": {},
+ "timeout": 90,
+ "max_retries": 3,
+ "priority": 1,
+ "status": "pending",
+ "created_at": "2025-08-06T01:50:58.921664",
+ "started_at": null,
+ "completed_at": null,
+ "duration": null,
+ "assigned_agents": [],
+ "parent_task_id": null,
+ "subtasks": [],
+ "dependencies": []
+ }
+ ],
+ "results": [
+ {
+ "id": "ef86994f-b018-42a6-a8ac-d67a3b2990b5",
+ "task_id": "9a9cd8d6-d063-42b2-a9dd-b3a72ff4f113",
+ "agent_id": "claude-flow",
+ "status": "success",
+ "output": {
+ "raw_output": "\u274c SPARC configuration file (.roomodes) not found\nPlease ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark\n\nTo enable SPARC development modes, run:\n npx claude-flow@latest init --sparc",
+ "lines": [
+ "\u274c SPARC configuration file (.roomodes) not found",
+ "Please ensure .roomodes file exists in: /workspaces/claude-code-flow/benchmark",
+ "",
+ "To enable SPARC development modes, run:",
+ " npx claude-flow@latest init --sparc"
+ ],
+ "sections": {}
+ },
+ "errors": [],
+ "warnings": [],
+ "performance_metrics": {
+ "execution_time": 0.2775075435638428,
+ "queue_time": 0.0,
+ "throughput": 3.603505645856226,
+ "success_rate": 1.0,
+ "error_rate": 0.0,
+ "retry_count": 0,
+ "coordination_overhead": 0.0,
+ "communication_latency": 0.0
+ },
+ "quality_metrics": {
+ "accuracy_score": 1.0,
+ "completeness_score": 1.0,
+ "consistency_score": 0.0,
+ "relevance_score": 0.0,
+ "overall_quality": 1.0,
+ "review_score": null,
+ "automated_score": null
+ },
+ "resource_usage": {
+ "cpu_percent": 92.76666666666667,
+ "memory_mb": 40.70703125,
+ "network_bytes_sent": 0,
+ "network_bytes_recv": 0,
+ "disk_bytes_read": 0,
+ "disk_bytes_write": 0,
+ "peak_memory_mb": 66.26953125,
+ "average_cpu_percent": 92.76666666666667
+ },
+ "execution_details": {
+ "command": "claude-flow sparc researcher Build a data processing pipeline",
+ "exit_code": 0,
+ "output_lines": 5,
+ "error_count": 0
+ },
+ "created_at": "2025-08-06T01:50:59.225145",
+ "started_at": "2025-08-06T01:50:58.921945",
+ "completed_at": "2025-08-06T01:50:59.224790",
+ "duration": 0.302845
+ }
+ ],
+ "metrics": {
+ "total_tasks": 1,
+ "completed_tasks": 1,
+ "failed_tasks": 0,
+ "total_agents": 0,
+ "active_agents": 0,
+ "average_execution_time": 0.0,
+ "total_execution_time": 1.3046703338623047,
+ "success_rate": 1.0,
+ "throughput": 0.7664771506221282,
+ "resource_efficiency": 0.0,
+ "coordination_efficiency": 1.0,
+ "quality_score": 0.0,
+ "peak_memory_usage": 0.0,
+ "total_cpu_time": 0.0,
+ "network_overhead": 0.0
+ },
+ "created_at": "2025-08-06T01:50:58.921685",
+ "started_at": "2025-08-06T01:50:58.921690",
+ "completed_at": "2025-08-06T01:50:59.225158",
+ "duration": 0.303468,
+ "error_log": [],
+ "metadata": {}
+}
\ No newline at end of file
diff --git a/benchmark/scripts/__pycache__/__init__.cpython-312.pyc b/benchmark/scripts/__pycache__/__init__.cpython-312.pyc
new file mode 100644
index 0000000000..bb6f2fb7a3
Binary files /dev/null and b/benchmark/scripts/__pycache__/__init__.cpython-312.pyc differ
diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/real_benchmark_engine.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/real_benchmark_engine.cpython-312.pyc
new file mode 100644
index 0000000000..b8f152951d
Binary files /dev/null and b/benchmark/src/swarm_benchmark/core/__pycache__/real_benchmark_engine.cpython-312.pyc differ
diff --git a/benchmark/src/swarm_benchmark/metrics/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/metrics/__pycache__/__init__.cpython-312.pyc
new file mode 100644
index 0000000000..152f4f4031
Binary files /dev/null and b/benchmark/src/swarm_benchmark/metrics/__pycache__/__init__.cpython-312.pyc differ
diff --git a/benchmark/src/swarm_benchmark/metrics/__pycache__/metrics_aggregator.cpython-312.pyc b/benchmark/src/swarm_benchmark/metrics/__pycache__/metrics_aggregator.cpython-312.pyc
new file mode 100644
index 0000000000..74ad87fe36
Binary files /dev/null and b/benchmark/src/swarm_benchmark/metrics/__pycache__/metrics_aggregator.cpython-312.pyc differ
diff --git a/benchmark/src/swarm_benchmark/metrics/__pycache__/performance_collector.cpython-312.pyc b/benchmark/src/swarm_benchmark/metrics/__pycache__/performance_collector.cpython-312.pyc
new file mode 100644
index 0000000000..c998b562b3
Binary files /dev/null and b/benchmark/src/swarm_benchmark/metrics/__pycache__/performance_collector.cpython-312.pyc differ
diff --git a/benchmark/src/swarm_benchmark/metrics/__pycache__/process_tracker.cpython-312.pyc b/benchmark/src/swarm_benchmark/metrics/__pycache__/process_tracker.cpython-312.pyc
new file mode 100644
index 0000000000..4f4bdbf215
Binary files /dev/null and b/benchmark/src/swarm_benchmark/metrics/__pycache__/process_tracker.cpython-312.pyc differ
diff --git a/benchmark/src/swarm_benchmark/metrics/__pycache__/resource_monitor.cpython-312.pyc b/benchmark/src/swarm_benchmark/metrics/__pycache__/resource_monitor.cpython-312.pyc
new file mode 100644
index 0000000000..dfd125adaf
Binary files /dev/null and b/benchmark/src/swarm_benchmark/metrics/__pycache__/resource_monitor.cpython-312.pyc differ
diff --git a/benchmark/tests/.claude/checkpoints/1754445023.json b/benchmark/tests/.claude/checkpoints/1754445023.json
new file mode 100644
index 0000000000..a98b9bcaaa
--- /dev/null
+++ b/benchmark/tests/.claude/checkpoints/1754445023.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-015023", "file": "/workspaces/claude-code-flow/benchmark/tools/__init__.py", "timestamp": "2025-08-06T01:50:23Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/system-metrics.json | 5608 ++++++++++---------- benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- benchmark/ci_performance_integration.py | 754 --- benchmark/compare_optimizations.py | 172 - benchmark/demo_comprehensive.py | 233 - benchmark/demo_mle_star.py | 152 - benchmark/demo_real_benchmark.py | 219 - benchmark/example_usage.py | 249 - .../__pycache__/benchmark_runner.cpython-312.pyc | Bin 24173 -> 0 bytes .../automated_test_runner.cpython-312.pyc | Bin 32696 -> 0 bytes .../__pycache__/parallel_executor.cpython-312.pyc | Bin 23676 -> 0 bytes .../__pycache__/result_collector.cpython-312.pyc | Bin 39201 -> 0 bytes benchmark/mle_star_benchmark_example.py | 229 - benchmark/performance_dashboard.py | 769 --- benchmark/quick_test_integration.py | 44 - .../__pycache__/__init__.cpython-312.pyc | Bin 2870 -> 2879 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 1345 -> 0 bytes .../__pycache__/memory_profiler.cpython-312.pyc | Bin 43459 -> 0 bytes .../__pycache__/metric_aggregator.cpython-312.pyc | Bin 42675 -> 0 bytes .../__pycache__/neural_benchmarks.cpython-312.pyc | Bin 44186 -> 0 bytes .../performance_analyzer.cpython-312.pyc | Bin 57821 -> 0 bytes .../__pycache__/token_optimizer.cpython-312.pyc | Bin 40053 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 1652 -> 0 bytes .../__pycache__/batch_processor.cpython-312.pyc | Bin 40756 -> 0 bytes .../__pycache__/decision_engine.cpython-312.pyc | Bin 44984 -> 0 bytes .../automation/__pycache__/models.cpython-312.pyc | Bin 2252 -> 0 bytes .../__pycache__/pipeline_manager.cpython-312.pyc | Bin 32505 -> 0 bytes .../__pycache__/resource_pool.cpython-312.pyc | Bin 38372 -> 0 bytes .../__pycache__/workflow_executor.cpython-312.pyc | Bin 43709 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 738 -> 0 bytes .../__pycache__/optimizer.cpython-312.pyc | Bin 27444 -> 0 bytes .../__pycache__/rules_engine.cpython-312.pyc | Bin 20977 -> 0 bytes .../__pycache__/templates.cpython-312.pyc | Bin 21167 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 2698 -> 0 bytes .../config/__pycache__/__init__.cpython-312.pyc | Bin 524 -> 533 bytes .../__pycache__/unified_config.cpython-312.pyc | Bin 27458 -> 27467 bytes .../core/__pycache__/__init__.cpython-312.pyc | Bin 1415 -> 1424 bytes .../__pycache__/base_interfaces.cpython-312.pyc | Bin 20843 -> 20852 bytes .../__pycache__/benchmark_engine.cpython-312.pyc | Bin 7620 -> 7629 bytes .../core/__pycache__/models.cpython-312.pyc | Bin 18629 -> 18638 bytes .../optimized_benchmark_engine.cpython-312.pyc | Bin 15770 -> 15779 bytes .../orchestration_manager.cpython-312.pyc | Bin 25940 -> 25949 bytes .../__pycache__/parallel_executor.cpython-312.pyc | Bin 35716 -> 35725 bytes .../__pycache__/result_aggregator.cpython-312.pyc | Bin 1029 -> 1038 bytes .../__pycache__/task_scheduler.cpython-312.pyc | Bin 22516 -> 22525 bytes .../mle_star/__pycache__/__init__.cpython-312.pyc | Bin 1091 -> 0 bytes .../__pycache__/ensemble_executor.cpython-312.pyc | Bin 24374 -> 0 bytes .../__pycache__/ml_scenarios.cpython-312.pyc | Bin 28015 -> 0 bytes .../__pycache__/model_coordinator.cpython-312.pyc | Bin 38329 -> 0 bytes .../performance_tracker.cpython-312.pyc | Bin 31006 -> 0 bytes .../__pycache__/voting_strategies.cpython-312.pyc | Bin 31206 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 2003 -> 2012 bytes .../__pycache__/analysis_strategy.cpython-312.pyc | Bin 3220 -> 3229 bytes .../__pycache__/auto_strategy.cpython-312.pyc | Bin 5525 -> 5534 bytes .../__pycache__/base_strategy.cpython-312.pyc | Bin 2972 -> 2981 bytes .../development_strategy.cpython-312.pyc | Bin 6692 -> 6701 bytes .../maintenance_strategy.cpython-312.pyc | Bin 3239 -> 3248 bytes .../optimization_strategy.cpython-312.pyc | Bin 3290 -> 3299 bytes .../__pycache__/research_strategy.cpython-312.pyc | Bin 6215 -> 6224 bytes .../__pycache__/testing_strategy.cpython-312.pyc | Bin 3181 -> 3190 bytes benchmark/test_claude_optimizer.py | 235 - benchmark/test_integration.py | 274 - benchmark/test_mle_star_integration.py | 225 - benchmark/test_real_benchmark_engine.py | 317 -- benchmark/test_real_claude_flow.py | 218 - benchmark/test_real_metrics.py | 128 - benchmark/test_real_simple.py | 104 - benchmark/test_simple_run.py | 35 - .../tests/.claude-flow/metrics/performance.json | 2 +- .../tests/.claude-flow/metrics/task-metrics.json | 6 +- .../tests/.claude/checkpoints/1754445017.json | 1 + .../tests/.claude/checkpoints/1754445019.json | 1 + .../tests/.claude/checkpoints/1754445021.json | 1 + .../conftest.cpython-312-pytest-8.4.0.pyc | Bin 0 -> 22406 bytes .../fixtures/__pycache__/__init__.cpython-312.pyc | Bin 0 -> 490 bytes .../test_data.cpython-312-pytest-8.4.0.pyc | Bin 0 -> 11010 bytes benchmark/tools/__init__.py | 6 + claude-flow-wiki | 0 79 files changed, 2881 insertions(+), 7109 deletions(-) "}
diff --git a/benchmark/tests/.claude/checkpoints/1754445025.json b/benchmark/tests/.claude/checkpoints/1754445025.json
new file mode 100644
index 0000000000..65b717612d
--- /dev/null
+++ b/benchmark/tests/.claude/checkpoints/1754445025.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-015025", "file": "/workspaces/claude-code-flow/benchmark/tests/integration/test_real_benchmark_engine.py", "timestamp": "2025-08-06T01:50:25Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/system-metrics.json | 5608 ++++++++++---------- benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- benchmark/ci_performance_integration.py | 754 --- benchmark/compare_optimizations.py | 172 - benchmark/demo_comprehensive.py | 233 - benchmark/demo_mle_star.py | 152 - benchmark/demo_real_benchmark.py | 219 - benchmark/example_usage.py | 249 - .../__pycache__/benchmark_runner.cpython-312.pyc | Bin 24173 -> 0 bytes .../automated_test_runner.cpython-312.pyc | Bin 32696 -> 0 bytes .../__pycache__/parallel_executor.cpython-312.pyc | Bin 23676 -> 0 bytes .../__pycache__/result_collector.cpython-312.pyc | Bin 39201 -> 0 bytes benchmark/mle_star_benchmark_example.py | 229 - benchmark/performance_dashboard.py | 769 --- benchmark/quick_test_integration.py | 44 - .../__pycache__/__init__.cpython-312.pyc | Bin 2870 -> 2879 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 1345 -> 0 bytes .../__pycache__/memory_profiler.cpython-312.pyc | Bin 43459 -> 0 bytes .../__pycache__/metric_aggregator.cpython-312.pyc | Bin 42675 -> 0 bytes .../__pycache__/neural_benchmarks.cpython-312.pyc | Bin 44186 -> 0 bytes .../performance_analyzer.cpython-312.pyc | Bin 57821 -> 0 bytes .../__pycache__/token_optimizer.cpython-312.pyc | Bin 40053 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 1652 -> 0 bytes .../__pycache__/batch_processor.cpython-312.pyc | Bin 40756 -> 0 bytes .../__pycache__/decision_engine.cpython-312.pyc | Bin 44984 -> 0 bytes .../automation/__pycache__/models.cpython-312.pyc | Bin 2252 -> 0 bytes .../__pycache__/pipeline_manager.cpython-312.pyc | Bin 32505 -> 0 bytes .../__pycache__/resource_pool.cpython-312.pyc | Bin 38372 -> 0 bytes .../__pycache__/workflow_executor.cpython-312.pyc | Bin 43709 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 738 -> 0 bytes .../__pycache__/optimizer.cpython-312.pyc | Bin 27444 -> 0 bytes .../__pycache__/rules_engine.cpython-312.pyc | Bin 20977 -> 0 bytes .../__pycache__/templates.cpython-312.pyc | Bin 21167 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 2698 -> 0 bytes .../config/__pycache__/__init__.cpython-312.pyc | Bin 524 -> 533 bytes .../__pycache__/unified_config.cpython-312.pyc | Bin 27458 -> 27467 bytes .../core/__pycache__/__init__.cpython-312.pyc | Bin 1415 -> 1424 bytes .../__pycache__/base_interfaces.cpython-312.pyc | Bin 20843 -> 20852 bytes .../__pycache__/benchmark_engine.cpython-312.pyc | Bin 7620 -> 7629 bytes .../core/__pycache__/models.cpython-312.pyc | Bin 18629 -> 18638 bytes .../optimized_benchmark_engine.cpython-312.pyc | Bin 15770 -> 15779 bytes .../orchestration_manager.cpython-312.pyc | Bin 25940 -> 25949 bytes .../__pycache__/parallel_executor.cpython-312.pyc | Bin 35716 -> 35725 bytes .../__pycache__/result_aggregator.cpython-312.pyc | Bin 1029 -> 1038 bytes .../__pycache__/task_scheduler.cpython-312.pyc | Bin 22516 -> 22525 bytes .../mle_star/__pycache__/__init__.cpython-312.pyc | Bin 1091 -> 0 bytes .../__pycache__/ensemble_executor.cpython-312.pyc | Bin 24374 -> 0 bytes .../__pycache__/ml_scenarios.cpython-312.pyc | Bin 28015 -> 0 bytes .../__pycache__/model_coordinator.cpython-312.pyc | Bin 38329 -> 0 bytes .../performance_tracker.cpython-312.pyc | Bin 31006 -> 0 bytes .../__pycache__/voting_strategies.cpython-312.pyc | Bin 31206 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 2003 -> 2012 bytes .../__pycache__/analysis_strategy.cpython-312.pyc | Bin 3220 -> 3229 bytes .../__pycache__/auto_strategy.cpython-312.pyc | Bin 5525 -> 5534 bytes .../__pycache__/base_strategy.cpython-312.pyc | Bin 2972 -> 2981 bytes .../development_strategy.cpython-312.pyc | Bin 6692 -> 6701 bytes .../maintenance_strategy.cpython-312.pyc | Bin 3239 -> 3248 bytes .../optimization_strategy.cpython-312.pyc | Bin 3290 -> 3299 bytes .../__pycache__/research_strategy.cpython-312.pyc | Bin 6215 -> 6224 bytes .../__pycache__/testing_strategy.cpython-312.pyc | Bin 3181 -> 3190 bytes benchmark/test_claude_optimizer.py | 235 - benchmark/test_integration.py | 274 - benchmark/test_mle_star_integration.py | 225 - benchmark/test_real_benchmark_engine.py | 317 -- benchmark/test_real_claude_flow.py | 218 - benchmark/test_real_metrics.py | 128 - benchmark/test_real_simple.py | 104 - benchmark/test_simple_run.py | 35 - .../tests/.claude-flow/metrics/performance.json | 2 +- .../tests/.claude-flow/metrics/task-metrics.json | 6 +- .../integration/test_real_benchmark_engine.py | 2 +- claude-flow-wiki | 0 73 files changed, 2873 insertions(+), 7110 deletions(-) "}
diff --git a/benchmark/tests/integration/test_real_benchmark_engine.py b/benchmark/tests/integration/test_real_benchmark_engine.py
index 013b5e15f2..9651057bff 100644
--- a/benchmark/tests/integration/test_real_benchmark_engine.py
+++ b/benchmark/tests/integration/test_real_benchmark_engine.py
@@ -11,7 +11,7 @@ from pathlib import Path
from datetime import datetime
# Add the benchmark source to Python path
-sys.path.insert(0, str(Path(__file__).parent / "src"))
+sys.path.insert(0, str(Path(__file__).parent.parent.parent / "src"))
from swarm_benchmark.core.real_benchmark_engine import RealBenchmarkEngine
from swarm_benchmark.core.models import (
diff --git a/benchmark/tests/unit/__pycache__/test_models.cpython-312.pyc b/benchmark/tests/unit/__pycache__/test_models.cpython-312.pyc
new file mode 100644
index 0000000000..04fe9836cb
Binary files /dev/null and b/benchmark/tests/unit/__pycache__/test_models.cpython-312.pyc differ
diff --git a/benchmark/tools/__pycache__/__init__.cpython-312.pyc b/benchmark/tools/__pycache__/__init__.cpython-312.pyc
new file mode 100644
index 0000000000..c2f578ad2b
Binary files /dev/null and b/benchmark/tools/__pycache__/__init__.cpython-312.pyc differ