π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
π Checkpoint: Edit /workspaces/claude-code-flow/benchmark/swe-bench-official/README.md
rUv0988aae38f27
diff --git a/benchmark/.claude/checkpoints/task-1754574940.json b/benchmark/.claude/checkpoints/task-1754574940.jsonnew file mode 100644index 0000000000..94e6a363a3--- /dev/null+++ b/benchmark/.claude/checkpoints/task-1754574940.json@@ -0,0 +1 @@+{"checkpoint": "task-20250807-135539", "task": "this should use the official SWE-bench system and data. this will be used to create a verified submi", "timestamp": "2025-08-07T13:55:40Z", "commit": "71cdbb5684ec0d3a2a68b4457065a554f32e22cb", "github_release": "true"}diff --git a/benchmark/swe-bench-official/README.md b/benchmark/swe-bench-official/README.mdnew file mode 100644index 0000000000..73acdd0296--- /dev/null+++ b/benchmark/swe-bench-official/README.md@@ -0,0 +1,75 @@+# Official SWE-bench Integration for Claude Flow++This is the OFFICIAL SWE-bench integration for creating verified submissions to the [SWE-bench leaderboard](https://www.swebench.com/).++## Overview++SWE-bench is a benchmark for evaluating large language models on real-world software engineering tasks from GitHub issues.++- **Dataset**: 2,294 GitHub issues from 12 Python repositories+- **Task**: Generate a patch that resolves the issue+- **Evaluation**: Run repository test suite to verify the fix++## Components++1. **SWE-bench-Lite**: Subset of 300 instances for faster evaluation+2. **Test Harness**: Official evaluation framework+3. **Claude Flow Agent**: Our implementation for solving SWE-bench tasks++## Installation++```bash+# Install official SWE-bench+pip install datasets swebench++# Download SWE-bench-Lite dataset+python download_swebench.py++# Setup evaluation environment+python setup_evaluation.py+```++## Running Evaluations++```bash+# Run on SWE-bench-Lite (300 instances)+python run_swebench.py --dataset lite --model claude-flow++# Run on specific instance+python run_swebench.py --instance "django__django-11099"++# Generate submission file+python generate_submission.py --output predictions.json+```++## Submission Format++The submission must be a `predictions.json` file with format:+```json+{+ "instance_id": {+ "model_patch": "diff --git a/file.py b/file.py\n...",+ "model_name_or_path": "claude-flow"+ }+}+```++## Evaluation Metrics++- **Resolved**: % of instances where tests pass with the patch+- **Applied**: % of instances where patch applies cleanly+- **Generated**: % of instances where valid patch is generated++## Directory Structure++```+swe-bench-official/+βββ download_swebench.py # Download official dataset+βββ setup_evaluation.py # Setup test environment+βββ run_swebench.py # Main runner+βββ claude_flow_agent.py # Claude Flow SWE-bench agent+βββ generate_submission.py # Create submission file+βββ data/ # Downloaded datasets+βββ predictions/ # Generated predictions+βββ logs/ # Execution logs+```\ No newline at end of file