diff --git a/aider/coders/editblock_prompts.py b/aider/coders/editblock_prompts.py index 7f0e7eb51..23e07b65a 100644 --- a/aider/coders/editblock_prompts.py +++ b/aider/coders/editblock_prompts.py @@ -34,9 +34,9 @@ some/dir/example.py Every *edit block* must be fenced with {fence[0]}...{fence[1]} with the correct code language. Every *edit block* must start with the full path! *NEVER* propose edit blocks for *read-only* files. -The ORIGINAL section must be an *exact set of sequential lines* from the file: -- NEVER SKIP LINES! -- NEVER SKIP LEADING WHITESPACE FROM LINES! + +NEVER SKIP LINES in the ORIGINAL section! +NEVER OMIT ANY WHITESPACE in the ORIGINAL section! Edits to different parts of a file each need their own *edit block*. diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 08790390f..2d16653c8 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -377,7 +377,7 @@ def show_diffs(dirnames): result = [r for r in results if r["testcase"] == testcase][0] outcomes = tuple(result["tests_outcomes"]) - all_outcomes.append(outcomes) + all_outcomes.append(True in outcomes) if len(set(all_outcomes)) == 1: unchanged.add(testcase)