A' on the paper's own protocol (published roots, server): APS 2438, CHA 2005 (4443) vs Chandrupatla 2787/2441 (5228); per problem 103/20/30 and 29/4/7; earned-budget variant 3608/2807; guarantee held under every safeguard. Leave-one-out ablation of A' on all six corpora: regime +5336, point +3115, sub +959, close +473, half +376, exp +338, G2 +89 (2/6 corpora), contra +28 (3/6) - every component positive in sum, G2 and contra marginal.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
vvs
2026-09-21 20:37:09 +01:00
co-authored by Claude Opus 5
parent 2c458c51dc
commit 92fb8c5c04
5 changed files with 112 additions and 3 deletions
+35 -3
View File
@@ -323,6 +323,35 @@ def build_grid_half(smoke):
for gu in guards for ext in ("none", "pattern") for pre in presteps]
APRIME = "contra+flatanalogmempt+exp+half+close+sub"
APRIME_ABLATIONS = { # leave one component out; ext = the extrapolation mode
"A'": (APRIME, "pattern"),
"-G2": (APRIME, "none"),
"-contra": ("flatanalogmempt+exp+half+close+sub", "pattern"),
"-half": ("contra+flatanalogmempt+exp+close+sub", "pattern"),
"-exp": ("contra+flatanalogmempt+half+close+sub", "pattern"),
"-point": ("contra+flatanalogmem+exp+half+close+sub", "pattern"),
"-regime": ("contra+half+close", "pattern"),
"-close": ("contra+flatanalogmempt+exp+half+sub", "pattern"),
"-sub": ("contra+flatanalogmempt+exp+half+close", "pattern"),
}
def build_grid_aprime(smoke):
"""The paper's proposed rule A' on the paper's own protocol (published roots): under every
safeguard (the guarantee claims) and, under the projection, with each component left out."""
specs = []
for gu in (("project", "credit") if smoke else GUARD_MODES):
specs.append(("pure", "ratio", "derived3", gu, "x", APRIME, "recent", "distance",
"none", "pattern"))
for name, (pre, ext) in APRIME_ABLATIONS.items():
if name == "A'":
continue
specs.append(("pure", "ratio", "derived3", "project", "x", pre, "recent", "distance",
"none", ext))
return specs
def build_grid_extrap2(smoke):
"""PREREG_extrapolation_gates_2026-09-21: the same cells as build_grid_extrap, every
one in all five modes (none, A, G1, G2, G3)."""
@@ -504,10 +533,12 @@ def main():
ptmode = "--orderpt" in sys.argv # split at the point from the pair's order
expmode = "--explimit" in sys.argv # the translation limit of the analogy, m = inf
halfmode = "--half" in sys.argv # the half promised by the step vs the bracket
apmode = "--aprime" in sys.argv # the paper's proposed rule A' and its ablations
combomode = "--combo" in sys.argv # modes A and B together
pointsmode = "--points" in sys.argv # mode A: triple by shape
dirmode = "--direction" in sys.argv # mode B: far end by dissimilarity
specs = (build_grid_half(smoke) if halfmode else
specs = (build_grid_aprime(smoke) if apmode else
build_grid_half(smoke) if halfmode else
build_grid_explimit(smoke) if expmode else
build_grid_orderpt(smoke) if ptmode else
build_grid_defcontra(smoke) if dcmode else
@@ -545,8 +576,9 @@ def main():
# the published sweep_full.json is what verify_article.py checks the paper
# against, so the log grid never writes into it
if halfmode or expmode or ptmode or dcmode or memmode or analogmode or judgemode or exitmode or stickmode or creepmode or flat2mode or flatmode or ext2mode or extmode or decmode or ordermode or capmode or combomode or pointsmode or dirmode:
base = ("sweep_half" if halfmode else
if apmode or halfmode or expmode or ptmode or dcmode or memmode or analogmode or judgemode or exitmode or stickmode or creepmode or flat2mode or flatmode or ext2mode or extmode or decmode or ordermode or capmode or combomode or pointsmode or dirmode:
base = ("sweep_aprime" if apmode else
"sweep_half" if halfmode else
"sweep_explimit" if expmode else
"sweep_orderpt" if ptmode else
"sweep_defcontra" if dcmode else