mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
sssh
This commit is contained in:
parent
208f9ef24a
commit
f4dc8c776b
2 changed files with 3 additions and 3 deletions
|
@ -388,7 +388,7 @@ def dmp_lines_apply(texts, remap=True):
|
||||||
if debug:
|
if debug:
|
||||||
diff = list(diff_lines)
|
diff = list(diff_lines)
|
||||||
dmp.diff_charsToLines(diff, mapping)
|
dmp.diff_charsToLines(diff, mapping)
|
||||||
dump(diff)
|
# dump(diff)
|
||||||
html = dmp.diff_prettyHtml(diff)
|
html = dmp.diff_prettyHtml(diff)
|
||||||
Path("tmp.search_replace_diff.html").write_text(html)
|
Path("tmp.search_replace_diff.html").write_text(html)
|
||||||
|
|
||||||
|
@ -425,7 +425,7 @@ def diff_lines(search_text, replace_text):
|
||||||
|
|
||||||
diff = list(diff_lines)
|
diff = list(diff_lines)
|
||||||
dmp.diff_charsToLines(diff, mapping)
|
dmp.diff_charsToLines(diff, mapping)
|
||||||
dump(diff)
|
# dump(diff)
|
||||||
|
|
||||||
udiff = []
|
udiff = []
|
||||||
for d, lines in diff:
|
for d, lines in diff:
|
||||||
|
|
|
@ -40,7 +40,7 @@ This puts a hard ceiling of 72% on how well the June model could possibly score.
|
||||||
|
|
||||||
With unified diffs, GPT acts more like it's writing textual data intended to be read by a program,
|
With unified diffs, GPT acts more like it's writing textual data intended to be read by a program,
|
||||||
not talking to a person.
|
not talking to a person.
|
||||||
They are
|
Diffs are
|
||||||
usually
|
usually
|
||||||
consumed by the
|
consumed by the
|
||||||
[patch](https://www.gnu.org/software/diffutils/manual/html_node/Merging-with-patch.html)
|
[patch](https://www.gnu.org/software/diffutils/manual/html_node/Merging-with-patch.html)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue