diff --git a/benchmark/.claude/checkpoints/1754443213.json b/benchmark/.claude/checkpoints/1754443213.json new file mode 100644 index 0000000000..cda30e01b3 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754443213.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-012013", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/claude_optimizer/__init__.py", "timestamp": "2025-08-06T01:20:13Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/benchmark/.claude/checkpoints/1754443215.json b/benchmark/.claude/checkpoints/1754443215.json new file mode 100644 index 0000000000..e004c59f63 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754443215.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-012015", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/claude_optimizer/__init__.py", "timestamp": "2025-08-06T01:20:15Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +++--- benchmark/.claude/checkpoints/1754443202.json | 1 + benchmark/.claude/checkpoints/1754443203.json | 1 + .../src/swarm_benchmark/claude_optimizer/__init__.py | 10 +++++++--- .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 606 bytes .../__pycache__/optimizer.cpython-312.pyc | Bin 0 -> 26009 bytes .../__pycache__/rules_engine.cpython-312.pyc | Bin 0 -> 20977 bytes .../__pycache__/templates.cpython-312.pyc | Bin 0 -> 21167 bytes .../config/__pycache__/__init__.cpython-312.pyc | Bin 891 -> 524 bytes .../mle_star/__pycache__/__init__.cpython-312.pyc | Bin 986 -> 1091 bytes claude-flow-wiki | 0 12 files changed, 13 insertions(+), 7 deletions(-) "} diff --git a/benchmark/src/swarm_benchmark/claude_optimizer/optimizer.py b/benchmark/src/swarm_benchmark/claude_optimizer/optimizer.py index 1d599e25f5..9486dad09f 100644 --- a/benchmark/src/swarm_benchmark/claude_optimizer/optimizer.py +++ b/benchmark/src/swarm_benchmark/claude_optimizer/optimizer.py @@ -80,9 +80,9 @@ class ClaudeMdOptimizer: } self.optimization_rules = { - "concurrency": self._optimize_concurrency, - "memory_usage": self._optimize_memory, - "token_efficiency": self._optimize_tokens, + "concurrency": self.rules_engine.optimize_for_concurrency, + "memory_usage": self.rules_engine.optimize_for_memory, + "token_efficiency": self.rules_engine.optimize_for_tokens, "swarm_coordination": self._optimize_swarm, "tool_selection": self._optimize_tools }