diff --git a/benchmark/.claude/checkpoints/1754445129.json b/benchmark/.claude/checkpoints/1754445129.json new file mode 100644 index 0000000000..3c98349eb2 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754445129.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-015209", "file": "/workspaces/claude-code-flow/benchmark/tests/integration/test_mle_star_integration.py", "timestamp": "2025-08-06T01:52:09Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/benchmark/.claude/checkpoints/1754445131.json b/benchmark/.claude/checkpoints/1754445131.json new file mode 100644 index 0000000000..98e7163e98 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754445131.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-015211", "file": "/workspaces/claude-code-flow/benchmark/tests/integration/test_mle_star_integration.py", "timestamp": "2025-08-06T01:52:11Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/system-metrics.json | 156 ++++ benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- benchmark/.claude/checkpoints/1754445125.json | 1 + benchmark/.claude/checkpoints/1754445127.json | 1 + benchmark/ci_performance_integration.py | 754 ----------------- benchmark/compare_optimizations.py | 172 ---- benchmark/continuous_performance_monitor.py | 673 --------------- benchmark/demo_comprehensive.py | 233 ----- benchmark/demo_mle_star.py | 152 ---- benchmark/demo_real_benchmark.py | 219 ----- benchmark/example_usage.py | 249 ------ .../__pycache__/benchmark_runner.cpython-312.pyc | Bin 24173 -> 0 bytes .../automated_test_runner.cpython-312.pyc | Bin 32696 -> 0 bytes .../__pycache__/parallel_executor.cpython-312.pyc | Bin 23676 -> 0 bytes .../__pycache__/result_collector.cpython-312.pyc | Bin 39201 -> 0 bytes benchmark/hive-mind-load-test.py | 902 -------------------- benchmark/hive-mind-stress-test.py | 935 --------------------- benchmark/mle_star_benchmark_example.py | 229 ----- benchmark/performance_dashboard.py | 769 ----------------- benchmark/quick_test_integration.py | 44 - .../reports/examples/all_examples_results.json | 96 +-- benchmark/run-load-tests.py | 479 ----------- benchmark/run_performance_tests.py | 550 ------------ benchmark/simple-load-test.py | 322 ------- .../__pycache__/__init__.cpython-312.pyc | Bin 2870 -> 2879 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 1345 -> 0 bytes .../__pycache__/memory_profiler.cpython-312.pyc | Bin 43459 -> 0 bytes .../__pycache__/metric_aggregator.cpython-312.pyc | Bin 42675 -> 0 bytes .../__pycache__/neural_benchmarks.cpython-312.pyc | Bin 44186 -> 0 bytes .../performance_analyzer.cpython-312.pyc | Bin 57821 -> 0 bytes .../__pycache__/token_optimizer.cpython-312.pyc | Bin 40053 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 1652 -> 0 bytes .../__pycache__/batch_processor.cpython-312.pyc | Bin 40756 -> 0 bytes .../__pycache__/decision_engine.cpython-312.pyc | Bin 44984 -> 0 bytes .../automation/__pycache__/models.cpython-312.pyc | Bin 2252 -> 0 bytes .../__pycache__/pipeline_manager.cpython-312.pyc | Bin 32505 -> 0 bytes .../__pycache__/resource_pool.cpython-312.pyc | Bin 38372 -> 0 bytes .../__pycache__/workflow_executor.cpython-312.pyc | Bin 43709 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 738 -> 0 bytes .../__pycache__/optimizer.cpython-312.pyc | Bin 27444 -> 0 bytes .../__pycache__/rules_engine.cpython-312.pyc | Bin 20977 -> 0 bytes .../__pycache__/templates.cpython-312.pyc | Bin 21167 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 2698 -> 0 bytes .../config/__pycache__/__init__.cpython-312.pyc | Bin 524 -> 533 bytes .../__pycache__/unified_config.cpython-312.pyc | Bin 27458 -> 27467 bytes .../core/__pycache__/__init__.cpython-312.pyc | Bin 1415 -> 1424 bytes .../__pycache__/base_interfaces.cpython-312.pyc | Bin 20843 -> 20852 bytes .../__pycache__/benchmark_engine.cpython-312.pyc | Bin 7620 -> 7629 bytes .../core/__pycache__/models.cpython-312.pyc | Bin 18629 -> 18638 bytes .../optimized_benchmark_engine.cpython-312.pyc | Bin 15770 -> 15779 bytes .../orchestration_manager.cpython-312.pyc | Bin 25940 -> 25949 bytes .../__pycache__/parallel_executor.cpython-312.pyc | Bin 35716 -> 35725 bytes .../__pycache__/result_aggregator.cpython-312.pyc | Bin 1029 -> 1038 bytes .../__pycache__/task_scheduler.cpython-312.pyc | Bin 22516 -> 22525 bytes .../mle_star/__pycache__/__init__.cpython-312.pyc | Bin 1091 -> 0 bytes .../__pycache__/ensemble_executor.cpython-312.pyc | Bin 24374 -> 0 bytes .../__pycache__/ml_scenarios.cpython-312.pyc | Bin 28015 -> 0 bytes .../__pycache__/model_coordinator.cpython-312.pyc | Bin 38329 -> 0 bytes .../performance_tracker.cpython-312.pyc | Bin 31006 -> 0 bytes .../__pycache__/voting_strategies.cpython-312.pyc | Bin 31206 -> 0 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 2003 -> 2012 bytes .../__pycache__/analysis_strategy.cpython-312.pyc | Bin 3220 -> 3229 bytes .../__pycache__/auto_strategy.cpython-312.pyc | Bin 5525 -> 5534 bytes .../__pycache__/base_strategy.cpython-312.pyc | Bin 2972 -> 2981 bytes .../development_strategy.cpython-312.pyc | Bin 6692 -> 6701 bytes .../maintenance_strategy.cpython-312.pyc | Bin 3239 -> 3248 bytes .../optimization_strategy.cpython-312.pyc | Bin 3290 -> 3299 bytes .../__pycache__/research_strategy.cpython-312.pyc | Bin 6215 -> 6224 bytes .../__pycache__/testing_strategy.cpython-312.pyc | Bin 3181 -> 3190 bytes benchmark/swarm_performance_suite.py | 840 ------------------ benchmark/test_claude_optimizer.py | 235 ------ benchmark/test_integration.py | 274 ------ benchmark/test_mle_star_integration.py | 225 ----- benchmark/test_real_benchmark_engine.py | 317 ------- benchmark/test_real_claude_flow.py | 218 ----- benchmark/test_real_metrics.py | 128 --- benchmark/test_real_simple.py | 104 --- benchmark/test_simple_run.py | 35 - .../tests/.claude-flow/metrics/performance.json | 2 +- .../tests/.claude-flow/metrics/task-metrics.json | 6 +- .../tests/integration/test_mle_star_integration.py | 2 +- claude-flow-wiki | 0 83 files changed, 215 insertions(+), 9115 deletions(-) "} diff --git a/benchmark/archive/demo_reports/benchmark_summary.json b/benchmark/archive/demo_reports/benchmark_summary.json new file mode 100644 index 0000000000..8affd10528 --- /dev/null +++ b/benchmark/archive/demo_reports/benchmark_summary.json @@ -0,0 +1,89 @@ +{ + "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/archive/demo_reports/demo-analysis-mesh_54f77f50-5c84-4bee-a929-207b1194ac7d.json b/benchmark/archive/demo_reports/demo-analysis-mesh_54f77f50-5c84-4bee-a929-207b1194ac7d.json new file mode 100644 index 0000000000..61b62df3fa --- /dev/null +++ b/benchmark/archive/demo_reports/demo-analysis-mesh_54f77f50-5c84-4bee-a929-207b1194ac7d.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-analysis-mesh_826e8b63-4f5e-4aea-bd83-04b4496cfc4e.json b/benchmark/archive/demo_reports/demo-analysis-mesh_826e8b63-4f5e-4aea-bd83-04b4496cfc4e.json new file mode 100644 index 0000000000..2e4bb2a056 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-analysis-mesh_826e8b63-4f5e-4aea-bd83-04b4496cfc4e.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-analysis-mesh_bdb0f91c-4de0-4459-aacd-702df5b8dd3d.json b/benchmark/archive/demo_reports/demo-analysis-mesh_bdb0f91c-4de0-4459-aacd-702df5b8dd3d.json new file mode 100644 index 0000000000..2ce438aadf --- /dev/null +++ b/benchmark/archive/demo_reports/demo-analysis-mesh_bdb0f91c-4de0-4459-aacd-702df5b8dd3d.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-auto-centralized_0ccd161d-5c63-4117-a8b2-59db5a9dda48.json b/benchmark/archive/demo_reports/demo-auto-centralized_0ccd161d-5c63-4117-a8b2-59db5a9dda48.json new file mode 100644 index 0000000000..0ff1d13de2 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-auto-centralized_0ccd161d-5c63-4117-a8b2-59db5a9dda48.json @@ -0,0 +1,131 @@ +{ + "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/archive/demo_reports/demo-auto-centralized_b7461443-088c-4cb3-a90d-5936cc4c9891.json b/benchmark/archive/demo_reports/demo-auto-centralized_b7461443-088c-4cb3-a90d-5936cc4c9891.json new file mode 100644 index 0000000000..ee522b63fe --- /dev/null +++ b/benchmark/archive/demo_reports/demo-auto-centralized_b7461443-088c-4cb3-a90d-5936cc4c9891.json @@ -0,0 +1,131 @@ +{ + "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/archive/demo_reports/demo-auto-centralized_b7e1dad2-453d-4983-8f6f-14f7be7dc716.json b/benchmark/archive/demo_reports/demo-auto-centralized_b7e1dad2-453d-4983-8f6f-14f7be7dc716.json new file mode 100644 index 0000000000..12619b9ccf --- /dev/null +++ b/benchmark/archive/demo_reports/demo-auto-centralized_b7e1dad2-453d-4983-8f6f-14f7be7dc716.json @@ -0,0 +1,131 @@ +{ + "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/archive/demo_reports/demo-development-hierarchical_62f546df-f93c-468a-b4e7-cf665a791aaf.json b/benchmark/archive/demo_reports/demo-development-hierarchical_62f546df-f93c-468a-b4e7-cf665a791aaf.json new file mode 100644 index 0000000000..bfe41f8d79 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-development-hierarchical_62f546df-f93c-468a-b4e7-cf665a791aaf.json @@ -0,0 +1,131 @@ +{ + "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/archive/demo_reports/demo-development-hierarchical_6611c450-c58b-4e9c-badd-7c5aaf89f4fd.json b/benchmark/archive/demo_reports/demo-development-hierarchical_6611c450-c58b-4e9c-badd-7c5aaf89f4fd.json new file mode 100644 index 0000000000..9e324d606b --- /dev/null +++ b/benchmark/archive/demo_reports/demo-development-hierarchical_6611c450-c58b-4e9c-badd-7c5aaf89f4fd.json @@ -0,0 +1,131 @@ +{ + "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/archive/demo_reports/demo-development-hierarchical_e723cdc5-93b9-4480-b136-281f9990ef3e.json b/benchmark/archive/demo_reports/demo-development-hierarchical_e723cdc5-93b9-4480-b136-281f9990ef3e.json new file mode 100644 index 0000000000..ecb8b7940e --- /dev/null +++ b/benchmark/archive/demo_reports/demo-development-hierarchical_e723cdc5-93b9-4480-b136-281f9990ef3e.json @@ -0,0 +1,131 @@ +{ + "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/archive/demo_reports/demo-maintenance-centralized_14cf0a3f-11f8-4297-8250-619a7c57d8b2.json b/benchmark/archive/demo_reports/demo-maintenance-centralized_14cf0a3f-11f8-4297-8250-619a7c57d8b2.json new file mode 100644 index 0000000000..1655ae9a7a --- /dev/null +++ b/benchmark/archive/demo_reports/demo-maintenance-centralized_14cf0a3f-11f8-4297-8250-619a7c57d8b2.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-maintenance-centralized_8621aa31-c81a-437e-b5b0-5500ad975393.json b/benchmark/archive/demo_reports/demo-maintenance-centralized_8621aa31-c81a-437e-b5b0-5500ad975393.json new file mode 100644 index 0000000000..e63d452cd0 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-maintenance-centralized_8621aa31-c81a-437e-b5b0-5500ad975393.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-maintenance-centralized_9afe8bb8-143d-429b-9da1-ed6722d18dd3.json b/benchmark/archive/demo_reports/demo-maintenance-centralized_9afe8bb8-143d-429b-9da1-ed6722d18dd3.json new file mode 100644 index 0000000000..8c4eaa39fe --- /dev/null +++ b/benchmark/archive/demo_reports/demo-maintenance-centralized_9afe8bb8-143d-429b-9da1-ed6722d18dd3.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-optimization-hybrid_20e5e971-c1aa-411f-a4c1-bd9c831d468a.json b/benchmark/archive/demo_reports/demo-optimization-hybrid_20e5e971-c1aa-411f-a4c1-bd9c831d468a.json new file mode 100644 index 0000000000..4708ebb4a8 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-optimization-hybrid_20e5e971-c1aa-411f-a4c1-bd9c831d468a.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-optimization-hybrid_a563ac83-1474-4f2e-8628-cf38d363f4d2.json b/benchmark/archive/demo_reports/demo-optimization-hybrid_a563ac83-1474-4f2e-8628-cf38d363f4d2.json new file mode 100644 index 0000000000..f771b9d3b9 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-optimization-hybrid_a563ac83-1474-4f2e-8628-cf38d363f4d2.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-optimization-hybrid_e81f77c8-485f-449c-9160-4639ecff6741.json b/benchmark/archive/demo_reports/demo-optimization-hybrid_e81f77c8-485f-449c-9160-4639ecff6741.json new file mode 100644 index 0000000000..a8101dfaf9 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-optimization-hybrid_e81f77c8-485f-449c-9160-4639ecff6741.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-research-distributed_02e44433-4487-4983-8cb5-dfd39be0e393.json b/benchmark/archive/demo_reports/demo-research-distributed_02e44433-4487-4983-8cb5-dfd39be0e393.json new file mode 100644 index 0000000000..e31c2d725b --- /dev/null +++ b/benchmark/archive/demo_reports/demo-research-distributed_02e44433-4487-4983-8cb5-dfd39be0e393.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-research-distributed_67cab5d5-e07c-48fb-94fc-8bfb59d8a030.json b/benchmark/archive/demo_reports/demo-research-distributed_67cab5d5-e07c-48fb-94fc-8bfb59d8a030.json new file mode 100644 index 0000000000..f0ede4666e --- /dev/null +++ b/benchmark/archive/demo_reports/demo-research-distributed_67cab5d5-e07c-48fb-94fc-8bfb59d8a030.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-research-distributed_7f0d6c07-159e-4956-bbfa-c80906c87c97.json b/benchmark/archive/demo_reports/demo-research-distributed_7f0d6c07-159e-4956-bbfa-c80906c87c97.json new file mode 100644 index 0000000000..dae8531c19 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-research-distributed_7f0d6c07-159e-4956-bbfa-c80906c87c97.json @@ -0,0 +1,129 @@ +{ + "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/archive/demo_reports/demo-testing-distributed_c88872a5-d0bd-4d5f-9bfd-39904d4000bd.json b/benchmark/archive/demo_reports/demo-testing-distributed_c88872a5-d0bd-4d5f-9bfd-39904d4000bd.json new file mode 100644 index 0000000000..cbc7850e60 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-testing-distributed_c88872a5-d0bd-4d5f-9bfd-39904d4000bd.json @@ -0,0 +1,126 @@ +{ + "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/archive/demo_reports/demo-testing-distributed_c941e576-5936-4044-9133-f6aa6d292a3e.json b/benchmark/archive/demo_reports/demo-testing-distributed_c941e576-5936-4044-9133-f6aa6d292a3e.json new file mode 100644 index 0000000000..1bf76c0775 --- /dev/null +++ b/benchmark/archive/demo_reports/demo-testing-distributed_c941e576-5936-4044-9133-f6aa6d292a3e.json @@ -0,0 +1,126 @@ +{ + "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/archive/demo_reports/demo-testing-distributed_de30d0d7-afab-42bd-b244-5e1fc4e55adc.json b/benchmark/archive/demo_reports/demo-testing-distributed_de30d0d7-afab-42bd-b244-5e1fc4e55adc.json new file mode 100644 index 0000000000..18704ed92c --- /dev/null +++ b/benchmark/archive/demo_reports/demo-testing-distributed_de30d0d7-afab-42bd-b244-5e1fc4e55adc.json @@ -0,0 +1,126 @@ +{ + "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/tests/integration/test_real_claude_flow.py b/benchmark/tests/integration/test_real_claude_flow.py index 5d6e903616..45892e04a0 100644 --- a/benchmark/tests/integration/test_real_claude_flow.py +++ b/benchmark/tests/integration/test_real_claude_flow.py @@ -12,7 +12,7 @@ from pathlib import Path import sys # Add parent directory to path to access claude-flow -sys.path.insert(0, str(Path(__file__).parent.parent)) +sys.path.insert(0, str(Path(__file__).parent.parent.parent / "src")) class RealClaudeFlowBenchmark: def __init__(self):