Article (canonical .md), step 1: 42 stale numbers brought to the regenerated server sweeps (Tables 3-7, 5.3, 7.1-7.4, section 10), statements that no longer hold rephrased ((2)+(3) not worse than either alone on the wide-bracket set; the best constant-free configuration is no longer defect); the rule of section 3 renamed the base rule; new Section 8 (the flat regime recognised by analogy: the flag, the analogy with its own past, the translation limit, the split from the order, five more readings, the proposed method A', Tables 8-9) and Section 9 (out-of-sample evidence on four more corpora, Tables 10-11); negative results and conclusion renumbered 10-11. Abstract, introduction, conclusion and verify_article still to update.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
vvs
2026-09-21 20:44:31 +01:00
co-authored by Claude Opus 5
parent 92fb8c5c04
commit 8bf595d9be
7 changed files with 524 additions and 50 deletions
+38
View File
@@ -0,0 +1,38 @@
"""Proof-reading fixes to the new Sections 8-9 of article/sim_numerics.md (exact, counted).
python -u apply_article_fixes_8_9.py
"""
from __future__ import annotations
PATH = "article/sim_numerics.md"
REPL = [
("### 8.4 Four more readings", "### 8.4 Five more readings", 1),
("the exit) and the four readings of §8.4", "the exit) and the five readings of §8.4", 1),
("On the wide-bracket families it is ahead on eight of nine; the ninth is `fun9`, 65 against 55.",
"On the wide-bracket families it is ahead on seven of nine, level on `fun7` (the scoring "
"artefact of §7.3) and behind on `fun9`, 65 against 55.", 1),
("Removing both would change A′ by a few tenths of a per cent;",
"Removing both would change A′'s total by under one per cent (117 of 13032 evaluations);", 1),
("and ahead problem by problem on five of six.",
"and ahead problem by problem on all six, significantly on five.", 1),
]
def main():
with open(PATH, encoding="utf8") as fh:
text = fh.read()
bad = [(o, n, text.count(o)) for o, _new, n in REPL if text.count(o) != n]
if bad:
for o, n, got in bad:
print(f"expected {n}, found {got}: {o[:80]}")
raise SystemExit("aborted, nothing written")
for o, new, _n in REPL:
text = text.replace(o, new)
with open(PATH, "w", encoding="utf8") as fh:
fh.write(text)
print("fixed")
if __name__ == "__main__":
main()