mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
This commit is contained in:
1 parent
501ccc2448
commit
6bbff5c70f
3 files changed
+10
-5
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250807-142147", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py", "timestamp": "2025-08-07T14:21:47Z", "type": "pre-edit", "original_branch": "swe-bench"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250807-142149", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py", "timestamp": "2025-08-07T14:21:49Z", "type": "post-edit", "branch": "swe-bench", "diff_summary": " .claude-flow/metrics/system-metrics.json | 12 +++++++++++ .claude/checkpoints/task-1754576495.json | 1 + benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 8 ++++---- .../swe_bench/official_integration.py | 24 ++++++++++++---------- 5 files changed, 31 insertions(+), 16 deletions(-) "}
|
||||
@@ -131,16 +131,19 @@ Return ONLY the git diff patch in proper format."""
|
||||
if Path.cwd().name == 'benchmark':
|
||||
claude_flow_path = '../claude-flow'
|
||||
|
||||
# Use hive-mind spawn with --claude flag for Claude Code generation
|
||||
# Use swarm command (more stable than hive-mind in non-interactive)
|
||||
cmd_args = [
|
||||
claude_flow_path, 'hive-mind', 'spawn',
|
||||
claude_flow_path, 'swarm',
|
||||
simple_prompt,
|
||||
'--claude' # Generate Claude Code spawn commands
|
||||
'--strategy', self.config.strategy.value.lower()
|
||||
]
|
||||
|
||||
# Add max workers for hive-mind
|
||||
# Add mode
|
||||
cmd_args.extend(['--mode', self.config.mode.value.lower()])
|
||||
|
||||
# Add agent count
|
||||
if self.config.max_agents:
|
||||
cmd_args.extend(['--max-workers', str(self.config.max_agents)])
|
||||
cmd_args.extend(['--max-agents', str(self.config.max_agents)])
|
||||
|
||||
# Non-interactive must be last
|
||||
cmd_args.append('--non-interactive')
|
||||
|
||||
Reference in new issue
Block a user