Skip to content

armgit / ruflo

Public Imported from GitHub
0

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

🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py

rUve9afb3b08e44
diff --git a/benchmark/.claude/checkpoints/1754447887.json b/benchmark/.claude/checkpoints/1754447887.json
new file mode 100644
index 0000000000..8110576876
--- /dev/null
+++ b/benchmark/.claude/checkpoints/1754447887.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-023807", "file": "/workspaces/claude-code-flow/benchmark/examples/basic/simple_sparc.py", "timestamp": "2025-08-06T02:38:07Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/benchmark/.claude/checkpoints/1754447889.json b/benchmark/.claude/checkpoints/1754447889.json
new file mode 100644
index 0000000000..b952c52a47
--- /dev/null
+++ b/benchmark/.claude/checkpoints/1754447889.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-023809", "file": "/workspaces/claude-code-flow/benchmark/examples/basic/simple_sparc.py", "timestamp": "2025-08-06T02:38:09Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/system-metrics.json | 84 +++++++++ benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- benchmark/.claude/checkpoints/1754447876.json | 1 + benchmark/.claude/checkpoints/1754447878.json | 1 + benchmark/examples/basic/simple_sparc.py | 229 +++++++++++++++++++++++ claude-flow-wiki | 0 7 files changed, 319 insertions(+), 4 deletions(-) "}
diff --git a/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py b/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py
index 59c2755323..be7e6e0da2 100644
--- a/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py
+++ b/benchmark/src/swarm_benchmark/core/optimized_benchmark_engine.py
@@ -11,13 +11,9 @@ from ..strategies import create_strategy
from ..output.json_writer import JSONWriter
from ..output.sqlite_manager import SQLiteManager
-# Import optimizations from the main swarm package
-import sys
-from pathlib import Path
-sys.path.append(str(Path(__file__).parent.parent.parent.parent.parent))
-
+# Import optimizations from the local optimization module
try:
- from src.swarm.optimizations import (
+ from ..optimization import (
OptimizedExecutor,
CircularBuffer,
TTLMap,