diff --git a/benchmark/.claude/checkpoints/1754578783.json b/benchmark/.claude/checkpoints/1754578783.json new file mode 100644 index 0000000000..6bd206808b --- /dev/null +++ b/benchmark/.claude/checkpoints/1754578783.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250807-145943", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py", "timestamp": "2025-08-07T14:59:43Z", "type": "pre-edit", "original_branch": "swe-bench"} diff --git a/benchmark/.claude/checkpoints/1754578785.json b/benchmark/.claude/checkpoints/1754578785.json new file mode 100644 index 0000000000..1cc7c28cda --- /dev/null +++ b/benchmark/.claude/checkpoints/1754578785.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250807-145945", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py", "timestamp": "2025-08-07T14:59:45Z", "type": "post-edit", "branch": "swe-bench", "diff_summary": " .claude-flow/metrics/system-metrics.json | 48 ++++++++++++++++++++++ astropy_fix | 0 benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +-- benchmark/.claude/checkpoints/1754578768.json | 1 + benchmark/.claude/checkpoints/1754578770.json | 1 + .../swe_bench/official_integration.py | 24 ++++------- 7 files changed, 62 insertions(+), 20 deletions(-) "} diff --git a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py index 9a67e35882..e389702a3f 100644 --- a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py +++ b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py @@ -182,6 +182,10 @@ Return ONLY the git diff patch in proper format.""" if not patch and error_output: patch = self._extract_patch(error_output) + # Also check for generated patch files in the working directory + if not patch: + patch = self._find_generated_patch_files(instance_id) + # Store prediction self.predictions[instance_id] = { "model_patch": patch if patch else "",