mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
- Reorganize v3/ into implementation/ subfolders: - planning/, architecture/, migration/, integration/ - security/, adrs/, research/, swarm-plans/ - Add 15-agent concurrent swarm implementation plans: - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x) - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies - Update .claude/settings.json with proper hooks format - Add bash aliases for claude --dangerously-skip-permissions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SWE-Bench Integration for Claude Flow
Overview
SWE-bench is a comprehensive benchmark suite designed to evaluate software engineering capabilities of AI systems. This implementation integrates SWE-bench with Claude Flow's swarm benchmark system.
Features
- Comprehensive Task Coverage: Tests across multiple SE domains
- Real-World Scenarios: Based on actual GitHub issues and PRs
- Performance Metrics: Detailed tracking of execution time, accuracy, and resource usage
- Optimization Pipeline: Iterative improvement based on benchmark results
- Multi-Agent Support: Leverages Claude Flow's swarm capabilities
Quick Start
# Run basic SWE-bench suite
python run_swe_bench.py
# Run with specific configuration
python run_swe_bench.py --config configs/swe_bench_config.yaml
# Run optimization pipeline
python optimize_swe_bench.py --iterations 10
# Generate performance report
python generate_swe_report.py --output reports/
Benchmark Categories
- Code Generation: Implementing functions from specifications
- Bug Fixing: Identifying and fixing bugs in existing code
- Refactoring: Improving code structure without changing functionality
- Testing: Writing comprehensive test suites
- Documentation: Generating accurate documentation
- Code Review: Analyzing and reviewing code changes
- Performance: Optimizing code for better performance
Performance Targets
| Metric | Baseline | Target | Optimized |
|---|---|---|---|
| Task Success Rate | 60% | 80% | TBD |
| Average Time/Task | 30s | 15s | TBD |
| Token Efficiency | 5000 | 3000 | TBD |
| Memory Usage | 500MB | 300MB | TBD |
| Parallel Tasks | 1 | 5 | TBD |
Architecture
swe-bench/
├── configs/ # Configuration files
├── datasets/ # SWE-bench task datasets
├── evaluators/ # Task evaluation logic
├── executors/ # Task execution engines
├── optimizers/ # Performance optimization
├── reports/ # Generated reports
└── tests/ # Test suites
Integration with Claude Flow
The SWE-bench suite leverages Claude Flow's advanced features:
- Swarm Coordination: Multi-agent task execution
- SPARC Methodology: Systematic problem-solving approach
- Real Metrics: Actual execution tracking
- Neural Optimization: ML-based performance improvements
- Collective Intelligence: Shared learning across agents
Results Tracking
Results are tracked in:
- JSON reports:
reports/swe_bench_results_*.json - SQLite database:
swe_bench.db - GitHub issues: Auto-updated with progress
Contributing
See CONTRIBUTING.md for guidelines on adding new benchmarks or improving existing ones.