similarity in two more places MEASURED: triple by shape gives APS 2527 — below the published 2806 and below EVERY baseline including chandrupatla 2785 — and far-end by dissimilarity gives CHA 2683 (the ITP target met) with 5511 over both sets (project target 6026 beaten, ITP-oracle 5871 passed). Guarantee intact everywhere, 193/199. Neither mode is inert (38.6% / 26.9% of steps changed). A+B do NOT compose: 2884/2859 is worse than either alone — select, never weight, and never assume composability

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
vvs
2026-09-20 23:45:55 +01:00
co-authored by Claude Opus 5
parent 04ee5c89b9
commit 22f19c57f0
10 changed files with 342 additions and 3 deletions
+15 -3
View File
@@ -198,6 +198,15 @@ def build_grid_log(smoke):
for sim in sims for sc in ("derived", "derived3") for gu in guards]
def build_grid_combo(smoke):
"""A+B together (PREREG 2026-09-21 §2: licensed only because each mode alone improved
APS — A 2527 and B 2726 against the published 2806)."""
sims = ["ratio", "sqrt"] if smoke else sorted(PURE_SIMS)
guards = ("credit", "project") if smoke else GUARD_MODES
return [("pure", sim, "derived3", gu, "x", "slope", "shape", "dissimilar")
for sim in sims for gu in guards]
def build_grid_points(smoke):
"""Mode A (PREREG 2026-09-21): the triple chosen by shape, on top of the slope gate that
already reached the project target. Three-point scale only — a triple must exist."""
@@ -255,9 +264,11 @@ def main():
logmode = "--log" in sys.argv # the u-space grid, written to its OWN file
gatemode = "--gate" in sys.argv # the pre-step gate grid, likewise
slopemode = "--slope" in sys.argv # the slope-stability gate grid
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_points(smoke) if pointsmode else
specs = (build_grid_combo(smoke) if combomode else
build_grid_points(smoke) if pointsmode else
build_grid_direction(smoke) if dirmode else
build_grid_slope(smoke) if slopemode else
build_grid_gate(smoke) if gatemode else
@@ -277,8 +288,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 pointsmode or dirmode:
base = "sweep_points" if pointsmode else "sweep_direction"
if combomode or pointsmode or dirmode:
base = ("sweep_combo" if combomode else
"sweep_points" if pointsmode else "sweep_direction")
out = f"{base}_smoke.json" if smoke else f"{base}.json"
with open(out, "w", encoding="utf8") as fh:
json.dump(results, fh)