diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.json index 8c0097a239..ff095c0d2e 100644 --- a/.claude-flow/metrics/performance.json +++ b/.claude-flow/metrics/performance.json @@ -1,5 +1,5 @@ { - "startTime": 1754482685599, + "startTime": 1754482750506, "totalTasks": 1, "successfulTasks": 1, "failedTasks": 0, diff --git a/.claude-flow/metrics/system-metrics.json b/.claude-flow/metrics/system-metrics.json index 2bb19e6438..9ae4bc5083 100644 --- a/.claude-flow/metrics/system-metrics.json +++ b/.claude-flow/metrics/system-metrics.json @@ -10,5 +10,29 @@ "cpuLoad": 0.038125, "platform": "linux", "uptime": 3675.34 + }, + { + "timestamp": 1754482711938, + "memoryTotal": 67427549184, + "memoryUsed": 5644382208, + "memoryFree": 61783166976, + "memoryUsagePercent": 8.371032725210432, + "memoryEfficiency": 91.62896727478957, + "cpuCount": 16, + "cpuLoad": 0.056875, + "platform": "linux", + "uptime": 3705.36 + }, + { + "timestamp": 1754482741969, + "memoryTotal": 67427549184, + "memoryUsed": 5967519744, + "memoryFree": 61460029440, + "memoryUsagePercent": 8.850269387243342, + "memoryEfficiency": 91.14973061275666, + "cpuCount": 16, + "cpuLoad": 0.061875, + "platform": "linux", + "uptime": 3735.39 } ] \ No newline at end of file diff --git a/.claude-flow/metrics/task-metrics.json b/.claude-flow/metrics/task-metrics.json index fe81756b33..d8e1789aee 100644 --- a/.claude-flow/metrics/task-metrics.json +++ b/.claude-flow/metrics/task-metrics.json @@ -1,10 +1,10 @@ [ { - "id": "cmd-hooks-1754482685701", + "id": "cmd-hooks-1754482750606", "type": "hooks", "success": true, - "duration": 76.62816699999999, - "timestamp": 1754482685778, + "duration": 7.882168999999976, + "timestamp": 1754482750614, "metadata": {} } ] \ No newline at end of file diff --git a/.claude/checkpoints/1754482703.json b/.claude/checkpoints/1754482703.json new file mode 100644 index 0000000000..3fee30c942 --- /dev/null +++ b/.claude/checkpoints/1754482703.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-121823", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/real_benchmark_engine.py", "timestamp": "2025-08-06T12:18:23Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754482705.json b/.claude/checkpoints/1754482705.json new file mode 100644 index 0000000000..3327b8fb73 --- /dev/null +++ b/.claude/checkpoints/1754482705.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-121825", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/real_benchmark_engine.py", "timestamp": "2025-08-06T12:18:25Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 672 ++++++++++++++++++++- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754482690.json | 1 + benchmark/.claude-flow/metrics/performance.json | 4 + benchmark/.claude-flow/metrics/system-metrics.json | 16 + benchmark/.claude-flow/metrics/task-metrics.json | 8 + benchmark/.claude/checkpoints/1754445320.json | 1 + benchmark/.claude/checkpoints/1754445322.json | 1 + benchmark/demo_reports/benchmark_summary.json | 89 --- ...-mesh_54f77f50-5c84-4bee-a929-207b1194ac7d.json | 129 ---- ...-mesh_826e8b63-4f5e-4aea-bd83-04b4496cfc4e.json | 129 ---- ...-mesh_bdb0f91c-4de0-4459-aacd-702df5b8dd3d.json | 129 ---- ...lized_0ccd161d-5c63-4117-a8b2-59db5a9dda48.json | 131 ---- ...lized_b7461443-088c-4cb3-a90d-5936cc4c9891.json | 131 ---- ...lized_b7e1dad2-453d-4983-8f6f-14f7be7dc716.json | 131 ---- ...hical_62f546df-f93c-468a-b4e7-cf665a791aaf.json | 131 ---- ...hical_6611c450-c58b-4e9c-badd-7c5aaf89f4fd.json | 131 ---- ...hical_e723cdc5-93b9-4480-b136-281f9990ef3e.json | 131 ---- ...lized_14cf0a3f-11f8-4297-8250-619a7c57d8b2.json | 129 ---- ...lized_8621aa31-c81a-437e-b5b0-5500ad975393.json | 129 ---- ...lized_9afe8bb8-143d-429b-9da1-ed6722d18dd3.json | 129 ---- ...ybrid_20e5e971-c1aa-411f-a4c1-bd9c831d468a.json | 129 ---- ...ybrid_a563ac83-1474-4f2e-8628-cf38d363f4d2.json | 129 ---- ...ybrid_e81f77c8-485f-449c-9160-4639ecff6741.json | 129 ---- ...buted_02e44433-4487-4983-8cb5-dfd39be0e393.json | 129 ---- ...buted_67cab5d5-e07c-48fb-94fc-8bfb59d8a030.json | 129 ---- ...buted_7f0d6c07-159e-4956-bbfa-c80906c87c97.json | 129 ---- ...buted_c88872a5-d0bd-4d5f-9bfd-39904d4000bd.json | 126 ---- ...buted_c941e576-5936-4044-9133-f6aa6d292a3e.json | 126 ---- ...buted_de30d0d7-afab-42bd-b244-5e1fc4e55adc.json | 126 ---- .../__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 .../optimization_comparison_20250614_200237.json | 52 -- .../reports/examples/all_examples_results.json | 96 +-- .../__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 .../core/__pycache__/models.cpython-312.pyc | Bin 18629 -> 18638 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 .../core/claude_flow_real_executor.py | 9 +- .../swarm_benchmark/core/real_benchmark_engine.py | 8 +- .../__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 ... Test_709dc013-50f2-4810-bd2f-e3b3073f8ae6.json | 131 ---- ... Test_7263107f-9031-4403-901c-9db6e3fc96c6.json | 131 ---- ... Test_8f21a1f2-bd66-420d-ad63-97c7c964582a.json | 131 ---- .../tests/.claude-flow/metrics/performance.json | 4 + .../tests/.claude-flow/metrics/task-metrics.json | 8 + .../tests/integration/test_mle_star_integration.py | 211 +------ .../integration/test_mle_star_integration_fixed.py | 21 - claude-flow-wiki | 0 84 files changed, 775 insertions(+), 3539 deletions(-) "} diff --git a/benchmark/.claude-flow/metrics/performance.json b/benchmark/.claude-flow/metrics/performance.json index a87d29ce63..337e7355ba 100644 --- a/benchmark/.claude-flow/metrics/performance.json +++ b/benchmark/.claude-flow/metrics/performance.json @@ -1,5 +1,9 @@ { +<<<<<<< Updated upstream "startTime": 1754448051459, +======= + "startTime": 1754445330423, +>>>>>>> Stashed changes "totalTasks": 1, "successfulTasks": 1, "failedTasks": 0, diff --git a/benchmark/.claude-flow/metrics/system-metrics.json b/benchmark/.claude-flow/metrics/system-metrics.json index 167a5877f9..3143e5c2f2 100644 --- a/benchmark/.claude-flow/metrics/system-metrics.json +++ b/benchmark/.claude-flow/metrics/system-metrics.json @@ -9,6 +9,7 @@ "cpuCount": 16, "cpuLoad": 0.2725, "platform": "linux", +<<<<<<< Updated upstream "uptime": 15185.94 }, { @@ -34,5 +35,20 @@ "cpuLoad": 0.26625, "platform": "linux", "uptime": 15246 +======= + "uptime": 13300.77 + }, + { + "timestamp": 1754445262184, + "memoryTotal": 67427545088, + "memoryUsed": 7953563648, + "memoryFree": 59473981440, + "memoryUsagePercent": 11.795718852910584, + "memoryEfficiency": 88.20428114708942, + "cpuCount": 16, + "cpuLoad": 0.135, + "platform": "linux", + "uptime": 13330.8 +>>>>>>> Stashed changes } ] \ No newline at end of file diff --git a/benchmark/.claude-flow/metrics/task-metrics.json b/benchmark/.claude-flow/metrics/task-metrics.json index a75cb7ccf8..44a97351b4 100644 --- a/benchmark/.claude-flow/metrics/task-metrics.json +++ b/benchmark/.claude-flow/metrics/task-metrics.json @@ -1,10 +1,18 @@ [ { +<<<<<<< Updated upstream "id": "cmd-hooks-1754448051558", "type": "hooks", "success": true, "duration": 9.677881999999983, "timestamp": 1754448051568, +======= + "id": "cmd-hooks-1754445330524", + "type": "hooks", + "success": true, + "duration": 13.069092000000012, + "timestamp": 1754445330537, +>>>>>>> Stashed changes "metadata": {} } ] \ No newline at end of file diff --git a/benchmark/demo_reports/benchmark_summary.json b/benchmark/demo_reports/benchmark_summary.json deleted file mode 100644 index 8affd10528..0000000000 --- a/benchmark/demo_reports/benchmark_summary.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "demonstration_results": [ - { - "scenario": "Auto Strategy - Centralized", - "strategy": "auto", - "mode": "centralized", - "agents": 3, - "duration": 0.201564, - "execution_time": 0.200354, - "cpu_usage": 25.0, - "memory_usage": 256, - "status": "success" - }, - { - "scenario": "Research Strategy - Distributed", - "strategy": "research", - "mode": "distributed", - "agents": 5, - "duration": 0.100337, - "execution_time": 0.100228, - "cpu_usage": 15.0, - "memory_usage": 128, - "status": "success" - }, - { - "scenario": "Development Strategy - Hierarchical", - "strategy": "development", - "mode": "hierarchical", - "agents": 6, - "duration": 0.200443, - "execution_time": 0.200342, - "cpu_usage": 25.0, - "memory_usage": 256, - "status": "success" - }, - { - "scenario": "Analysis Strategy - Mesh", - "strategy": "analysis", - "mode": "mesh", - "agents": 4, - "duration": 0.150367, - "execution_time": 0.150275, - "cpu_usage": 20.0, - "memory_usage": 192, - "status": "success" - }, - { - "scenario": "Optimization Strategy - Hybrid", - "strategy": "optimization", - "mode": "hybrid", - "agents": 7, - "duration": 0.180401, - "execution_time": 0.180309, - "cpu_usage": 30.0, - "memory_usage": 320, - "status": "success" - }, - { - "scenario": "Testing Strategy - Distributed", - "strategy": "testing", - "mode": "distributed", - "agents": 4, - "duration": 0.120327, - "execution_time": 0.120238, - "cpu_usage": 18.0, - "memory_usage": 160, - "status": "success" - }, - { - "scenario": "Maintenance Strategy - Centralized", - "strategy": "maintenance", - "mode": "centralized", - "agents": 2, - "duration": 0.14037, - "execution_time": 0.140273, - "cpu_usage": 22.0, - "memory_usage": 180, - "status": "success" - } - ], - "summary_statistics": { - "total_tests": 7, - "successful_tests": 7, - "failed_tests": 0, - "success_rate": 100.0, - "strategy_coverage": 7, - "mode_coverage": 5 - } -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-analysis-mesh_54f77f50-5c84-4bee-a929-207b1194ac7d.json b/benchmark/demo_reports/demo-analysis-mesh_54f77f50-5c84-4bee-a929-207b1194ac7d.json deleted file mode 100644 index 61b62df3fa..0000000000 --- a/benchmark/demo_reports/demo-analysis-mesh_54f77f50-5c84-4bee-a929-207b1194ac7d.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "54f77f50-5c84-4bee-a929-207b1194ac7d", - "name": "demo-analysis-mesh", - "description": "Demo: Analysis Strategy - Mesh", - "status": "completed", - "config": { - "name": "demo-analysis-mesh", - "description": "Demo: Analysis Strategy - Mesh", - "strategy": "analysis", - "mode": "mesh", - "max_agents": 4, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "8fe90897-a1b5-459f-b0ea-458a95967d43", - "objective": "Analyze user behavior patterns and generate insights", - "description": "Benchmark task: Analyze user behavior patterns and generate insights", - "strategy": "analysis", - "mode": "mesh", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:57:16.256723", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "a3706575-441e-40e5-acbc-166044b22550", - "task_id": "8fe90897-a1b5-459f-b0ea-458a95967d43", - "agent_id": "analysis-agent", - "status": "success", - "output": { - "analysis_results": "Analysis completed for: Analyze user behavior patterns and generate insights", - "insights": [ - "trend 1", - "pattern 2", - "correlation 3" - ], - "methodology": "statistical analysis" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.150275, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 20.0, - "memory_mb": 192, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:57:16.407101", - "started_at": "2025-06-17T16:57:16.256769", - "completed_at": "2025-06-17T16:57:16.407066", - "duration": 0.150297 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.150275, - "total_execution_time": 0.150275, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:57:16.256748", - "started_at": "2025-06-17T16:57:16.256753", - "completed_at": "2025-06-17T16:57:16.407120", - "duration": 0.150367, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-analysis-mesh_826e8b63-4f5e-4aea-bd83-04b4496cfc4e.json b/benchmark/demo_reports/demo-analysis-mesh_826e8b63-4f5e-4aea-bd83-04b4496cfc4e.json deleted file mode 100644 index 2e4bb2a056..0000000000 --- a/benchmark/demo_reports/demo-analysis-mesh_826e8b63-4f5e-4aea-bd83-04b4496cfc4e.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "826e8b63-4f5e-4aea-bd83-04b4496cfc4e", - "name": "demo-analysis-mesh", - "description": "Demo: Analysis Strategy - Mesh", - "status": "completed", - "config": { - "name": "demo-analysis-mesh", - "description": "Demo: Analysis Strategy - Mesh", - "strategy": "analysis", - "mode": "mesh", - "max_agents": 4, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "ae1bd392-3790-4993-ab56-34e6d70b183e", - "objective": "Analyze user behavior patterns and generate insights", - "description": "Benchmark task: Analyze user behavior patterns and generate insights", - "strategy": "analysis", - "mode": "mesh", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:48.115122", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "fa55a519-3d0e-47a7-abf6-52d9707ffdf3", - "task_id": "ae1bd392-3790-4993-ab56-34e6d70b183e", - "agent_id": "analysis-agent", - "status": "success", - "output": { - "analysis_results": "Analysis completed for: Analyze user behavior patterns and generate insights", - "insights": [ - "trend 1", - "pattern 2", - "correlation 3" - ], - "methodology": "statistical analysis" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.150276, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 20.0, - "memory_mb": 192, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:48.265522", - "started_at": "2025-06-14T16:40:48.115189", - "completed_at": "2025-06-14T16:40:48.265489", - "duration": 0.1503 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.150276, - "total_execution_time": 0.150276, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:48.115171", - "started_at": "2025-06-14T16:40:48.115175", - "completed_at": "2025-06-14T16:40:48.265543", - "duration": 0.150368, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-analysis-mesh_bdb0f91c-4de0-4459-aacd-702df5b8dd3d.json b/benchmark/demo_reports/demo-analysis-mesh_bdb0f91c-4de0-4459-aacd-702df5b8dd3d.json deleted file mode 100644 index 2ce438aadf..0000000000 --- a/benchmark/demo_reports/demo-analysis-mesh_bdb0f91c-4de0-4459-aacd-702df5b8dd3d.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "bdb0f91c-4de0-4459-aacd-702df5b8dd3d", - "name": "demo-analysis-mesh", - "description": "Demo: Analysis Strategy - Mesh", - "status": "completed", - "config": { - "name": "demo-analysis-mesh", - "description": "Demo: Analysis Strategy - Mesh", - "strategy": "analysis", - "mode": "mesh", - "max_agents": 4, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "b101c772-d7d5-4536-9b97-4225157ede35", - "objective": "Analyze user behavior patterns and generate insights", - "description": "Benchmark task: Analyze user behavior patterns and generate insights", - "strategy": "analysis", - "mode": "mesh", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:21.619635", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "56f4875c-e7aa-43ba-b621-036ed4882ddb", - "task_id": "b101c772-d7d5-4536-9b97-4225157ede35", - "agent_id": "analysis-agent", - "status": "success", - "output": { - "analysis_results": "Analysis completed for: Analyze user behavior patterns and generate insights", - "insights": [ - "trend 1", - "pattern 2", - "correlation 3" - ], - "methodology": "statistical analysis" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.150271, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 20.0, - "memory_mb": 192, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:21.770001", - "started_at": "2025-06-14T16:40:21.619671", - "completed_at": "2025-06-14T16:40:21.769965", - "duration": 0.150294 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.150271, - "total_execution_time": 0.150271, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:21.619655", - "started_at": "2025-06-14T16:40:21.619659", - "completed_at": "2025-06-14T16:40:21.770023", - "duration": 0.150364, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-auto-centralized_0ccd161d-5c63-4117-a8b2-59db5a9dda48.json b/benchmark/demo_reports/demo-auto-centralized_0ccd161d-5c63-4117-a8b2-59db5a9dda48.json deleted file mode 100644 index 0ff1d13de2..0000000000 --- a/benchmark/demo_reports/demo-auto-centralized_0ccd161d-5c63-4117-a8b2-59db5a9dda48.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "0ccd161d-5c63-4117-a8b2-59db5a9dda48", - "name": "demo-auto-centralized", - "description": "Demo: Auto Strategy - Centralized", - "status": "completed", - "config": { - "name": "demo-auto-centralized", - "description": "Demo: Auto Strategy - Centralized", - "strategy": "auto", - "mode": "centralized", - "max_agents": 3, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "3dad08d0-4be2-4974-a571-bba8a1d511ca", - "objective": "Build a user authentication system", - "description": "Benchmark task: Build a user authentication system", - "strategy": "auto", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:19.612649", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "09523ba8-b9e3-4c34-baa3-05d188edbd5d", - "task_id": "3dad08d0-4be2-4974-a571-bba8a1d511ca", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Build a user authentication system", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200361, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:19.814231", - "started_at": "2025-06-14T16:40:19.613800", - "completed_at": "2025-06-14T16:40:19.814187", - "duration": 0.200387 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200361, - "total_execution_time": 0.200361, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:19.612668", - "started_at": "2025-06-14T16:40:19.612671", - "completed_at": "2025-06-14T16:40:19.814266", - "duration": 0.201595, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-auto-centralized_b7461443-088c-4cb3-a90d-5936cc4c9891.json b/benchmark/demo_reports/demo-auto-centralized_b7461443-088c-4cb3-a90d-5936cc4c9891.json deleted file mode 100644 index ee522b63fe..0000000000 --- a/benchmark/demo_reports/demo-auto-centralized_b7461443-088c-4cb3-a90d-5936cc4c9891.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "b7461443-088c-4cb3-a90d-5936cc4c9891", - "name": "demo-auto-centralized", - "description": "Demo: Auto Strategy - Centralized", - "status": "completed", - "config": { - "name": "demo-auto-centralized", - "description": "Demo: Auto Strategy - Centralized", - "strategy": "auto", - "mode": "centralized", - "max_agents": 3, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "4a575426-790a-4885-8dc7-35fc56e1b07d", - "objective": "Build a user authentication system", - "description": "Benchmark task: Build a user authentication system", - "strategy": "auto", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:57:14.250282", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "9c142a95-f1c1-4249-a8b9-3aab86172942", - "task_id": "4a575426-790a-4885-8dc7-35fc56e1b07d", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Build a user authentication system", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200354, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:57:14.451833", - "started_at": "2025-06-17T16:57:14.251402", - "completed_at": "2025-06-17T16:57:14.451783", - "duration": 0.200381 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200354, - "total_execution_time": 0.200354, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:57:14.250299", - "started_at": "2025-06-17T16:57:14.250301", - "completed_at": "2025-06-17T16:57:14.451865", - "duration": 0.201564, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-auto-centralized_b7e1dad2-453d-4983-8f6f-14f7be7dc716.json b/benchmark/demo_reports/demo-auto-centralized_b7e1dad2-453d-4983-8f6f-14f7be7dc716.json deleted file mode 100644 index 12619b9ccf..0000000000 --- a/benchmark/demo_reports/demo-auto-centralized_b7e1dad2-453d-4983-8f6f-14f7be7dc716.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "b7e1dad2-453d-4983-8f6f-14f7be7dc716", - "name": "demo-auto-centralized", - "description": "Demo: Auto Strategy - Centralized", - "status": "completed", - "config": { - "name": "demo-auto-centralized", - "description": "Demo: Auto Strategy - Centralized", - "strategy": "auto", - "mode": "centralized", - "max_agents": 3, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "4398aeff-f4f2-4193-a24f-f5243e3cef7f", - "objective": "Build a user authentication system", - "description": "Benchmark task: Build a user authentication system", - "strategy": "auto", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:46.107822", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "d0d3250d-e272-4402-9580-6b2e0695b490", - "task_id": "4398aeff-f4f2-4193-a24f-f5243e3cef7f", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Build a user authentication system", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200341, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:46.309376", - "started_at": "2025-06-14T16:40:46.108969", - "completed_at": "2025-06-14T16:40:46.309333", - "duration": 0.200364 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200341, - "total_execution_time": 0.200341, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:46.107839", - "started_at": "2025-06-14T16:40:46.107841", - "completed_at": "2025-06-14T16:40:46.309408", - "duration": 0.201567, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-development-hierarchical_62f546df-f93c-468a-b4e7-cf665a791aaf.json b/benchmark/demo_reports/demo-development-hierarchical_62f546df-f93c-468a-b4e7-cf665a791aaf.json deleted file mode 100644 index bfe41f8d79..0000000000 --- a/benchmark/demo_reports/demo-development-hierarchical_62f546df-f93c-468a-b4e7-cf665a791aaf.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "62f546df-f93c-468a-b4e7-cf665a791aaf", - "name": "demo-development-hierarchical", - "description": "Demo: Development Strategy - Hierarchical", - "status": "completed", - "config": { - "name": "demo-development-hierarchical", - "description": "Demo: Development Strategy - Hierarchical", - "strategy": "development", - "mode": "hierarchical", - "max_agents": 6, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "a5f9eb0d-636a-47be-9a65-50428b321ca9", - "objective": "Develop a microservices REST API with authentication", - "description": "Benchmark task: Develop a microservices REST API with authentication", - "strategy": "development", - "mode": "hierarchical", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:57:15.554823", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "eee32ca9-dcf6-4972-88d6-e101660bb589", - "task_id": "a5f9eb0d-636a-47be-9a65-50428b321ca9", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Develop a microservices REST API with authentication", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200342, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:57:15.755280", - "started_at": "2025-06-17T16:57:15.554877", - "completed_at": "2025-06-17T16:57:15.755243", - "duration": 0.200366 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200342, - "total_execution_time": 0.200342, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:57:15.554855", - "started_at": "2025-06-17T16:57:15.554860", - "completed_at": "2025-06-17T16:57:15.755303", - "duration": 0.200443, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-development-hierarchical_6611c450-c58b-4e9c-badd-7c5aaf89f4fd.json b/benchmark/demo_reports/demo-development-hierarchical_6611c450-c58b-4e9c-badd-7c5aaf89f4fd.json deleted file mode 100644 index 9e324d606b..0000000000 --- a/benchmark/demo_reports/demo-development-hierarchical_6611c450-c58b-4e9c-badd-7c5aaf89f4fd.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "6611c450-c58b-4e9c-badd-7c5aaf89f4fd", - "name": "demo-development-hierarchical", - "description": "Demo: Development Strategy - Hierarchical", - "status": "completed", - "config": { - "name": "demo-development-hierarchical", - "description": "Demo: Development Strategy - Hierarchical", - "strategy": "development", - "mode": "hierarchical", - "max_agents": 6, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "54304e6a-da64-46ae-a2b2-a4f2f2835a2e", - "objective": "Develop a microservices REST API with authentication", - "description": "Benchmark task: Develop a microservices REST API with authentication", - "strategy": "development", - "mode": "hierarchical", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:47.413243", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "9dc97f81-951c-4a0a-b75b-7c31f77652af", - "task_id": "54304e6a-da64-46ae-a2b2-a4f2f2835a2e", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Develop a microservices REST API with authentication", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200323, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:47.613657", - "started_at": "2025-06-14T16:40:47.413278", - "completed_at": "2025-06-14T16:40:47.613624", - "duration": 0.200346 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200323, - "total_execution_time": 0.200323, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:47.413264", - "started_at": "2025-06-14T16:40:47.413267", - "completed_at": "2025-06-14T16:40:47.613678", - "duration": 0.200411, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-development-hierarchical_e723cdc5-93b9-4480-b136-281f9990ef3e.json b/benchmark/demo_reports/demo-development-hierarchical_e723cdc5-93b9-4480-b136-281f9990ef3e.json deleted file mode 100644 index ecb8b7940e..0000000000 --- a/benchmark/demo_reports/demo-development-hierarchical_e723cdc5-93b9-4480-b136-281f9990ef3e.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "e723cdc5-93b9-4480-b136-281f9990ef3e", - "name": "demo-development-hierarchical", - "description": "Demo: Development Strategy - Hierarchical", - "status": "completed", - "config": { - "name": "demo-development-hierarchical", - "description": "Demo: Development Strategy - Hierarchical", - "strategy": "development", - "mode": "hierarchical", - "max_agents": 6, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "1c07920c-20d8-40cf-b882-30564fc3e097", - "objective": "Develop a microservices REST API with authentication", - "description": "Benchmark task: Develop a microservices REST API with authentication", - "strategy": "development", - "mode": "hierarchical", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:20.917881", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "b912338b-454c-45ef-8f04-ff048eafc4dd", - "task_id": "1c07920c-20d8-40cf-b882-30564fc3e097", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Develop a microservices REST API with authentication", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200317, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:21.118283", - "started_at": "2025-06-14T16:40:20.917913", - "completed_at": "2025-06-14T16:40:21.118252", - "duration": 0.200339 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200317, - "total_execution_time": 0.200317, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:20.917900", - "started_at": "2025-06-14T16:40:20.917903", - "completed_at": "2025-06-14T16:40:21.118304", - "duration": 0.200401, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-maintenance-centralized_14cf0a3f-11f8-4297-8250-619a7c57d8b2.json b/benchmark/demo_reports/demo-maintenance-centralized_14cf0a3f-11f8-4297-8250-619a7c57d8b2.json deleted file mode 100644 index 1655ae9a7a..0000000000 --- a/benchmark/demo_reports/demo-maintenance-centralized_14cf0a3f-11f8-4297-8250-619a7c57d8b2.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "14cf0a3f-11f8-4297-8250-619a7c57d8b2", - "name": "demo-maintenance-centralized", - "description": "Demo: Maintenance Strategy - Centralized", - "status": "completed", - "config": { - "name": "demo-maintenance-centralized", - "description": "Demo: Maintenance Strategy - Centralized", - "strategy": "maintenance", - "mode": "centralized", - "max_agents": 2, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "75a15250-fbcd-4e88-b87d-50b7ea71d0ec", - "objective": "Update documentation and refactor legacy code components", - "description": "Benchmark task: Update documentation and refactor legacy code components", - "strategy": "maintenance", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:50.072274", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "47f0ae2d-5a51-4816-bcf5-191b60bca7a0", - "task_id": "75a15250-fbcd-4e88-b87d-50b7ea71d0ec", - "agent_id": "maintenance-agent", - "status": "success", - "output": { - "maintenance_results": "Maintenance completed for: Update documentation and refactor legacy code components", - "actions_performed": [ - "cleanup", - "updates", - "documentation" - ], - "status": "system healthy" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.140289, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 22.0, - "memory_mb": 180, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:50.212666", - "started_at": "2025-06-14T16:40:50.072311", - "completed_at": "2025-06-14T16:40:50.212626", - "duration": 0.140315 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.140289, - "total_execution_time": 0.140289, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:50.072293", - "started_at": "2025-06-14T16:40:50.072296", - "completed_at": "2025-06-14T16:40:50.212691", - "duration": 0.140395, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-maintenance-centralized_8621aa31-c81a-437e-b5b0-5500ad975393.json b/benchmark/demo_reports/demo-maintenance-centralized_8621aa31-c81a-437e-b5b0-5500ad975393.json deleted file mode 100644 index e63d452cd0..0000000000 --- a/benchmark/demo_reports/demo-maintenance-centralized_8621aa31-c81a-437e-b5b0-5500ad975393.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "8621aa31-c81a-437e-b5b0-5500ad975393", - "name": "demo-maintenance-centralized", - "description": "Demo: Maintenance Strategy - Centralized", - "status": "completed", - "config": { - "name": "demo-maintenance-centralized", - "description": "Demo: Maintenance Strategy - Centralized", - "strategy": "maintenance", - "mode": "centralized", - "max_agents": 2, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "1430e5df-983d-4270-ac27-1b6f41e34123", - "objective": "Update documentation and refactor legacy code components", - "description": "Benchmark task: Update documentation and refactor legacy code components", - "strategy": "maintenance", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:57:18.211944", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "329b7168-3aad-4391-a745-47003c5b3b55", - "task_id": "1430e5df-983d-4270-ac27-1b6f41e34123", - "agent_id": "maintenance-agent", - "status": "success", - "output": { - "maintenance_results": "Maintenance completed for: Update documentation and refactor legacy code components", - "actions_performed": [ - "cleanup", - "updates", - "documentation" - ], - "status": "system healthy" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.140273, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 22.0, - "memory_mb": 180, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:57:18.352317", - "started_at": "2025-06-17T16:57:18.211982", - "completed_at": "2025-06-17T16:57:18.352279", - "duration": 0.140297 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.140273, - "total_execution_time": 0.140273, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:57:18.211965", - "started_at": "2025-06-17T16:57:18.211969", - "completed_at": "2025-06-17T16:57:18.352339", - "duration": 0.14037, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-maintenance-centralized_9afe8bb8-143d-429b-9da1-ed6722d18dd3.json b/benchmark/demo_reports/demo-maintenance-centralized_9afe8bb8-143d-429b-9da1-ed6722d18dd3.json deleted file mode 100644 index 8c4eaa39fe..0000000000 --- a/benchmark/demo_reports/demo-maintenance-centralized_9afe8bb8-143d-429b-9da1-ed6722d18dd3.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "9afe8bb8-143d-429b-9da1-ed6722d18dd3", - "name": "demo-maintenance-centralized", - "description": "Demo: Maintenance Strategy - Centralized", - "status": "completed", - "config": { - "name": "demo-maintenance-centralized", - "description": "Demo: Maintenance Strategy - Centralized", - "strategy": "maintenance", - "mode": "centralized", - "max_agents": 2, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "e5356282-16ee-4c30-8814-22ea6f35a100", - "objective": "Update documentation and refactor legacy code components", - "description": "Benchmark task: Update documentation and refactor legacy code components", - "strategy": "maintenance", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:23.574635", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "c1745599-3f2e-487e-b7fa-42d1f5e7d86d", - "task_id": "e5356282-16ee-4c30-8814-22ea6f35a100", - "agent_id": "maintenance-agent", - "status": "success", - "output": { - "maintenance_results": "Maintenance completed for: Update documentation and refactor legacy code components", - "actions_performed": [ - "cleanup", - "updates", - "documentation" - ], - "status": "system healthy" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.140257, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 22.0, - "memory_mb": 180, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:23.714975", - "started_at": "2025-06-14T16:40:23.574666", - "completed_at": "2025-06-14T16:40:23.714944", - "duration": 0.140278 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.140257, - "total_execution_time": 0.140257, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:23.574653", - "started_at": "2025-06-14T16:40:23.574656", - "completed_at": "2025-06-14T16:40:23.714994", - "duration": 0.140338, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-optimization-hybrid_20e5e971-c1aa-411f-a4c1-bd9c831d468a.json b/benchmark/demo_reports/demo-optimization-hybrid_20e5e971-c1aa-411f-a4c1-bd9c831d468a.json deleted file mode 100644 index 4708ebb4a8..0000000000 --- a/benchmark/demo_reports/demo-optimization-hybrid_20e5e971-c1aa-411f-a4c1-bd9c831d468a.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "20e5e971-c1aa-411f-a4c1-bd9c831d468a", - "name": "demo-optimization-hybrid", - "description": "Demo: Optimization Strategy - Hybrid", - "status": "completed", - "config": { - "name": "demo-optimization-hybrid", - "description": "Demo: Optimization Strategy - Hybrid", - "strategy": "optimization", - "mode": "hybrid", - "max_agents": 7, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "ed0ed904-d484-4ecb-b5e2-da90091062e4", - "objective": "Optimize database queries and improve application performance", - "description": "Benchmark task: Optimize database queries and improve application performance", - "strategy": "optimization", - "mode": "hybrid", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:48.766904", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "6ddc5c7b-e7d0-4a4f-a6b2-155a6290de1d", - "task_id": "ed0ed904-d484-4ecb-b5e2-da90091062e4", - "agent_id": "optimization-agent", - "status": "success", - "output": { - "optimization_results": "Optimization completed for: Optimize database queries and improve application performance", - "performance_gain": "25% improvement", - "optimizations_applied": [ - "caching", - "indexing", - "compression" - ] - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.180421, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 30.0, - "memory_mb": 320, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:48.947436", - "started_at": "2025-06-14T16:40:48.766942", - "completed_at": "2025-06-14T16:40:48.947392", - "duration": 0.18045 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.180421, - "total_execution_time": 0.180421, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:48.766925", - "started_at": "2025-06-14T16:40:48.766929", - "completed_at": "2025-06-14T16:40:48.947462", - "duration": 0.180533, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-optimization-hybrid_a563ac83-1474-4f2e-8628-cf38d363f4d2.json b/benchmark/demo_reports/demo-optimization-hybrid_a563ac83-1474-4f2e-8628-cf38d363f4d2.json deleted file mode 100644 index f771b9d3b9..0000000000 --- a/benchmark/demo_reports/demo-optimization-hybrid_a563ac83-1474-4f2e-8628-cf38d363f4d2.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "a563ac83-1474-4f2e-8628-cf38d363f4d2", - "name": "demo-optimization-hybrid", - "description": "Demo: Optimization Strategy - Hybrid", - "status": "completed", - "config": { - "name": "demo-optimization-hybrid", - "description": "Demo: Optimization Strategy - Hybrid", - "strategy": "optimization", - "mode": "hybrid", - "max_agents": 7, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "1c730c1a-58e6-4618-949f-cadd9d9b6d5f", - "objective": "Optimize database queries and improve application performance", - "description": "Benchmark task: Optimize database queries and improve application performance", - "strategy": "optimization", - "mode": "hybrid", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:57:16.908468", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "8e0d6113-1535-40ee-9c26-c2db5ee76453", - "task_id": "1c730c1a-58e6-4618-949f-cadd9d9b6d5f", - "agent_id": "optimization-agent", - "status": "success", - "output": { - "optimization_results": "Optimization completed for: Optimize database queries and improve application performance", - "performance_gain": "25% improvement", - "optimizations_applied": [ - "caching", - "indexing", - "compression" - ] - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.180309, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 30.0, - "memory_mb": 320, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:57:17.088883", - "started_at": "2025-06-17T16:57:16.908518", - "completed_at": "2025-06-17T16:57:17.088849", - "duration": 0.180331 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.180309, - "total_execution_time": 0.180309, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:57:16.908497", - "started_at": "2025-06-17T16:57:16.908502", - "completed_at": "2025-06-17T16:57:17.088903", - "duration": 0.180401, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-optimization-hybrid_e81f77c8-485f-449c-9160-4639ecff6741.json b/benchmark/demo_reports/demo-optimization-hybrid_e81f77c8-485f-449c-9160-4639ecff6741.json deleted file mode 100644 index a8101dfaf9..0000000000 --- a/benchmark/demo_reports/demo-optimization-hybrid_e81f77c8-485f-449c-9160-4639ecff6741.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "e81f77c8-485f-449c-9160-4639ecff6741", - "name": "demo-optimization-hybrid", - "description": "Demo: Optimization Strategy - Hybrid", - "status": "completed", - "config": { - "name": "demo-optimization-hybrid", - "description": "Demo: Optimization Strategy - Hybrid", - "strategy": "optimization", - "mode": "hybrid", - "max_agents": 7, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "661d29c8-a260-4fd1-8db3-86125823385c", - "objective": "Optimize database queries and improve application performance", - "description": "Benchmark task: Optimize database queries and improve application performance", - "strategy": "optimization", - "mode": "hybrid", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:22.271451", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "514cd419-8e96-47da-af75-ce66fcb36102", - "task_id": "661d29c8-a260-4fd1-8db3-86125823385c", - "agent_id": "optimization-agent", - "status": "success", - "output": { - "optimization_results": "Optimization completed for: Optimize database queries and improve application performance", - "performance_gain": "25% improvement", - "optimizations_applied": [ - "caching", - "indexing", - "compression" - ] - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.180297, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 30.0, - "memory_mb": 320, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:22.451839", - "started_at": "2025-06-14T16:40:22.271486", - "completed_at": "2025-06-14T16:40:22.451806", - "duration": 0.18032 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.180297, - "total_execution_time": 0.180297, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:22.271470", - "started_at": "2025-06-14T16:40:22.271474", - "completed_at": "2025-06-14T16:40:22.451860", - "duration": 0.180386, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-research-distributed_02e44433-4487-4983-8cb5-dfd39be0e393.json b/benchmark/demo_reports/demo-research-distributed_02e44433-4487-4983-8cb5-dfd39be0e393.json deleted file mode 100644 index e31c2d725b..0000000000 --- a/benchmark/demo_reports/demo-research-distributed_02e44433-4487-4983-8cb5-dfd39be0e393.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "02e44433-4487-4983-8cb5-dfd39be0e393", - "name": "demo-research-distributed", - "description": "Demo: Research Strategy - Distributed", - "status": "completed", - "config": { - "name": "demo-research-distributed", - "description": "Demo: Research Strategy - Distributed", - "strategy": "research", - "mode": "distributed", - "max_agents": 5, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "23f632c9-6f7b-4009-a101-b9d86a2400af", - "objective": "Research cloud architecture patterns and best practices", - "description": "Benchmark task: Research cloud architecture patterns and best practices", - "strategy": "research", - "mode": "distributed", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:46.810881", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "f067f9f7-b9be-4729-bcef-1708f78f624a", - "task_id": "23f632c9-6f7b-4009-a101-b9d86a2400af", - "agent_id": "research-agent", - "status": "success", - "output": { - "research_findings": "Research completed for: Research cloud architecture patterns and best practices", - "sources": [ - "academic papers", - "documentation", - "best practices" - ], - "methodology": "comprehensive analysis" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.100266, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 15.0, - "memory_mb": 128, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:46.911273", - "started_at": "2025-06-14T16:40:46.810931", - "completed_at": "2025-06-14T16:40:46.911226", - "duration": 0.100295 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.100266, - "total_execution_time": 0.100266, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:46.810910", - "started_at": "2025-06-14T16:40:46.810916", - "completed_at": "2025-06-14T16:40:46.911311", - "duration": 0.100395, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-research-distributed_67cab5d5-e07c-48fb-94fc-8bfb59d8a030.json b/benchmark/demo_reports/demo-research-distributed_67cab5d5-e07c-48fb-94fc-8bfb59d8a030.json deleted file mode 100644 index f0ede4666e..0000000000 --- a/benchmark/demo_reports/demo-research-distributed_67cab5d5-e07c-48fb-94fc-8bfb59d8a030.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "67cab5d5-e07c-48fb-94fc-8bfb59d8a030", - "name": "demo-research-distributed", - "description": "Demo: Research Strategy - Distributed", - "status": "completed", - "config": { - "name": "demo-research-distributed", - "description": "Demo: Research Strategy - Distributed", - "strategy": "research", - "mode": "distributed", - "max_agents": 5, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "46c06ff0-cea1-45b3-9a3a-9d0adec49b6b", - "objective": "Research cloud architecture patterns and best practices", - "description": "Benchmark task: Research cloud architecture patterns and best practices", - "strategy": "research", - "mode": "distributed", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:57:14.952964", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "9af1b2d4-cfbd-4a19-9d51-24fd339c84f9", - "task_id": "46c06ff0-cea1-45b3-9a3a-9d0adec49b6b", - "agent_id": "research-agent", - "status": "success", - "output": { - "research_findings": "Research completed for: Research cloud architecture patterns and best practices", - "sources": [ - "academic papers", - "documentation", - "best practices" - ], - "methodology": "comprehensive analysis" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.100228, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 15.0, - "memory_mb": 128, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:57:15.053302", - "started_at": "2025-06-17T16:57:14.953007", - "completed_at": "2025-06-17T16:57:15.053262", - "duration": 0.100255 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.100228, - "total_execution_time": 0.100228, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:57:14.952989", - "started_at": "2025-06-17T16:57:14.952994", - "completed_at": "2025-06-17T16:57:15.053331", - "duration": 0.100337, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-research-distributed_7f0d6c07-159e-4956-bbfa-c80906c87c97.json b/benchmark/demo_reports/demo-research-distributed_7f0d6c07-159e-4956-bbfa-c80906c87c97.json deleted file mode 100644 index dae8531c19..0000000000 --- a/benchmark/demo_reports/demo-research-distributed_7f0d6c07-159e-4956-bbfa-c80906c87c97.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "id": "7f0d6c07-159e-4956-bbfa-c80906c87c97", - "name": "demo-research-distributed", - "description": "Demo: Research Strategy - Distributed", - "status": "completed", - "config": { - "name": "demo-research-distributed", - "description": "Demo: Research Strategy - Distributed", - "strategy": "research", - "mode": "distributed", - "max_agents": 5, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "922657ea-4c09-4d5c-9083-c0926ca1b6b4", - "objective": "Research cloud architecture patterns and best practices", - "description": "Benchmark task: Research cloud architecture patterns and best practices", - "strategy": "research", - "mode": "distributed", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:20.315916", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "0dd18da5-0dc5-4a7c-b8e3-4ff1318be94f", - "task_id": "922657ea-4c09-4d5c-9083-c0926ca1b6b4", - "agent_id": "research-agent", - "status": "success", - "output": { - "research_findings": "Research completed for: Research cloud architecture patterns and best practices", - "sources": [ - "academic papers", - "documentation", - "best practices" - ], - "methodology": "comprehensive analysis" - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.100215, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 15.0, - "memory_mb": 128, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:20.416273", - "started_at": "2025-06-14T16:40:20.315965", - "completed_at": "2025-06-14T16:40:20.416208", - "duration": 0.100243 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.100215, - "total_execution_time": 0.100215, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:20.315945", - "started_at": "2025-06-14T16:40:20.315951", - "completed_at": "2025-06-14T16:40:20.416328", - "duration": 0.100377, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-testing-distributed_c88872a5-d0bd-4d5f-9bfd-39904d4000bd.json b/benchmark/demo_reports/demo-testing-distributed_c88872a5-d0bd-4d5f-9bfd-39904d4000bd.json deleted file mode 100644 index cbc7850e60..0000000000 --- a/benchmark/demo_reports/demo-testing-distributed_c88872a5-d0bd-4d5f-9bfd-39904d4000bd.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": "c88872a5-d0bd-4d5f-9bfd-39904d4000bd", - "name": "demo-testing-distributed", - "description": "Demo: Testing Strategy - Distributed", - "status": "completed", - "config": { - "name": "demo-testing-distributed", - "description": "Demo: Testing Strategy - Distributed", - "strategy": "testing", - "mode": "distributed", - "max_agents": 4, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "885ffa3b-e991-4a94-bc65-caad71925a02", - "objective": "Create comprehensive test suite with unit and integration tests", - "description": "Benchmark task: Create comprehensive test suite with unit and integration tests", - "strategy": "testing", - "mode": "distributed", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:22.952852", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "c8ffc568-151d-4c81-8f6f-0ff8e1911085", - "task_id": "885ffa3b-e991-4a94-bc65-caad71925a02", - "agent_id": "testing-agent", - "status": "success", - "output": { - "test_results": "Testing completed for: Create comprehensive test suite with unit and integration tests", - "tests_run": 25, - "tests_passed": 24, - "coverage": 0.92 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.120242, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 18.0, - "memory_mb": 160, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:23.073210", - "started_at": "2025-06-14T16:40:22.952888", - "completed_at": "2025-06-14T16:40:23.073175", - "duration": 0.120287 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.120242, - "total_execution_time": 0.120242, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:22.952873", - "started_at": "2025-06-14T16:40:22.952876", - "completed_at": "2025-06-14T16:40:23.073232", - "duration": 0.120356, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-testing-distributed_c941e576-5936-4044-9133-f6aa6d292a3e.json b/benchmark/demo_reports/demo-testing-distributed_c941e576-5936-4044-9133-f6aa6d292a3e.json deleted file mode 100644 index 1bf76c0775..0000000000 --- a/benchmark/demo_reports/demo-testing-distributed_c941e576-5936-4044-9133-f6aa6d292a3e.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": "c941e576-5936-4044-9133-f6aa6d292a3e", - "name": "demo-testing-distributed", - "description": "Demo: Testing Strategy - Distributed", - "status": "completed", - "config": { - "name": "demo-testing-distributed", - "description": "Demo: Testing Strategy - Distributed", - "strategy": "testing", - "mode": "distributed", - "max_agents": 4, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "d0255ce2-fd20-4325-bb8f-20c7f9e56b57", - "objective": "Create comprehensive test suite with unit and integration tests", - "description": "Benchmark task: Create comprehensive test suite with unit and integration tests", - "strategy": "testing", - "mode": "distributed", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:40:49.450323", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "10fdefb9-4ea6-49a6-ad23-d13171f8f4ed", - "task_id": "d0255ce2-fd20-4325-bb8f-20c7f9e56b57", - "agent_id": "testing-agent", - "status": "success", - "output": { - "test_results": "Testing completed for: Create comprehensive test suite with unit and integration tests", - "tests_run": 25, - "tests_passed": 24, - "coverage": 0.92 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.12024, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 18.0, - "memory_mb": 160, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:40:49.570655", - "started_at": "2025-06-14T16:40:49.450357", - "completed_at": "2025-06-14T16:40:49.570621", - "duration": 0.120264 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.12024, - "total_execution_time": 0.12024, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:40:49.450342", - "started_at": "2025-06-14T16:40:49.450345", - "completed_at": "2025-06-14T16:40:49.570675", - "duration": 0.12033, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/demo_reports/demo-testing-distributed_de30d0d7-afab-42bd-b244-5e1fc4e55adc.json b/benchmark/demo_reports/demo-testing-distributed_de30d0d7-afab-42bd-b244-5e1fc4e55adc.json deleted file mode 100644 index 18704ed92c..0000000000 --- a/benchmark/demo_reports/demo-testing-distributed_de30d0d7-afab-42bd-b244-5e1fc4e55adc.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": "de30d0d7-afab-42bd-b244-5e1fc4e55adc", - "name": "demo-testing-distributed", - "description": "Demo: Testing Strategy - Distributed", - "status": "completed", - "config": { - "name": "demo-testing-distributed", - "description": "Demo: Testing Strategy - Distributed", - "strategy": "testing", - "mode": "distributed", - "max_agents": 4, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./demo_reports", - "verbose": true - }, - "tasks": [ - { - "id": "2ba59bf3-eaa2-46d5-8e72-a29c3ad71a0e", - "objective": "Create comprehensive test suite with unit and integration tests", - "description": "Benchmark task: Create comprehensive test suite with unit and integration tests", - "strategy": "testing", - "mode": "distributed", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:57:17.590239", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "5663b7cb-254a-4b52-abbc-c3b11567f304", - "task_id": "2ba59bf3-eaa2-46d5-8e72-a29c3ad71a0e", - "agent_id": "testing-agent", - "status": "success", - "output": { - "test_results": "Testing completed for: Create comprehensive test suite with unit and integration tests", - "tests_run": 25, - "tests_passed": 24, - "coverage": 0.92 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.120238, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 18.0, - "memory_mb": 160, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:57:17.710576", - "started_at": "2025-06-17T16:57:17.590284", - "completed_at": "2025-06-17T16:57:17.710543", - "duration": 0.120259 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.120238, - "total_execution_time": 0.120238, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:57:17.590265", - "started_at": "2025-06-17T16:57:17.590269", - "completed_at": "2025-06-17T16:57:17.710596", - "duration": 0.120327, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/hive-mind-benchmarks/__pycache__/benchmark_runner.cpython-312.pyc b/benchmark/hive-mind-benchmarks/__pycache__/benchmark_runner.cpython-312.pyc deleted file mode 100644 index 2977e1974d..0000000000 Binary files a/benchmark/hive-mind-benchmarks/__pycache__/benchmark_runner.cpython-312.pyc and /dev/null differ diff --git a/benchmark/hive-mind-benchmarks/scripts/__pycache__/automated_test_runner.cpython-312.pyc b/benchmark/hive-mind-benchmarks/scripts/__pycache__/automated_test_runner.cpython-312.pyc deleted file mode 100644 index 8a186ad0ce..0000000000 Binary files a/benchmark/hive-mind-benchmarks/scripts/__pycache__/automated_test_runner.cpython-312.pyc and /dev/null differ diff --git a/benchmark/hive-mind-benchmarks/scripts/__pycache__/parallel_executor.cpython-312.pyc b/benchmark/hive-mind-benchmarks/scripts/__pycache__/parallel_executor.cpython-312.pyc deleted file mode 100644 index c509dda3a6..0000000000 Binary files a/benchmark/hive-mind-benchmarks/scripts/__pycache__/parallel_executor.cpython-312.pyc and /dev/null differ diff --git a/benchmark/hive-mind-benchmarks/scripts/__pycache__/result_collector.cpython-312.pyc b/benchmark/hive-mind-benchmarks/scripts/__pycache__/result_collector.cpython-312.pyc deleted file mode 100644 index 5039589fec..0000000000 Binary files a/benchmark/hive-mind-benchmarks/scripts/__pycache__/result_collector.cpython-312.pyc and /dev/null differ diff --git a/benchmark/optimization_results/optimization_comparison_20250614_200237.json b/benchmark/optimization_results/optimization_comparison_20250614_200237.json deleted file mode 100644 index 2db93fc617..0000000000 --- a/benchmark/optimization_results/optimization_comparison_20250614_200237.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "timestamp": "20250614_200237", - "results": [ - { - "strategy": "research", - "mode": "distributed", - "standard_time": 0.1024923324584961, - "optimized_time": 0.10102462768554688, - "improvement": 1.432014217788985, - "speed_multiplier": 1.0145281878941208 - }, - { - "strategy": "development", - "mode": "hierarchical", - "standard_time": 0.20117926597595215, - "optimized_time": 0.2012939453125, - "improvement": -0.05700355650047937, - "speed_multiplier": 0.9994302891904184 - }, - { - "strategy": "analysis", - "mode": "mesh", - "standard_time": 0.15119433403015137, - "optimized_time": 0.15222382545471191, - "improvement": -0.6809060876284189, - "speed_multiplier": 0.9932369888781515 - }, - { - "strategy": "testing", - "mode": "distributed", - "standard_time": 0.12573862075805664, - "optimized_time": 0.12094521522521973, - "improvement": 3.8121982760255295, - "speed_multiplier": 1.0396328662023613 - }, - { - "strategy": "optimization", - "mode": "hybrid", - "standard_time": 0.18115615844726562, - "optimized_time": 0.18122625350952148, - "improvement": -0.03869317105013793, - "speed_multiplier": 0.9996132179477397 - } - ], - "summary": { - "average_improvement": 0.8935219357270956, - "average_speedup": 1.0092883100225583, - "total_standard_time": 0.7617607116699219, - "total_optimized_time": 0.7567138671875, - "overall_speedup": 1.006669422487498 - } -} \ No newline at end of file diff --git a/benchmark/reports/examples/all_examples_results.json b/benchmark/reports/examples/all_examples_results.json index 2aa415926c..283fd1ca55 100644 --- a/benchmark/reports/examples/all_examples_results.json +++ b/benchmark/reports/examples/all_examples_results.json @@ -2,13 +2,13 @@ "Simple Benchmark": { "status": "success", "result": { - "benchmark_id": "7bb95bb1-0abb-4458-9858-5ac27add2f17", + "benchmark_id": "9b86f959-4a6f-4e17-abef-3c26b86df4f0", "status": "success", "summary": "Completed 1 tasks", - "duration": 2.997301, + "duration": 0.4051, "metrics": { - "wall_clock_time": 3.998558282852173, - "tasks_per_second": 0.25009013981076694, + "wall_clock_time": 1.4063353538513184, + "tasks_per_second": 0.7110679520794603, "success_rate": 1.0, "peak_memory_mb": 0.0, "average_cpu_percent": 0.0, @@ -16,8 +16,8 @@ }, "results": [ { - "id": "cc6ded7b-3978-4db2-9397-364a0ecdce4b", - "task_id": "c5af7f30-b64c-417a-9468-afdd3cba9f92", + "id": "c291e39b-c758-4bb5-8950-34b410c4eaa6", + "task_id": "7f9f6d98-8cc3-48d1-8f96-2f3a73e0f0f2", "agent_id": "claude-flow", "status": "success", "output": { @@ -33,13 +33,13 @@ }, "errors": [], "warnings": [], - "execution_time": 2.849703788757324, + "execution_time": 0.31996750831604004, "resource_usage": { - "cpu_percent": 16.486206896551725, - "memory_mb": 51.94665948275862 + "cpu_percent": 99.4, + "memory_mb": 49.2099609375 }, - "created_at": "2025-08-06T01:50:50.605614", - "completed_at": "2025-08-06T01:50:50.605028" + "created_at": "2025-08-06T01:51:37.404375", + "completed_at": "2025-08-06T01:51:37.403893" } ] } @@ -54,13 +54,13 @@ { "config": "Development with hierarchical coordination", "result": { - "benchmark_id": "03f056f8-c7df-4feb-816f-46ae8415cffb", + "benchmark_id": "1cd14167-2141-4899-98d5-b5ee82fd8d2a", "status": "success", "summary": "Completed 1 tasks", - "duration": 0.303778, + "duration": 0.3039, "metrics": { - "wall_clock_time": 1.304997205734253, - "tasks_per_second": 0.7662851656738627, + "wall_clock_time": 1.30511474609375, + "tasks_per_second": 0.7662161530187532, "success_rate": 1.0, "peak_memory_mb": 0.0, "average_cpu_percent": 0.0, @@ -68,8 +68,8 @@ }, "results": [ { - "id": "5dcac233-629e-432d-b1c4-a36c7ac04643", - "task_id": "9a1f7f48-ee7a-4693-8297-ab3d9f637694", + "id": "336768f3-22e3-42a7-bcb9-a648c705f920", + "task_id": "8a677675-83d8-4d35-ba54-ef2ed75c0394", "agent_id": "claude-flow", "status": "success", "output": { @@ -85,13 +85,13 @@ }, "errors": [], "warnings": [], - "execution_time": 0.2787971496582031, + "execution_time": 0.27393198013305664, "resource_usage": { - "cpu_percent": 99.33333333333333, - "memory_mb": 40.54296875 + "cpu_percent": 96.03333333333333, + "memory_mb": 42.071614583333336 }, - "created_at": "2025-08-06T01:50:54.915505", - "completed_at": "2025-08-06T01:50:54.915189" + "created_at": "2025-08-06T01:51:41.715584", + "completed_at": "2025-08-06T01:51:41.715243" } ] } @@ -99,13 +99,13 @@ { "config": "Research with distributed coordination", "result": { - "benchmark_id": "b0784f86-a849-4720-a729-8d26d1da60d9", + "benchmark_id": "cf23adca-8fd5-4ac4-b4e6-ea381673e853", "status": "success", "summary": "Completed 1 tasks", - "duration": 0.303468, + "duration": 0.303876, "metrics": { - "wall_clock_time": 1.3046703338623047, - "tasks_per_second": 0.7664771506221282, + "wall_clock_time": 1.3051128387451172, + "tasks_per_second": 0.7662172728003449, "success_rate": 1.0, "peak_memory_mb": 0.0, "average_cpu_percent": 0.0, @@ -113,8 +113,8 @@ }, "results": [ { - "id": "ef86994f-b018-42a6-a8ac-d67a3b2990b5", - "task_id": "9a9cd8d6-d063-42b2-a9dd-b3a72ff4f113", + "id": "89f4dc5c-49ff-4a05-8b20-41d5b04699bc", + "task_id": "0b2a8687-eb02-480e-b611-6c1673116e28", "agent_id": "claude-flow", "status": "success", "output": { @@ -130,13 +130,13 @@ }, "errors": [], "warnings": [], - "execution_time": 0.2775075435638428, + "execution_time": 0.27387166023254395, "resource_usage": { - "cpu_percent": 92.76666666666667, - "memory_mb": 40.70703125 + "cpu_percent": 92.73333333333333, + "memory_mb": 41.881510416666664 }, - "created_at": "2025-08-06T01:50:59.225145", - "completed_at": "2025-08-06T01:50:59.224790" + "created_at": "2025-08-06T01:51:46.025836", + "completed_at": "2025-08-06T01:51:46.025463" } ] } @@ -144,13 +144,13 @@ { "config": "Optimization with hybrid coordination", "result": { - "benchmark_id": "ea2cf6b0-9a37-4ff2-9adf-5cce559c844c", + "benchmark_id": "8dfb8b87-34ce-407b-9df8-034264ad281f", "status": "success", "summary": "Completed 1 tasks", - "duration": 0.404787, + "duration": 0.303798, "metrics": { - "wall_clock_time": 1.40604829788208, - "tasks_per_second": 0.7112131222706165, + "wall_clock_time": 1.3050477504730225, + "tasks_per_second": 0.7662554873088314, "success_rate": 1.0, "peak_memory_mb": 0.0, "average_cpu_percent": 0.0, @@ -158,8 +158,8 @@ }, "results": [ { - "id": "ae375bb9-e1ec-4dcb-9ff3-5dc2bec67fb0", - "task_id": "8e1ce0c4-ff9c-4e30-aa2b-47518ec9ee0e", + "id": "badce472-9a1e-4211-8512-12c2f0bf33fc", + "task_id": "6b7bc80c-4b7d-4747-8594-57e83564e739", "agent_id": "claude-flow", "status": "success", "output": { @@ -175,13 +175,13 @@ }, "errors": [], "warnings": [], - "execution_time": 0.31450533866882324, + "execution_time": 0.2867588996887207, "resource_usage": { - "cpu_percent": 94.35, - "memory_mb": 48.0244140625 + "cpu_percent": 99.33333333333333, + "memory_mb": 40.8515625 }, - "created_at": "2025-08-06T01:51:03.636257", - "completed_at": "2025-08-06T01:51:03.635929" + "created_at": "2025-08-06T01:51:50.335782", + "completed_at": "2025-08-06T01:51:50.335402" } ] } @@ -191,10 +191,10 @@ "Parallel Benchmarking": { "status": "success", "result": [ - "Result(id='a7cb31e9-8d70-419f-b17e-310e1ccd2f9d', task_id='7671633b-b477-43b0-888b-ed10b4703b93', agent_id='claude-flow', status=, 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=, 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=, 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=, 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))" + "Result(id='3ba5e25d-4eea-4801-b128-235332756ab1', task_id='25e0ee9d-766f-468c-80d6-b8d96de87812', agent_id='claude-flow', status=, 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.37185192108154297, queue_time=0.0, throughput=2.6892425272174703, 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=115.30000000000001, memory_mb=53.2490234375, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=73.31640625, average_cpu_percent=115.30000000000001), 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, 54, 766217), started_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 342599), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 765947))", + "Result(id='6ad1de94-a39f-4584-8db5-61618a8bab9d', task_id='11bee0d6-3e50-4c43-ba87-3e0ac0a8799c', agent_id='claude-flow', status=, 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.3467600345611572, queue_time=0.0, throughput=2.8838386790033397, 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=104.7, memory_mb=50.1728515625, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=71.125, average_cpu_percent=104.7), 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, 54, 760254), started_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 342862), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 759914))", + "Result(id='b63953bd-b3e8-46b7-bc7f-7ca74663a842', task_id='0977b4b9-90c5-4a46-9aac-6e26d505d486', agent_id='claude-flow', status=, 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.34688830375671387, queue_time=0.0, throughput=2.8827723194188137, 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=105.725, memory_mb=47.6796875, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=70.48046875, average_cpu_percent=105.725), 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, 54, 767163), started_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 343263), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 766944))", + "Result(id='4be5c45f-64a7-4130-a38d-8bc42fe1a531', task_id='70287046-e729-43b7-b525-a1004df6ac30', agent_id='claude-flow', status=, 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.3901090621948242, queue_time=0.0, throughput=2.563385721864083, 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.2, memory_mb=47.36328125, network_bytes_sent=0, network_bytes_recv=0, disk_bytes_read=0, disk_bytes_write=0, peak_memory_mb=69.7578125, average_cpu_percent=103.2), 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, 54, 766468), started_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 344317), completed_at=datetime.datetime(2025, 8, 6, 1, 51, 54, 766318))" ] }, "Comprehensive Testing": { diff --git a/benchmark/src/swarm_benchmark/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/__pycache__/__init__.cpython-312.pyc index 6efeed99d0..d44a48ce6f 100644 Binary files a/benchmark/src/swarm_benchmark/__pycache__/__init__.cpython-312.pyc and b/benchmark/src/swarm_benchmark/__pycache__/__init__.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 4d62337cc2..0000000000 Binary files a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/memory_profiler.cpython-312.pyc b/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/memory_profiler.cpython-312.pyc deleted file mode 100644 index f4a462e931..0000000000 Binary files a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/memory_profiler.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/metric_aggregator.cpython-312.pyc b/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/metric_aggregator.cpython-312.pyc deleted file mode 100644 index a7b55d5930..0000000000 Binary files a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/metric_aggregator.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/neural_benchmarks.cpython-312.pyc b/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/neural_benchmarks.cpython-312.pyc deleted file mode 100644 index d7d7a4a362..0000000000 Binary files a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/neural_benchmarks.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/performance_analyzer.cpython-312.pyc b/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/performance_analyzer.cpython-312.pyc deleted file mode 100644 index 9d736c6885..0000000000 Binary files a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/performance_analyzer.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/token_optimizer.cpython-312.pyc b/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/token_optimizer.cpython-312.pyc deleted file mode 100644 index 00df80de34..0000000000 Binary files a/benchmark/src/swarm_benchmark/advanced_metrics/__pycache__/token_optimizer.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/automation/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/automation/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index efca09258c..0000000000 Binary files a/benchmark/src/swarm_benchmark/automation/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/automation/__pycache__/batch_processor.cpython-312.pyc b/benchmark/src/swarm_benchmark/automation/__pycache__/batch_processor.cpython-312.pyc deleted file mode 100644 index c7f846a7d9..0000000000 Binary files a/benchmark/src/swarm_benchmark/automation/__pycache__/batch_processor.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/automation/__pycache__/decision_engine.cpython-312.pyc b/benchmark/src/swarm_benchmark/automation/__pycache__/decision_engine.cpython-312.pyc deleted file mode 100644 index ad02818833..0000000000 Binary files a/benchmark/src/swarm_benchmark/automation/__pycache__/decision_engine.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/automation/__pycache__/models.cpython-312.pyc b/benchmark/src/swarm_benchmark/automation/__pycache__/models.cpython-312.pyc deleted file mode 100644 index 0383e49925..0000000000 Binary files a/benchmark/src/swarm_benchmark/automation/__pycache__/models.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/automation/__pycache__/pipeline_manager.cpython-312.pyc b/benchmark/src/swarm_benchmark/automation/__pycache__/pipeline_manager.cpython-312.pyc deleted file mode 100644 index 7546ded74b..0000000000 Binary files a/benchmark/src/swarm_benchmark/automation/__pycache__/pipeline_manager.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/automation/__pycache__/resource_pool.cpython-312.pyc b/benchmark/src/swarm_benchmark/automation/__pycache__/resource_pool.cpython-312.pyc deleted file mode 100644 index 9a5735fe84..0000000000 Binary files a/benchmark/src/swarm_benchmark/automation/__pycache__/resource_pool.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/automation/__pycache__/workflow_executor.cpython-312.pyc b/benchmark/src/swarm_benchmark/automation/__pycache__/workflow_executor.cpython-312.pyc deleted file mode 100644 index 02d9086256..0000000000 Binary files a/benchmark/src/swarm_benchmark/automation/__pycache__/workflow_executor.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 5dac05efbb..0000000000 Binary files a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/optimizer.cpython-312.pyc b/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/optimizer.cpython-312.pyc deleted file mode 100644 index 5ef4c716c2..0000000000 Binary files a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/optimizer.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/rules_engine.cpython-312.pyc b/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/rules_engine.cpython-312.pyc deleted file mode 100644 index ce386f843a..0000000000 Binary files a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/rules_engine.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/templates.cpython-312.pyc b/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/templates.cpython-312.pyc deleted file mode 100644 index b9839a075a..0000000000 Binary files a/benchmark/src/swarm_benchmark/claude_optimizer/__pycache__/templates.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/collective/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/collective/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 679a021051..0000000000 Binary files a/benchmark/src/swarm_benchmark/collective/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/benchmark/src/swarm_benchmark/config/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/config/__pycache__/__init__.cpython-312.pyc index 784b025c23..531f47b63b 100644 Binary files a/benchmark/src/swarm_benchmark/config/__pycache__/__init__.cpython-312.pyc and b/benchmark/src/swarm_benchmark/config/__pycache__/__init__.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/config/__pycache__/unified_config.cpython-312.pyc b/benchmark/src/swarm_benchmark/config/__pycache__/unified_config.cpython-312.pyc index 0520604600..219f7e4266 100644 Binary files a/benchmark/src/swarm_benchmark/config/__pycache__/unified_config.cpython-312.pyc and b/benchmark/src/swarm_benchmark/config/__pycache__/unified_config.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/__init__.cpython-312.pyc index f0bdf4fc34..a3c4e51b4a 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/__init__.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/__init__.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/base_interfaces.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/base_interfaces.cpython-312.pyc index 372b5ff053..8ee5a37287 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/base_interfaces.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/base_interfaces.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc index 05068a9963..c5676c71b9 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/models.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/models.cpython-312.pyc index d6acc02c2d..9e321009de 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/models.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/models.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/orchestration_manager.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/orchestration_manager.cpython-312.pyc index 931c756d3d..364d0d453e 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/orchestration_manager.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/orchestration_manager.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/parallel_executor.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/parallel_executor.cpython-312.pyc index 06128351a8..0da9ed6e47 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/parallel_executor.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/parallel_executor.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 index 0f0d4523a1..5b9777e97b 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/real_benchmark_engine.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/real_benchmark_engine.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/result_aggregator.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/result_aggregator.cpython-312.pyc index 724c2f072c..489cb67e07 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/result_aggregator.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/result_aggregator.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/task_scheduler.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/task_scheduler.cpython-312.pyc index 96c1c03213..b87bf53f47 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/task_scheduler.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/task_scheduler.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py index f7868e8c2e..1a07263f37 100644 --- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py +++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py @@ -311,8 +311,7 @@ class RealClaudeFlowExecutor: command = [ self.claude_flow_path, "hive-mind", - config.action, - "--non-interactive" + config.action ] if config.task: @@ -322,8 +321,12 @@ class RealClaudeFlowExecutor: command.extend(["--count", str(config.spawn_count)]) command.extend(["--coordination", config.coordination_mode]) + # Add executor flag for non-interactive mode + command.append("--executor") + # Add additional flags - command.extend(config.additional_flags) + if config.additional_flags: + command.extend(config.additional_flags) return self._execute_streaming_command(command, 300) # 5 minute default timeout diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/__init__.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/__init__.cpython-312.pyc index da14d77df8..2978a8ae4b 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/__init__.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/__init__.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/analysis_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/analysis_strategy.cpython-312.pyc index b44dea3f87..00782b48a7 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/analysis_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/analysis_strategy.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/auto_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/auto_strategy.cpython-312.pyc index 3688dc94de..a91fe13ffc 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/auto_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/auto_strategy.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/base_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/base_strategy.cpython-312.pyc index 0078f07ded..fe0685a2f4 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/base_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/base_strategy.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/development_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/development_strategy.cpython-312.pyc index 7723b3fca6..83d0d83c1a 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/development_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/development_strategy.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/maintenance_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/maintenance_strategy.cpython-312.pyc index c0268115c0..e0594cfb29 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/maintenance_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/maintenance_strategy.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/optimization_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/optimization_strategy.cpython-312.pyc index 7c5d224e18..46491150da 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/optimization_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/optimization_strategy.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/research_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/research_strategy.cpython-312.pyc index 39608d5eac..f73f0719e9 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/research_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/research_strategy.cpython-312.pyc differ diff --git a/benchmark/src/swarm_benchmark/strategies/__pycache__/testing_strategy.cpython-312.pyc b/benchmark/src/swarm_benchmark/strategies/__pycache__/testing_strategy.cpython-312.pyc index ad4241dae7..c704474aa9 100644 Binary files a/benchmark/src/swarm_benchmark/strategies/__pycache__/testing_strategy.cpython-312.pyc and b/benchmark/src/swarm_benchmark/strategies/__pycache__/testing_strategy.cpython-312.pyc differ diff --git a/benchmark/test_output/Simple Test_709dc013-50f2-4810-bd2f-e3b3073f8ae6.json b/benchmark/test_output/Simple Test_709dc013-50f2-4810-bd2f-e3b3073f8ae6.json deleted file mode 100644 index 9006ec9272..0000000000 --- a/benchmark/test_output/Simple Test_709dc013-50f2-4810-bd2f-e3b3073f8ae6.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "709dc013-50f2-4810-bd2f-e3b3073f8ae6", - "name": "Simple Test", - "description": "", - "status": "completed", - "config": { - "name": "Simple Test", - "description": "", - "strategy": "auto", - "mode": "centralized", - "max_agents": 5, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./test_output", - "verbose": false - }, - "tasks": [ - { - "id": "841da3db-e694-42a5-971f-97cd5333331f", - "objective": "Build a simple REST API", - "description": "Benchmark task: Build a simple REST API", - "strategy": "auto", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-17T16:58:34.703781", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "2a8b40ee-abba-44fb-880e-86fb9da841f9", - "task_id": "841da3db-e694-42a5-971f-97cd5333331f", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Build a simple REST API", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200336, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-17T16:58:34.905357", - "started_at": "2025-06-17T16:58:34.704954", - "completed_at": "2025-06-17T16:58:34.905315", - "duration": 0.200361 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200336, - "total_execution_time": 0.200336, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-17T16:58:34.703806", - "started_at": "2025-06-17T16:58:34.703809", - "completed_at": "2025-06-17T16:58:34.905389", - "duration": 0.20158, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/test_output/Simple Test_7263107f-9031-4403-901c-9db6e3fc96c6.json b/benchmark/test_output/Simple Test_7263107f-9031-4403-901c-9db6e3fc96c6.json deleted file mode 100644 index 772b97a979..0000000000 --- a/benchmark/test_output/Simple Test_7263107f-9031-4403-901c-9db6e3fc96c6.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "7263107f-9031-4403-901c-9db6e3fc96c6", - "name": "Simple Test", - "description": "", - "status": "completed", - "config": { - "name": "Simple Test", - "description": "", - "strategy": "auto", - "mode": "centralized", - "max_agents": 5, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./test_output", - "verbose": false - }, - "tasks": [ - { - "id": "51d20a6d-959d-4b3a-a85d-f1cf808c3019", - "objective": "Build a simple REST API", - "description": "Benchmark task: Build a simple REST API", - "strategy": "auto", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-06-14T16:34:22.840099", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "1f7516b4-25e5-4636-8124-65ca2fc9d6df", - "task_id": "51d20a6d-959d-4b3a-a85d-f1cf808c3019", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Build a simple REST API", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200362, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-06-14T16:34:23.042340", - "started_at": "2025-06-14T16:34:22.841906", - "completed_at": "2025-06-14T16:34:23.042293", - "duration": 0.200387 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200362, - "total_execution_time": 0.200362, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-06-14T16:34:22.840117", - "started_at": "2025-06-14T16:34:22.840120", - "completed_at": "2025-06-14T16:34:23.042375", - "duration": 0.202255, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/test_output/Simple Test_8f21a1f2-bd66-420d-ad63-97c7c964582a.json b/benchmark/test_output/Simple Test_8f21a1f2-bd66-420d-ad63-97c7c964582a.json deleted file mode 100644 index a061618acf..0000000000 --- a/benchmark/test_output/Simple Test_8f21a1f2-bd66-420d-ad63-97c7c964582a.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "8f21a1f2-bd66-420d-ad63-97c7c964582a", - "name": "Simple Test", - "description": "", - "status": "completed", - "config": { - "name": "Simple Test", - "description": "", - "strategy": "auto", - "mode": "centralized", - "max_agents": 5, - "max_tasks": 100, - "timeout": 3600, - "task_timeout": 300, - "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": "./test_output", - "verbose": false - }, - "tasks": [ - { - "id": "89c40a53-6850-4cfb-99d9-82479fa668e8", - "objective": "Build a simple REST API", - "description": "Benchmark task: Build a simple REST API", - "strategy": "auto", - "mode": "centralized", - "parameters": {}, - "timeout": 300, - "max_retries": 3, - "priority": 1, - "status": "pending", - "created_at": "2025-08-06T01:49:19.513211", - "started_at": null, - "completed_at": null, - "duration": null, - "assigned_agents": [], - "parent_task_id": null, - "subtasks": [], - "dependencies": [] - } - ], - "results": [ - { - "id": "ff4444a2-2331-47be-8f29-c3fe8b563c94", - "task_id": "89c40a53-6850-4cfb-99d9-82479fa668e8", - "agent_id": "development-agent", - "status": "success", - "output": { - "code_implementation": "Code implementation completed for: Build a simple REST API", - "files_created": [ - "main.py", - "utils.py", - "tests.py" - ], - "lines_of_code": 250, - "test_coverage": 0.95, - "code_quality": 0.9 - }, - "errors": [], - "warnings": [], - "performance_metrics": { - "execution_time": 0.200353, - "queue_time": 0.0, - "throughput": 0.0, - "success_rate": 1.0, - "error_rate": 0.0, - "retry_count": 0, - "coordination_overhead": 0.0, - "communication_latency": 0.0 - }, - "quality_metrics": { - "accuracy_score": 0.0, - "completeness_score": 0.0, - "consistency_score": 0.0, - "relevance_score": 0.0, - "overall_quality": 0.0, - "review_score": null, - "automated_score": null - }, - "resource_usage": { - "cpu_percent": 25.0, - "memory_mb": 256, - "network_bytes_sent": 0, - "network_bytes_recv": 0, - "disk_bytes_read": 0, - "disk_bytes_write": 0, - "peak_memory_mb": 0.0, - "average_cpu_percent": 0.0 - }, - "execution_details": {}, - "created_at": "2025-08-06T01:49:19.714840", - "started_at": "2025-08-06T01:49:19.514388", - "completed_at": "2025-08-06T01:49:19.714771", - "duration": 0.200383 - } - ], - "metrics": { - "total_tasks": 1, - "completed_tasks": 1, - "failed_tasks": 0, - "total_agents": 0, - "active_agents": 0, - "average_execution_time": 0.200353, - "total_execution_time": 0.200353, - "success_rate": 1.0, - "throughput": 0.0, - "resource_efficiency": 0.0, - "coordination_efficiency": 0.0, - "quality_score": 0.0, - "peak_memory_usage": 0.0, - "total_cpu_time": 0.0, - "network_overhead": 0.0 - }, - "created_at": "2025-08-06T01:49:19.513231", - "started_at": "2025-08-06T01:49:19.513235", - "completed_at": "2025-08-06T01:49:19.714874", - "duration": 0.201639, - "error_log": [], - "metadata": {} -} \ No newline at end of file diff --git a/benchmark/tests/.claude-flow/metrics/performance.json b/benchmark/tests/.claude-flow/metrics/performance.json index 1b10a70cf6..cf2da31404 100644 --- a/benchmark/tests/.claude-flow/metrics/performance.json +++ b/benchmark/tests/.claude-flow/metrics/performance.json @@ -1,5 +1,9 @@ { +<<<<<<< Updated upstream "startTime": 1754448179380, +======= + "startTime": 1754445046373, +>>>>>>> Stashed changes "totalTasks": 1, "successfulTasks": 1, "failedTasks": 0, diff --git a/benchmark/tests/.claude-flow/metrics/task-metrics.json b/benchmark/tests/.claude-flow/metrics/task-metrics.json index c16727aade..f2888c06c2 100644 --- a/benchmark/tests/.claude-flow/metrics/task-metrics.json +++ b/benchmark/tests/.claude-flow/metrics/task-metrics.json @@ -1,10 +1,18 @@ [ { +<<<<<<< Updated upstream "id": "cmd-hooks-1754448179481", "type": "hooks", "success": true, "duration": 15.611439000000018, "timestamp": 1754448179497, +======= + "id": "cmd-hooks-1754445046483", + "type": "hooks", + "success": true, + "duration": 12.371756000000005, + "timestamp": 1754445046495, +>>>>>>> Stashed changes "metadata": {} } ] \ No newline at end of file diff --git a/benchmark/tests/integration/test_mle_star_integration.py b/benchmark/tests/integration/test_mle_star_integration.py index 88eccf1be1..6280088a37 100644 --- a/benchmark/tests/integration/test_mle_star_integration.py +++ b/benchmark/tests/integration/test_mle_star_integration.py @@ -10,6 +10,10 @@ import asyncio import logging import sys import os +<<<<<<< Updated upstream +======= +from pathlib import Path +>>>>>>> Stashed changes # Add the src directory to Python path sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) @@ -17,209 +21,4 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) from swarm_benchmark.mle_star import ( MLEStarEnsembleExecutor, MLEStarConfig, MLScenarios, ClassificationScenario, RegressionScenario -) - - -async def test_classification_scenario(): - """Test basic classification ensemble.""" - print("🧠 Testing Classification Ensemble...") - - try: - # Get small classification scenario - scenario_config = MLScenarios.classification_benchmark_small() - scenario = ClassificationScenario(scenario_config) - - # Run the scenario - result = await scenario.run_scenario() - - print(f"✅ Classification Scenario: {'SUCCESS' if result['success'] else 'FAILED'}") - if result['success']: - metrics = result['metrics'] - print(f" - Ensemble Size: {metrics.get('ensemble', {}).get('ensemble_size', 'N/A')}") - print(f" - Total Time: {result['execution_time']:.2f}s") - print(f" - Accuracy: {metrics.get('performance', {}).get('accuracy', 'N/A')}") - print(f" - Performance Targets Met: {result['performance_targets_met']}") - else: - print(f" - Error: {result.get('error', 'Unknown error')}") - - return result['success'] - - except Exception as e: - print(f"❌ Classification test failed: {e}") - return False - - -async def test_regression_scenario(): - """Test basic regression ensemble.""" - print("\n📊 Testing Regression Ensemble...") - - try: - # Get small regression scenario - scenario_config = MLScenarios.regression_benchmark_small() - scenario = RegressionScenario(scenario_config) - - # Run the scenario - result = await scenario.run_scenario() - - print(f"✅ Regression Scenario: {'SUCCESS' if result['success'] else 'FAILED'}") - if result['success']: - metrics = result['metrics'] - print(f" - Ensemble Size: {metrics.get('ensemble', {}).get('ensemble_size', 'N/A')}") - print(f" - Total Time: {result['execution_time']:.2f}s") - print(f" - R² Score: {metrics.get('performance', {}).get('accuracy', 'N/A')}") - print(f" - Performance Targets Met: {result['performance_targets_met']}") - else: - print(f" - Error: {result.get('error', 'Unknown error')}") - - return result['success'] - - except Exception as e: - print(f"❌ Regression test failed: {e}") - return False - - -async def test_voting_strategies(): - """Test different voting strategies.""" - print("\n🗳️ Testing Voting Strategies...") - - try: - from swarm_benchmark.mle_star.voting_strategies import ( - MajorityVoting, WeightedVoting, BayesianAveraging - ) - - # Test data - test_predictions = [ - [0.7, 0.2, 0.1], # Model 1 prediction - [0.6, 0.3, 0.1], # Model 2 prediction - [0.8, 0.1, 0.1], # Model 3 prediction - ] - - # Test majority voting - majority_voter = MajorityVoting() - majority_result = await majority_voter.vote(test_predictions) - print(f" - Majority Voting: {majority_result}") - - # Test weighted voting - weighted_voter = WeightedVoting(weights=[0.4, 0.4, 0.2]) - weighted_result = await weighted_voter.vote(test_predictions) - print(f" - Weighted Voting: {weighted_result}") - - # Test Bayesian averaging - bayesian_voter = BayesianAveraging() - bayesian_result = await bayesian_voter.vote(test_predictions) - print(f" - Bayesian Averaging: {bayesian_result}") - - print("✅ Voting strategies test: SUCCESS") - return True - - except Exception as e: - print(f"❌ Voting strategies test failed: {e}") - return False - - -async def test_model_coordinator(): - """Test model coordinator functionality.""" - print("\n🤖 Testing Model Coordinator...") - - try: - from swarm_benchmark.mle_star.model_coordinator import ModelCoordinator - - coordinator = ModelCoordinator(max_parallel=3) - - # Spawn a test agent - agent = await coordinator.spawn_agent( - agent_id="test_model_1", - model_type="random_forest", - capabilities=["classification"], - hyperparameters={"n_estimators": 10, "task": "classification"} - ) - - print(f" - Agent spawned: {agent.agent_id}") - print(f" - Agent status: {agent.status.value}") - - # Clean up - await coordinator.cleanup() - - print("✅ Model coordinator test: SUCCESS") - return True - - except Exception as e: - print(f"❌ Model coordinator test failed: {e}") - return False - - -async def test_performance_tracker(): - """Test performance tracking functionality.""" - print("\n📈 Testing Performance Tracker...") - - try: - from swarm_benchmark.mle_star.performance_tracker import PerformanceTracker - - tracker = PerformanceTracker() - - # Start tracking session - await tracker.start_tracking_session("test_session") - - # Register a model - tracker.register_model("test_model", "random_forest") - - # Record some metrics - tracker.record_training_time("test_model", 5.2) - tracker.record_prediction_time("test_model", 0.1) - tracker.record_prediction_confidence("test_model", 0.85) - - # Get summary - summary = tracker.get_performance_summary() - print(f" - Session info: {summary['session_info']}") - print(f" - Models tracked: {len(summary['model_performances'])}") - - # End session - await tracker.end_tracking_session() - - print("✅ Performance tracker test: SUCCESS") - return True - - except Exception as e: - print(f"❌ Performance tracker test failed: {e}") - return False - - -async def run_comprehensive_test_suite(): - """Run comprehensive test suite for MLE-STAR integration.""" - print("🚀 Starting MLE-STAR Integration Test Suite") - print("=" * 60) - - # Configure logging - logging.basicConfig( - level=logging.WARNING, # Reduce noise during testing - format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' - ) - - test_results = [] - - # Run individual tests - test_results.append(await test_voting_strategies()) - test_results.append(await test_model_coordinator()) - test_results.append(await test_performance_tracker()) - test_results.append(await test_classification_scenario()) - test_results.append(await test_regression_scenario()) - - # Summary - successful_tests = sum(test_results) - total_tests = len(test_results) - - print("\n" + "=" * 60) - print(f"🏁 Test Suite Results: {successful_tests}/{total_tests} tests passed") - - if successful_tests == total_tests: - print("🎉 All MLE-STAR integration tests PASSED!") - return True - else: - print(f"⚠️ {total_tests - successful_tests} test(s) FAILED") - return False - - -if __name__ == "__main__": - # Run the test suite - success = asyncio.run(run_comprehensive_test_suite()) - sys.exit(0 if success else 1) \ No newline at end of file +) \ No newline at end of file diff --git a/benchmark/tests/integration/test_mle_star_integration_fixed.py b/benchmark/tests/integration/test_mle_star_integration_fixed.py deleted file mode 100644 index abfceb9f05..0000000000 --- a/benchmark/tests/integration/test_mle_star_integration_fixed.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python3 -""" -Test script for MLE-STAR ensemble integration. - -This script tests the basic functionality of the MLE-STAR implementation -including ensemble execution, voting strategies, and performance tracking. -""" - -import asyncio -import logging -import sys -import os -from pathlib import Path - -# Add the src directory to Python path -sys.path.insert(0, str(Path(__file__).parent.parent.parent / "src")) - -from swarm_benchmark.mle_star import ( - MLEStarEnsembleExecutor, MLEStarConfig, - MLScenarios, ClassificationScenario, RegressionScenario -) \ No newline at end of file diff --git a/reports/benchmark_36b484cb-75c7-49a1-807e-6ae9136709ac.json b/reports/benchmark_36b484cb-75c7-49a1-807e-6ae9136709ac.json new file mode 100644 index 0000000000..4d0707990a --- /dev/null +++ b/reports/benchmark_36b484cb-75c7-49a1-807e-6ae9136709ac.json @@ -0,0 +1,48 @@ +{ + "benchmark_id": "36b484cb-75c7-49a1-807e-6ae9136709ac", + "status": "success", + "summary": "Completed 1 tasks", + "duration": 0.305015, + "metrics": { + "wall_clock_time": 1.3063671588897705, + "tasks_per_second": 0.7654815824135232, + "success_rate": 1.0, + "peak_memory_mb": 0.0, + "average_cpu_percent": 0.0, + "total_output_lines": 11 + }, + "results": [ + { + "id": "fc4cfa5d-fce5-4185-96d8-b08e92882233", + "task_id": "9cc32e02-cdef-4f10-8457-082ac5f92619", + "agent_id": "claude-flow", + "status": "success", + "output": { + "raw_output": "\u2705 Starting SPARC TDD Workflow\nFollowing Test-Driven Development with SPARC methodology\n\nTDD Phases:\n Red: Write failing tests (tdd mode)\n Green: Minimal implementation (code mode)\n Refactor: Optimize and clean (tdd mode)\n\n\u2705 Starting full TDD workflow\nThis would execute all phases automatically\nUse --interactive for step-by-step control", + "lines": [ + "\u2705 Starting SPARC TDD Workflow", + "Following Test-Driven Development with SPARC methodology", + "", + "TDD Phases:", + " Red: Write failing tests (tdd mode)", + " Green: Minimal implementation (code mode)", + " Refactor: Optimize and clean (tdd mode)", + "", + "\u2705 Starting full TDD workflow", + "This would execute all phases automatically", + "Use --interactive for step-by-step control" + ], + "sections": {} + }, + "errors": [], + "warnings": [], + "execution_time": 0.26478099822998047, + "resource_usage": { + "cpu_percent": 92.76666666666667, + "memory_mb": 41.4765625 + }, + "created_at": "2025-08-06T12:18:42.976769", + "completed_at": "2025-08-06T12:18:42.976237" + } + ] +} \ No newline at end of file diff --git a/reports/metrics_36b484cb-75c7-49a1-807e-6ae9136709ac.json b/reports/metrics_36b484cb-75c7-49a1-807e-6ae9136709ac.json new file mode 100644 index 0000000000..185d1d9913 --- /dev/null +++ b/reports/metrics_36b484cb-75c7-49a1-807e-6ae9136709ac.json @@ -0,0 +1,66 @@ +{ + "summary": { + "wall_clock_time": 1.3063671588897705, + "tasks_per_second": 0.7654815824135232, + "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": 11, + "average_size": 11, + "complexity_score": 8.420297406548755 + }, + "collectors": { + "performance": 1, + "resource": 1 + }, + "timestamp": "2025-08-06T12:18:45.981542", + "process_executions": { + "sparc:{\"positional\": [\"tdd\", \"Create a simple test function\"]}": { + "command_type": "sparc", + "args": { + "positional": [ + "tdd", + "Create a simple test function" + ] + }, + "execution_count": 1, + "success_count": 1, + "failure_count": 0, + "success_rate": 1.0, + "average_duration": 0.3035306930541992, + "total_duration": 0.3035306930541992, + "average_memory_mb": 41.4765625, + "peak_memory_mb": 67.8125 + } + } +} \ No newline at end of file diff --git a/reports/process_report_36b484cb-75c7-49a1-807e-6ae9136709ac.json b/reports/process_report_36b484cb-75c7-49a1-807e-6ae9136709ac.json new file mode 100644 index 0000000000..7e3a7b52a8 --- /dev/null +++ b/reports/process_report_36b484cb-75c7-49a1-807e-6ae9136709ac.json @@ -0,0 +1,47 @@ +{ + "summary": { + "total_executions": 1, + "successful_executions": 1, + "failed_executions": 0, + "overall_success_rate": 1.0, + "total_duration": 0.3035306930541992, + "average_duration": 0.3035306930541992, + "peak_memory_mb": 67.8125, + "average_memory_mb": 41.4765625, + "total_output_lines": 11, + "total_errors": 0 + }, + "command_statistics": { + "sparc:{\"positional\": [\"tdd\", \"Create a simple test function\"]}": { + "command_type": "sparc", + "args": { + "positional": [ + "tdd", + "Create a simple test function" + ] + }, + "execution_count": 1, + "success_count": 1, + "failure_count": 0, + "success_rate": 1.0, + "average_duration": 0.3035306930541992, + "total_duration": 0.3035306930541992, + "average_memory_mb": 41.4765625, + "peak_memory_mb": 67.8125 + } + }, + "executions": [ + { + "command": "claude-flow sparc tdd Create a simple test function", + "exit_code": 0, + "success": true, + "duration": 0.3035306930541992, + "start_time": 1754482722.6727061, + "output_size": 11, + "error_count": 0, + "cpu_percent": 92.76666666666667, + "memory_mb": 41.4765625, + "peak_memory_mb": 67.8125 + } + ] +} \ No newline at end of file diff --git a/reports/real-benchmark-development-centralized_36b484cb-75c7-49a1-807e-6ae9136709ac.json b/reports/real-benchmark-development-centralized_36b484cb-75c7-49a1-807e-6ae9136709ac.json new file mode 100644 index 0000000000..ac0f48b737 --- /dev/null +++ b/reports/real-benchmark-development-centralized_36b484cb-75c7-49a1-807e-6ae9136709ac.json @@ -0,0 +1,142 @@ +{ + "id": "36b484cb-75c7-49a1-807e-6ae9136709ac", + "name": "real-benchmark-development-centralized", + "description": "Real Benchmark: Create a simple test function", + "status": "completed", + "config": { + "name": "real-benchmark-development-centralized", + "description": "Real Benchmark: Create a simple test function", + "strategy": "development", + "mode": "centralized", + "max_agents": 2, + "max_tasks": 100, + "timeout": 60, + "task_timeout": 300, + "max_retries": 3, + "parallel": false, + "background": false, + "monitoring": false, + "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": "9cc32e02-cdef-4f10-8457-082ac5f92619", + "objective": "Create a simple test function", + "description": "Benchmark task: Create a simple test function", + "strategy": "development", + "mode": "centralized", + "parameters": {}, + "timeout": 300, + "max_retries": 3, + "priority": 1, + "status": "pending", + "created_at": "2025-08-06T12:18:42.671736", + "started_at": null, + "completed_at": null, + "duration": null, + "assigned_agents": [], + "parent_task_id": null, + "subtasks": [], + "dependencies": [] + } + ], + "results": [ + { + "id": "fc4cfa5d-fce5-4185-96d8-b08e92882233", + "task_id": "9cc32e02-cdef-4f10-8457-082ac5f92619", + "agent_id": "claude-flow", + "status": "success", + "output": { + "raw_output": "\u2705 Starting SPARC TDD Workflow\nFollowing Test-Driven Development with SPARC methodology\n\nTDD Phases:\n Red: Write failing tests (tdd mode)\n Green: Minimal implementation (code mode)\n Refactor: Optimize and clean (tdd mode)\n\n\u2705 Starting full TDD workflow\nThis would execute all phases automatically\nUse --interactive for step-by-step control", + "lines": [ + "\u2705 Starting SPARC TDD Workflow", + "Following Test-Driven Development with SPARC methodology", + "", + "TDD Phases:", + " Red: Write failing tests (tdd mode)", + " Green: Minimal implementation (code mode)", + " Refactor: Optimize and clean (tdd mode)", + "", + "\u2705 Starting full TDD workflow", + "This would execute all phases automatically", + "Use --interactive for step-by-step control" + ], + "sections": {} + }, + "errors": [], + "warnings": [], + "performance_metrics": { + "execution_time": 0.26478099822998047, + "queue_time": 0.0, + "throughput": 3.7767060577792346, + "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": 41.4765625, + "network_bytes_sent": 0, + "network_bytes_recv": 0, + "disk_bytes_read": 0, + "disk_bytes_write": 0, + "peak_memory_mb": 67.8125, + "average_cpu_percent": 92.76666666666667 + }, + "execution_details": { + "command": "claude-flow sparc tdd Create a simple test function", + "exit_code": 0, + "output_lines": 11, + "error_count": 0 + }, + "created_at": "2025-08-06T12:18:42.976769", + "started_at": "2025-08-06T12:18:42.672706", + "completed_at": "2025-08-06T12:18:42.976237", + "duration": 0.303531 + } + ], + "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.3063671588897705, + "success_rate": 1.0, + "throughput": 0.7654815824135232, + "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-06T12:18:42.671766", + "started_at": "2025-08-06T12:18:42.671776", + "completed_at": "2025-08-06T12:18:42.976791", + "duration": 0.305015, + "error_log": [], + "metadata": {} +} \ No newline at end of file