PREREG_half_contra outcome: ACCEPTED (server = smoke in every projection cell; 0 violations in the guaranteed family).
'half': the step promises the root in the half near x (S >= 1/2) while the bracket line puts it in the far half (smaller |f| at the far end) -> halve.
half alone APS 2806 -> 2564 (!) CHA 3220 -> 3202
G2 + contra + rem + point + exp + half APS 2773 -> 2559 CHA 2073 -> 2047 both 4606 (all of H1-H4; goal kept)
per problem vs Chandrupatla: APS 98/17/38 p=2.7e-7, CHA 27/6/7 p=8e-4
contra + rem + point + exp + half (no G2) APS 2551 CHA 2044 both 4595 (H2 fails by 24)
with defect it does not combine (APS 2531 -> 2651): the two refuse overlapping steps.
fun9: 77 -> 68 (Chandrupatla 55); fun9.5 24 -> 16.
Server regression x2: 1204 passed, 1 failed = the paper-number check.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+26
-3
@@ -303,6 +303,26 @@ def build_grid_explimit(smoke):
|
||||
for gu in guards for ext in ("none", "pattern") for pre in presteps]
|
||||
|
||||
|
||||
HALF_BASES = ("none", "defect+flatanalogmempt+exp", "contra+flatanalogmempt+exp")
|
||||
|
||||
|
||||
def build_grid_half(smoke):
|
||||
"""PREREG_half_contra_2026-09-21: each base without / with the half contradiction, on
|
||||
the proposed rule with and without G2."""
|
||||
presteps = tuple(p for b in HALF_BASES
|
||||
for p in (b, "half" if b == "none" else b + "+half"))
|
||||
for pre in presteps:
|
||||
if pre == "none":
|
||||
continue
|
||||
x, _n, ok = pure_root(lambda t: t - 1.0, 0.0, 3.0, 1e-10, 100, similarity="ratio",
|
||||
scale="derived3", guard="project", prestep=pre)
|
||||
if not (ok and abs(x - 1.0) < 1e-8):
|
||||
raise SystemExit(f"prestep={pre} preflight FAILED: refusing to report zeros")
|
||||
guards = ("project", "credit") if smoke else GUARD_MODES
|
||||
return [("pure", "ratio", "derived3", gu, "x", pre, "recent", "distance", "none", ext)
|
||||
for gu in guards for ext in ("none", "pattern") for pre in presteps]
|
||||
|
||||
|
||||
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)."""
|
||||
@@ -483,10 +503,12 @@ def main():
|
||||
dcmode = "--defcontra" in sys.argv # defect x contra x flat regime, composites
|
||||
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
|
||||
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_explimit(smoke) if expmode else
|
||||
specs = (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
|
||||
build_grid_flat(smoke, ("flatanalogmem", "flatanalog")) if memmode else
|
||||
@@ -523,8 +545,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 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_explimit" if expmode else
|
||||
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
|
||||
"sweep_explimit" if expmode else
|
||||
"sweep_orderpt" if ptmode else
|
||||
"sweep_defcontra" if dcmode else
|
||||
"sweep_flatanalogmem" if memmode else
|
||||
|
||||
Reference in New Issue
Block a user