sessions of 2026-11-18 (the optimization campaign; three runs without summary, interrupted and rerun)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-18 17:47:59 +01:00
1 parent 8a81c53cd9
commit 0cfbd1b7bc
363 files changed
+30822

No files matched your search

@@ -0,0 +1,10 @@
"""Replace one exact, unique string in a file (for pruning variants on working copies); fails if absent or not unique.
Usage: python3 patch.py <file> <old> <new>
"""
import sys
path, old, new = sys.argv[1:4]
text = open(path).read()
if text.count(old) != 1:
sys.exit(f"{path}: {text.count(old)} occurrences of {old!r}")
open(path, "w").write(text.replace(old, new))